[pygtk] Trying to use style from custom widget

Thomas Mills Hinkle tmhinkle at gmail.com
Sat Sep 23 20:17:08 WST 2006


>                 gtk.Widget.__init__(self)
>                 style =3D gtk.rc_get_style_by_paths(self.get_settings(),
>                         'GtkEntry', 'GtkEntry', gobject.TYPE_NONE)


Using gtk.Entry instead of gobject.TYPE_NONE will get you a style object,
but I'm not sure if that's what you want.

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20060923/7bb15a57/at=
tachment.htm


More information about the pygtk mailing list