title-bar font

Olivier Fourdan fourdan at xfce.org
Wed May 8 00:22:35 CEST 2002


Jens,

You caused a few connections betweens my neurons and, well, okay, I like
your idea of using widget style.

So, using the very latest CVS (ie the commit has just finished on my
side), you can use :

style "titlebar"
{
  font_name = "Sans 14"
}

widget "xfwm"        style "titlebar"

in your $HOME/.gtkrc-2.0. Oh, and don't forget, you can set
GDK_USE_XFT=1 to get antialiased fonts. 

Cheers,
Olivier.

On Tue, 2002-05-07 at 23:49, Olivier Fourdan wrote:
> Jens,
> 
> Nope there is no specific widget class, just the default one. Anyway,
> the "font" doesn't seem to have any effect in GTK2 (at least here). I
> "think" it now uses xsettings
> 
> Cheers,
> Olivier.
> 
> On Tue, 2002-05-07 at 23:38, Jens Luedicke wrote:
> > On 07 May 2002 23:20:13 +0200
> > Olivier Fourdan <fourdan at xfce.org> wrote:
> > 
> > > You don't need to change the code in xfwm4, change your GTK settings
> > > instead.
> > 
> > style "titlebar"
> > {
> >   font              = "-adobe-helvetica-bold-r-normal-*-12-*-*-*-p-*-iso8859-15"
> > }
> > 
> > # widget_class "*Label*"	style "titlebar"
> > 
> > Is there a widget_class that I could use?
> > 
> > -- 
> > Jens Luedicke
> > jens at irs-net.com
> -- 
> Olivier               <fourdan at xfce.org>            http://www.xfce.org
> -----------------------------------------------------------------------
> XFce is a lightweight  desktop  environment  for  various *NIX systems. 
> Designed for productivity,  it loads  and  executes  applications fast,
> while conserving  system resources. XFce is all free software, released
> under GNU General Public License.    Available from http://www.xfce.org
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce4-dev
> 
-- 
Olivier               <fourdan at xfce.org>            http://www.xfce.org
-----------------------------------------------------------------------
XFce is a lightweight  desktop  environment  for  various *NIX systems. 
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org




More information about the Xfce4-dev mailing list