Re: Newbie question about GTKs object model...
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-list gnome org
- Subject: Re: Newbie question about GTKs object model...
- Date: Thu, 29 Jun 2006 20:26:41 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]