Re: [gtkmm] How to use themes?



you do not need to explicitly set the style of the label. simply
setting its name should do the right thing.

>The gtk label is displayed fine, but the font can't be controlled via the 
>gtkrc file. It is always set to the default font size for labels.

in recent versions of XFree86 and GTK+1, i have found it necessary to
set the "fontset" specification for widgets as well as "font". i
typically set them to the same value.

i generally add labels to buttons, set the name of button, and then
use

widget "*ButtonName" button-style   # sets the button style
widget "*Buttonname*" button-style  # sets the style for all children
				    # of the button

you may wish to consider something similar.

--p



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