Re: Okay, another RC file problem.
- From: Owen Taylor <otaylor gtk org>
- To: Brett Kosinski <brettk compusmart ab ca>
- Cc: gtk-list redhat com
- Subject: Re: Okay, another RC file problem.
- Date: 19 Apr 1998 15:50:12 -0400
Brett Kosinski <brettk@compusmart.ab.ca> writes:
> style "slider"
> {
> bg[NORMAL] = { 0.50, 0.50, 0.50 }
> bg[ACTIVE] = { 0.25, 0.25, 0.25 }
> bg[PRELIGHT] = { 0.50, 0.50, 0.50 }
> }
>
> widget "volume slider" style "slider"
>
> Now, my problem is the volume slider isn't changing. Am I doing this
> correctly? If I change the style setting so it's like this:
>
> widget_class "*Gtk*Scale" style "slider"
>
> it works fine, but using the name directly, it doesn't. Any ideas as to
> why this might be? Thanks for any help here.
The problem you are having is that in the line:
> widget "volume slider" style "slider"
The second thing is the pathname of the widget - which is
composed by putting together all the names in the heirarchy with
'.'
So you want:
widget "*.volume slider" style slider
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]