comparison NotebookUtil.cs @ 14:0a466c011016

Re #26: Add GTK wrapper methods * Remove "dispose" call, since we don't know whether the caller has done with the widget or not
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Aug 2010 19:38:37 +0000
parents 245677d0d47e
children c9e1ad81afbe
comparison
equal deleted inserted replaced
13:245677d0d47e 14:0a466c011016
59 close.FocusOnClick = false; 59 close.FocusOnClick = false;
60 close.BorderWidth = 0; 60 close.BorderWidth = 0;
61 close.Name = "NotebookTab.CloseButton"; 61 close.Name = "NotebookTab.CloseButton";
62 close.Clicked += delegate { 62 close.Clicked += delegate {
63 notebook.Remove(page); 63 notebook.Remove(page);
64 page.Dispose();
65 }; 64 };
66 hbox.PackStart(close); 65 hbox.PackStart(close);
67 hbox.ShowAll(); 66 hbox.ShowAll();
68 return hbox; 67 return hbox;
69 } 68 }