Re: Pango

From: Date: Fri, 20 May 2005 05:03:48 +0000
Subject: Re: Pango
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1303@lists.php.net to get a copy of this message
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 (#1303) next »