Re: GtkWidgets and their underlying GdkWindows

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

 



On Mon, 2007-09-10 at 12:10 -0400, zentara wrote:
> On Tue, 04 Sep 2007 16:42:22 +1000
> Andrew Cowie <andrew@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> >We all "know" that some GtkWidgets have their own GdkWindows (ie
> >GtkButtons), and some do not (ie GtkLabels). At least, that's what the
> >documentation tells us.
> >
> >As I understand it, for GtkWidget* widget,
> >
> >    widget->window
> >
> >is this GdkWindow*, if so assigned.
> >
> >++
> >
> >I was working on writing a method to expose this in the Java bindings,
> >and was somewhat surprised to find that all the Widgets in my little
> >test app had the _same_ GdkWindow. Huh?

many widgets do not have their own GdkWindow, but instead they draw
themslves into/onto the window of a parent widget.


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux