ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> anygui-devel
anygui-devel
[Anygui-devel] Bags
by Quiet other posts by this author
May 12 2003 11:43AM messages near this date
[Anygui-devel] Re: [Anygui-users] AnyGUI table | [Anygui-devel] Future of AnyGUI
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:i-quiet@[...].ru
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved