[Glade-users] how to dismiss a widget and be able to call it back again

Alexey Kurochkin alexey.kurochkin at pathfinderlwd.com
Thu Jan 17 08:04:38 EST 2008


Use "delete-event" instead of "destroy-event".

On Thu, 2008-01-17 at 09:41 +1000, mick wrote:
> Using Glade 2 & gtk 2.12.0
> 
> I'm having trouble with dismissing my "help" and "about" windows in such a way 
> that I can re-open them.
> 
> I currently use 
> on_help_destroy_event(...) { return FALSE; }
> and 
> on_help_close_clicked(...) { gtk_widget_hide(help) }
> I also tried gtk_widget_destroy.
> 
> I have searched the gtk reference but can't recognise what I need if I have 
> actually seen it.
> 
> Is there a more informative document somewhere and/or a kind soul willing to 
> share the answer.
> 
> /]/]ik
> 
> BTW I apologise if cross posting is out of order
> _______________________________________________
> Glade-users maillist  -  Glade-users at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-users


More information about the Glade-users mailing list