Re: confusion regarding drawing of widgets

Benjamin Berg <[email protected]>
Newsgroups gmane.comp.gnome.themes
Message-ID <1198504243.3855.20.camel@localhost>
On Mon, 2007-12-24 at 04:42 -0800, iluvlinux wrote:
> hi
> but how Gtk+ decides whether to draw using engine or GDK because when we
> install gtk, both GDK and the default theme engine gets installed and even
> applications (mostly) do not specifically request for theme engine to be
> used. 
> bye

GTK+ does almost all widget drawing trough the engine (there maybe some
exceptions). There is a buildin engine implemented inside GTK+ [1] that
is used if no engine is specified by the theme.
If the applications use the gtk_paint_* functions then the theme engine
is used.

Benjamin


[1] Technically engines override the GtkStyle class and override the
style function implementation.

_______________________________________________
gnome-themes-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-themes-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHb7kzJddvdAxOva4RAiLMAJsF3PZ9/zA9e9BvHYHCZ6gEEHtIjgCfdb/q
8bE/hZuFRqFpZy8/S2p4lbo=
=NrX/
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.