Re: Color and Font

From: Date: Tue, 07 Feb 2006 19:12:26 +0000
Subject: Re: Color and Font
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6673@lists.php.net to get a copy of this message
much easier ;-) $label = new GtkLabel(); $label->set_markup('<span foreground="blue" background="gray"><b>Text: Blue on gray</b></span>'); Em Ter, 2006-02-07 às 17:01 -0200, Eduardo RBS escreveu: > Hi.. > With php-gtk1 I used this to use some font with blue color. > $this->Azul= new GtkStyle; > $this->Azul->fg[GTK_STATE_NORMAL] = new GdkColor("#0000FF"); > > $this->Azul->font=gdk::font_load("-*-*-bold-r-*-*-*-180-*-*-*-*-*-*"); > > How to do the same thing with php-gtk2? How to work with fonts and colors? > -- > []'s > Eduardo RBS > http://linuxstok.sourceforge.net -- :: Pablo Dall'Oglio :: www.dalloglio.net

« previous php.gtk.general (#6673) next »