[Gtk-sharp-list] Howto skin widget

Jaroslav Smid dataman64bit at gmail.com
Sat May 9 09:30:51 EDT 2009


Is there any possibility to skin widgets in my program?

For example, I have a button in my window and I'd like to set custom style
in gtkrc for it, like to use pixmap engine and set its pixmap. I tried
naming it "MyCustomButton" and wrote

widget_class "*MyCustomButton*" style "my-custom-button"
class "*MyCustomButton*" style "my-custom-button"

and corresponding "my-custom-button" style section.

but it didn't work.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20090509/5ec6ed1f/attachment-0001.html 


More information about the Gtk-sharp-list mailing list