Duncan Chang wrote: >Hi all: > As we know we can get the position from : gdk_window_get_position(), > but why I always got x=0 and y=0 for a dialog widget that I created >initialized. > But from the widget on screen, it was not at left-top corner >obviously, why?? > Because the dialog window is a ( !GTK_WIDGET_NO_WINDOW() ) (it has a window), so it has an unique gdk window. Your widget on screen looks like a GTK_WIDGET_NO_WINDOW() widget (GtkButton, GtkLabel for example) - it uses the window of his parent.
Olexiy _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
