Re: Pango

From: Date: Fri, 20 May 2005 06:05:34 +0000
Subject: Re: Pango
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1309@lists.php.net to get a copy of this message
It already solves the problem, did not decide to me that it had to use set_markup() and I forget to me to put it here, thanks for all Andrei On 5/20/05, Andrei Zmievski <andrei@gravitonic.com> wrote: > GtkLabel() constructor is not supposed to accept marked-up text. If you > want markup, you need to do one of the following: > > 1) $label = new GtkLabel(); > $label->set_markup('<i>string</i>'); > > 2) $label = new GtkLabel(); > $label->set_property('use_markup', true); > > -Andrei > > On May 14, 2005, at 6:17 AM, Ivan Rodriguez wrote: > > > Hello, why when I do: > > > > $label = new GtkLabel("<b>Label string</b>"); > > > > supposedly the string would have to be in bold style, but don work ... > > don't "parse" the tags, in the firsts release of php-gtk2 this work > > perfectly .. somebody has the same problem?¿ other question ... > > Christian phpgtk2-demo.php file of demos has the sourcecode with tags > > too and don't work for me ... somebdy view the sourcecode colored?¿ > > > > Regards > > > > -- > > PHP-GTK Development Mailing List (http://gtk.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

« previous php.gtk.dev (#1309) next »