The font attribute of the style should be a GdkFont -- not a string.  To
get the GdkFont for a particular logical font name, use the load_font
procedure.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Thu, 17 Feb 2000, Javi [iso-8859-1] Rom�n wrote:

> Hi:
> 
> I need change GtkFrame label font. I have this:
> 
>         marco = GtkFrame ("Warning")
>         style = marco.get_style ().copy ()
>         style.font =
> "-dec-terminal-medium-r-normal-*-*-140-*-*-c-*-iso8859-1"
>         marco.set_style (style)
> 
> How can I do it correctly?
> 
> 
> Thanks.
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> 

To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to