|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
CloseButton in a WindowHi all,
is it possible to put a button inside a windows that will do the same action as the "X" on a decorated Windowframe? Thanks for help Wolfgang _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
|
|
|
|
|
Re: CloseButton in a WindowOn Sun, Aug 2, 2009 at 9:13 AM, Wolfgang Mauer<W.Mauer@...> wrote:
> Thanks, > but sorry thats not what i am looking for. > I down want to quit the application, just want to close one single TopLevel window. > On the "X" i get a DeleteEvent, but normaly on a button, how i know, i must call Destroy() ?! > So i'm looking for a easy way to have just one event/method. Calling yourWindow.Destroy() should do what you want. All of the widgets contained in the window will also be destroyed and their memory freed. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@... http://lists.ximian.com/mailman/listinfo/gtk-sharp-list |
| Free embeddable forum powered by Nabble | Forum Help |