Porting panel plugins for 4.4
Jasper Huijsmans
jasper at xfce.org
Sun Oct 2 10:35:42 CEST 2005
Brian J. Tarricone schreef:
...
>
> I'm running out of ideas. It seems that the fact that the plugin is in
> a separate process is confusing GTK/X, and it can't seem to get the
> widget's position (or the GtkPlug's position) with reference to either
> a) the root window, or b) the panel itself. Or something.
Just for the record, this seems to work:
gdk_window_get_origin (GTK_WIDGET (plugin)->window, x, y);
More information about the Xfce4-dev
mailing list