Color and Font
| From: | Eduardo RBS | Date: | Tue, 07 Feb 2006 19:01:46 +0000 |
| Subject: | Color and Font | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-6672@lists.php.net to get a copy of this message | ||
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