Re: Problem with XID]



Hi Olexiy!

On Tue, 28.10.2003 at 05:51 PM, Olexiy Avramchenko wrote:
Andre Lerche wrote:

Hi List!
[...]
1. You can obtain any widget's GdkWindow by pointer widget->window.
2. If I'm not mistaken gtk_widget_get_root_window returns the default 
root window of screen, not the root window of your application.
3. You can get XID of your app's main window, but keep in mind that the 
gdk window will be created after widget will get realized. You probably 
will need to connect to "realize" event.

Thanks for the hints, works well now.

Andre



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