After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 50285 - Per-style setting mechanism
Per-style setting mechanism
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other All
: High normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 50286
 
 
Reported: 2001-01-03 17:16 UTC by Owen Taylor
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2001-01-03 17:16:15 UTC
There needs to be a mechanism to set certain properties
for widgets in the widget's style. The way that this
will work is that it will be possible to associate
a GParamSpec with a widget class and settings with a 
GtkRcStyle

 style "foo" {
   scrollbar_width = 10;
 }

and then the widget (GtkScrollbar here) can then query
for the value of the setting for the style:

 gtk_widget_get_style_properties (widget, "scrollbar_width", &width, NULL);
Comment 1 Havoc Pennington 2001-01-29 19:39:49 UTC
Put all GTK 1.3.x bugs on 2.0.0 milestone
Comment 2 Havoc Pennington 2001-01-29 19:50:09 UTC
Setting API-affecting bugs to the API freeze milestone
Comment 3 Havoc Pennington 2001-02-03 17:57:46 UTC
Bumping up priority; I think this bug should be done before a lot of
the other API bugs, because there are a lot of "add style setting foo"
bugs that should also be done. e.g. the scrollbar width, various
timeouts, x/y thickness, etc. and all those block on this bug. Also,
we need this bug fixed before we can port the Raleigh theme to HEAD as
the default look. Finally, fixing this would let some make a good go
at making a really nice Windows emulation theme, and they should try
to do that while it's still possible to add new style properties, in
case they need to add settings to get more Windows-like appearance.
So, tons of stuff blocking on this issue.
Comment 4 Owen Taylor 2001-04-02 23:15:01 UTC
Now in CVS. (Exact set of style properties requires fine-tuning)