Re: GdkWindow & GtkWindow



Farhan Chaudhary wrote:
> Can anyone plz tell me the difference between GdkWindow & GtkWindow?

OK, I'll have a go :-)

GTK comes in two main layers. 

GDK is the drawing kit ... it has functions to draw lines, paint characters, and
reserve areas of the screen for applications. A reserved area of the screen is
called a gdk_window. On UNIX GDK is a wrapper over Xlib; on windows, GDK is a
(complicated) wrapper over GDI.

GTK is the toolkit. This builds a set of high level widgets on top of the GDK
layer. A gtk_window is a widget that represents the behaviours you'd expect to
need in a window.

John



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