Hi,

Simon Budig <[EMAIL PROTECTED]> writes:

> > simply define your styles in the gtkrc and add lines like
> > 
> >  widget "*foobw*" style "foobw"
> >  widget "*foowb*" style "foowb"
> > 
> > Then name your buttons "foobw" or "foowb" using gtk_widget_set_name() and 
> > you are done.
> 
> But this implies, that I have multiple buttons with the same name
> (is this "legal"? Probably.), and it will be harder to identify a widget
> if I want e.g. to assign a binding to a special widget.

Of course you can name your buttons "foobw_okbutton", "foobw_cancelbutton" 
and the like as long as it matches the definition in the gtkrc.


Salut, Sven

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to