Bags

Quiet <[email protected]> Mon, 12 May 2003 15:43:04 +0400
Newsgroups gmane.comp.python.anygui.general
Organization RITM
Message-ID <[email protected]>
  Hello :-)
Has found mistakes in AnyGUI.
If to use Tkinter it is necessary to transfer
strings in Unicode.

________________________________________________________
from anygui.backends.tkgui import *

win = Window(title=unicode('...string...', 'KOI8-R'), size=(200,100))

bt1 = Button(left=10, width=50, height=30, text=unicode('...string...', 'KOI8-R'))
win.add(bt1)

app = Application()
app.add(win)
app.run()
________________________________________________________

In others GUI (for example in wxWindow, TextGUI)
strings should be In the coding given OS.

________________________________________________________
from anygui.backends.wxgui import *

win = Window(title='...string...', size=(200,100))

bt1 = Button(left=10, width=50, height=30, text='...string...')
win.add(bt1)

app = Application()
app.add(win)
app.run()
________________________________________________________

Make uniform style for anyone GUI.
I offer all strings to transfer in Unicode.


                                      Anton.

mailto:[email protected]
http://freezope2.nipltd.net/quiet
http://www.i-quiet.narod.ru



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com