[prev in list] [next in list] [prev in thread] [next in thread]
List: php-gtk-general
Subject: [PHP-GTK] I've found it
From: AngeloP <leone () nline ! it>
Date: 2007-02-26 21:59:33
Message-ID: 9170184.post () talk ! nabble ! com
[Download RAW message or body]
$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.
--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic