Re: stock buttons and languages
| From: | Anant Narayanan | Date: | Thu, 12 Jan 2006 04:07:49 +0000 |
| Subject: | Re: stock buttons and languages | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-6523@lists.php.net to get a copy of this message | ||
Hi Horacio,
> $this->button1 = new GtkButton();
> $this->button1->set_label('gtk-open');
> $this->button1->set_use_stock(True);
You have not mentioned anywhere in your program that the stock button
must be Spanish?! Also, I don't think Gtk+ itself will transalate
stock icons for you. You must either manually set the label of the
button with set_label() or use Pango to set spanish markup for your
labels.
Of course, I'm not a guru, there might be better alternatives... Like
a stock icon set that is already in Spanish.
Regards,
--
Anant Narayanan