Re: [Vala] How to force window destroy?



On Tue, 2011-07-12 at 11:13 +0200, Tomasz Jankowski wrote:
Hello!

I have a window with button inside it and I want to destroy window. Then in
button's click event handler i want to destroy window. The problem I that I
cannot find wrapper for gtk_widget_destroy() and I have no idea ho to do
this. Maybe it's because memory model based on reference counting, I'm not
sure, so I'm asking for explanation.

I can see Gtk.Object.destroy() (Gtk.Widget inherits Gtk.Object) for gtk2
and Gtk.Widget.destroy() for gtk3.

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]