[wxPython-users] Re: wxWizard, several question
Basil Shubin
bashu at yandex.ru
Fri Aug 11 22:34:28 PDT 2006
Franz Steinhaeusler wrote:
> On Wed, 09 Aug 2006 19:39:36 +0700, Basil Shubin <bashu at yandex.ru> wrote:
>
>> Hi friends,
>>
>> Several question about wxWizard:
>> 1. I have Wizard with several page, on a page is a three button 'Back',
>> 'Next' and 'Cancel. I want create fully i18n application, but problem in
>> that the 'Back' and 'Next' but is untranslated and 'Cancel' is ok. How I
>> can translate this two button? I use it under Linux, this is anyhow
>> related to GTK/GNOME i18n or ...?
>> 2. I want disable the 'Next' button on achieving some condition. How I
>> can make so?
>>
>> Thanks for your help!
>
> Hello,
>
> searching the archives, I found this question asked more than one time.
>
> Robin answered:
>
> 2) wizard.FindWindowById(wx.ID_FORWARD).Disable()
>
> for 1)
> same procedure to get the button as in 1)
>
> wizard.FindWindowById(wx.ID_FORWARD).SetLabel("Naechste") (example for german)
> here you can use your I18N String.
And what is ID for 'Finish' button? Where to look?
More information about the wxpython-users
mailing list