Re: HButtonBox edge buttons theming patch



On Tue, 2004-01-20 at 13:26, Matthias Clasen wrote:
> I think this functionality would make most sense as a generalized
> "context-sensitive" theming, by e.g. allowing to classify the parent-child-relation in
> paths in rc files. Ie, instead of  GtkHButtonBox.GtkButton, allow to write
> GtkHButtonBox.[left].GtkButton or GtkTable.[topleft].*

But is this possible in the current infrastructure? Do you suggest
making special classes that show up in the widget-class hierarchy, so it
can be used in the "widget_class" directive of gtkrc files?

Another possible implementation would be to use widget-naming with
gtk_widget_set_name(), or otherwise stick with using the "detail" field
as passed onto gtk_paint_*() functions. (like my current patch does for
GtkHButtonBox)

Or are other roads available to make "generalised context-sensitive
theming" possible?

-Aschwin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]