Takdir CHOWDHURY wrote:
> It seems that my WM(Enlightenment) chooses a vacant place everytime it
> displays the widget. And almost the corner side of my desktop get selected.
> I want this widget to be displayed at the middle of my main window.
> Is there any way? I have gone thorugh the Gtk+ online manual but found
> nothing relevant.
Go through the GDK manual. There you will find what you want.
Hint: gdk_window_get_origin
gdk_window_get_root_origin
gdk_window_get_position
gdk_window_get_geometry
The GdkWindow of a GtkWidget is called using widget->window.
--
Pedro Medeiros
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null