[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    Re: Need clarification about gtk_widget_set_events()
From:       "DC A" <adc4444 () hotmail ! com>
Date:       2006-09-29 23:33:59
Message-ID: BAY101-F2307165D75B0CD67FAE8C2A9180 () phx ! gbl
[Download RAW message or body]

>DC A wrote:
>
>>Hello! Can anyone kindly clarify when to use gtk_widget_set_events() 
>>routine? I know every widget has some default events. But how can we be 
>>sure which events are automatically selected by widgets and we don't need 
>>to call the above mentioned routine? Thanks.
>>
>>
>
>You probably want to use gtk_widget_add_events() so as to leave the
>widget's default event mask in tact, you want to call it before the widget 
>is realized.
>
>when a widget is gtk_widget_show()'n inside a heirarchy with a visible 
>toplevel
>(this is called and "anchored" child widget) and you return to the GTK+ 
>mainloop;
>the widget will finally be realized.
>
>its safe to call directly after creating the widget before showing it.
>
Thanks tristan.

_________________________________________________________________
Don’t waste time standing in line—try shopping online. Visit Sympatico / MSN 
Shopping today! http://shopping.sympatico.msn.ca



_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic