Re: GtkButton and use_underline - wrong default?
| From: | Steph Fox | Date: | Wed, 02 Nov 2005 17:34:28 +0000 |
| Subject: | Re: GtkButton and use_underline - wrong default? | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2031@lists.php.net to get a copy of this message | ||
Hi Jp,
Yes, I made it that way because it's more convenient for people using
mnemonics. To kill it you need to have 0 as the second param.
(Same with menu items.)
One good reason to test everything ;)
- Steph
----- Original Message -----
From: "Jp" <jp@jp-corner.uni.cc>
To: <php-gtk-dev@lists.php.net>
Sent: Wednesday, November 02, 2005 5:22 PM
Subject: [PHP-GTK-DEV] GtkButton and use_underline - wrong default?
> Uhhh, the "use_underline" property of GtkButton seems to be defaulting
> to true instead of false, although acording to the Gtk+ ref., it should
> be the other way around:
>
> $button = new GtkButton('An_Example');
> var_dump($button->get_use_underline());
>
> This spits out "bool(true)".
>
> -Jp
>
> --
> PHP-GTK Development Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>