mtl3 has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I use stock buttons to design a perl/Gtk2 GUI. I am looking for a way to put the labels of these buttons in a different language. As far as I could understand from http://gtk2-perl.sourceforge.net/doc/gtk2-perl-study-guide/c1227.html, Gtk2::Stock provides a method that looks to do exactly what I want:
Gtk2::Stock->set_translate_func ($domain, $func, $data=undef)
Unfortunately, the documentation (or I should say the absence of documentation) has left me clueless.
May I request the help of a Monk to provide with a wise example and teaching?
Thanks
Back to
Seekers of Perl Wisdom