I've found it
| From: | AngeloP | Date: | Mon, 26 Feb 2007 21:59:33 +0000 |
| Subject: | I've found it | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7714@lists.php.net to get a copy of this message | ||
$this->button = new GtkButton("A");
$butlabael=$this->button->get_child();
$font = new PangoFontDescription ("Arial Bold 12");
$butlababel->modify_font($font);
AngeloP wrote:
>
> Any can help me how change font for a label in a gtkbutton ?
>
> I've tryed set
>
> $font = new PangoFontDescription ("Times New Roman Italic 20");
> $this->button->modify_font($font);
>
> but this has not effect..
>
>
> Thanks
>
--
View this message in context: http://www.nabble.com/help-how-to-change-font-for-a-button-label---tf3295157.html#a9170184
Sent from the Php - GTK - General mailing list archive at Nabble.com.