Re: Style of GtkLabel text?

From: Date: Thu, 09 Jan 2003 12:43:59 +0000
Subject: Re: Style of GtkLabel text?
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2872@lists.php.net to get a copy of this message
$win=&new GtkWindow(); $label=& new GtkLabel('its in the manual somewhere'); $style2 = $label->style; $newstyle2 = $style2->copy(); $font = gdk::font_load('-unknown-Arial-bold-r-normal--*-160-*-*-p-0-iso8859-1'); $newstyle2->font = $font; $label->set_style($newstyle2); $win->add($label); $win->show_all(); see gtkstyle in the manual for more info Regards, Simon. ----- Original Message ----- From: <michael.haszprunar@creativebytes.de> To: <php-gtk-general@lists.php.net> Sent: Thursday, January 09, 2003 8:21 PM Subject: [PHP-GTK] Style of GtkLabel text? > Hi folks, > > How can I manipulate the style of a GtkLabel text? Manual only mentions > underlining, what about other fonts, bold text, italic text, incresed > fontsize, etc.? > Any hint for me? > > Michael H. > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

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