Re: [gtk-list] GTKDIALOG position
- From: Pedro Medeiros <pjira solar com br>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] GTKDIALOG position
- Date: Tue, 04 Apr 2000 12:37:47 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]