/> >/ Hi,
/> >/ /> >/ Is there any work being done on wxpython with bindings to wxuniversal ???
/> >/ />
Not yet. I plan on attempting to make a wxX11 version of wxPython fairly soon. It is based on wxUniversal so that will be a step in the right direction. I don't know yet if I'll be able to support writing renderers, etc. in Python or not.
Fantastic news.
Are you working on wxPython/Universal now ?
When do you think you think a release with happen (roughly) ?
I haven't used wxUniversal. Does it implement 100% of the wxWindows API ?
If not, how much does it implement ?
Can you have a MSW look on a X platform, and a GTK look on a MSW platform ???
Hello wxpython users,
I tried to use italian character with accents in wxTreeView, but I obtained
an "assertion failed error", which notifies me that I cannot use ASCII codes
greater than 128.
Does anyone have a fix or suggestion?
Thanks in advance,
-Corrado
···
-------------------------------------------------
This mail sent through IMP: http://www.cdc.unict.it/
Hello wxpython users,
I tried to use italian character with accents in wxTreeView, but I obtained an "assertion failed error", which notifies me that I cannot use ASCII codes greater than 128.
Does anyone have a fix or suggestion?
More info please. Which platform and version? Sample code?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Ok Robin, you're right!
The platform is Win32 (Win98) with python 2.2.1 and wxpython 2.3.2.1.
As regards the code, I'm trying to use the method wxTreeCtrl.AppendItem passing
an item string coming from Postgres: the latter encodes international
characters in the range 128--255, but wxpython (or wxwindows?) does not accept
such characters.
-Corrado
Quoting Robin Dunn <robin@alldunn.com>:
···
Corrado Santoro wrote:
> Hello wxpython users,
> I tried to use italian character with accents in wxTreeView, but I obtained
> an "assertion failed error", which notifies me that I cannot use ASCII
codes
> greater than 128.
> Does anyone have a fix or suggestion?
>
More info please. Which platform and version? Sample code?
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I tried to use italian character with accents in wxTreeView, but I obtained
an "assertion failed error", which notifies me that I cannot use ASCII codes
greater than 128.
The platform is Win32 (Win98) with python 2.2.1 and wxpython 2.3.2.1.
As regards the code, I'm trying to use the method wxTreeCtrl.AppendItem passing
an item string coming from Postgres: the latter encodes international
characters in the range 128--255, but wxpython (or wxwindows?) does not accept
such characters.
I run Win2k and Win98SE with wxPython 2.3.3.1 and 2.3.3pre4 respectively.
I previously ran 2.3.2.1. All my international character problems were
with the grid. For me the tree control works as it should... at least
with these:
>>> map(ord,"åäöÅÄÖ")
[229, 228, 246, 197, 196, 214]
Are you sure it's a python string that you send to AppendItem?
It's not by any chance a unicode object??? (Buth then I suppose you'd
get "UnicodeError: ASCII encoding error: ordinal not in range(128)"...)
Hm...
What happens if you for instance use "".join(map(chr, range(190,255)))
as a parameter for AppendItem?
Corrado Santoro wrote:
>I tried to use italian character with accents in wxTreeView, but I
obtained
>an "assertion failed error", which notifies me that I cannot use ASCII
codes
>greater than 128.
>The platform is Win32 (Win98) with python 2.2.1 and wxpython 2.3.2.1.
>As regards the code, I'm trying to use the method wxTreeCtrl.AppendItem
>passing
>an item string coming from Postgres: the latter encodes international
>characters in the range 128--255, but wxpython (or wxwindows?) does not
>accept
>such characters.
I run Win2k and Win98SE with wxPython 2.3.3.1 and 2.3.3pre4 respectively.
I previously ran 2.3.2.1. All my international character problems were
with the grid. For me the tree control works as it should... at least
with these:
>>> map(ord,"������")
[229, 228, 246, 197, 196, 214]
Are you sure it's a python string that you send to AppendItem?
It's not by any chance a unicode object??? (Buth then I suppose you'd
get "UnicodeError: ASCII encoding error: ordinal not in range(128)"...)
Hm...
What happens if you for instance use "".join(map(chr, range(190,255)))
as a parameter for AppendItem?