Re: GTK internals
- From: "muppet" <scott asofyet org>
- To: gtk-devel-list gnome org
- Subject: Re: GTK internals
- Date: Fri, 20 Jul 2007 11:22:04 -0400 (EDT)
varun_shrivastava wrote:
>
> but how gtk takes care of calling gdk_init is a mystery to me, as we never
> call gdk_init from our gtk program. [we only call gtk_init() ]
>
> Can any one provide a view to that?
grep just a little further, and your answers are right there.
gdk_init() calls gdk_init_check();
gdk_init_check() calls gdk_parse_args();
gdk_parse_args() is where gdk initialization actually happens
gtk_init() calls gtk_init_check();
gtk_init_check() calls gtk_parse_args()
gtk_parse_args() calls gdk_parse_args()
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]