Re: Newbie question about GTKs object model...

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

 



On Thu, Jun 29, 2006 at 07:48:49PM +0200, Clemens Eisserer wrote:
> Sorry for such a stupid question ... shame on myself for asking it :-/
> I looked arround GdkWindow.h/c  bit and actually did not find the
> definition of the type "GdkWindow"

You could easily find it using ctags: Run `ctags *' in gdk/
and then press ^] when you have cursor on GdkWindow --
assuming you use vim.

> instead I only found the
> definition of _GdkWindowObject which looks quite like I imagine
> GdkWindow could look like.
> So where/how does a GdkWindowObject become to an GdkWindow or do I
> understand some things completly wrong?

GdkWindow is defined in gdktypes.h:

    typedef struct _GdkDrawable           GdkWindow;

and GdkWindowObject has GdkDrawable as a *parent*.  The net
result is that GdkWindowObject is a GdkWindow which is the
same as GdkDrawable.

Yeti


--
Anonyms eat their boogers.
_______________________________________________

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