[wxPython] wxPython with wxUniversal

Brendan J Simon wrote:
>/

/> >/ 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 ???

Thanks,
Brendan Simon.

I haven't used wxUniversal. Does it implement 100% of the wxWindows API ?

About ~90% right now I'd say. The most important missing feature i can
think about are the tooltips.

Can you have a MSW look on a X platform, and a GTK look on a MSW platform ???

Yes.

Regards,
VZ

···

On Mon, 21 Oct 2002 15:23:49 +1000 Brendan J Simon <brendan.simon@bigpond.com> 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?

Thanks in advance,
-Corrado

···

-------------------------------------------------
This mail sent through IMP: http://www.cdc.unict.it/

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!

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!

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

-------------------------------------------------
This mail sent through IMP: http://www.cdc.unict.it/

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. :frowning: 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?

···

--
Magnus Lyckå, Thinkware AB
Älvans väg 99, SE-907 50 UMEÅ
tel: 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/ mailto:magnus@thinkware.se

Thank you for the suggestion.
I'll try it!

Bye,
-Corrado

Quoting Magnus Lycka <magnus@thinkware.se>:

···

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. :frowning: 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?

--
Magnus Lyck�, Thinkware AB
�lvans v�g 99, SE-907 50 UME�
tel: 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/ mailto:magnus@thinkware.se

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

-------------------------------------------------
This mail sent through IMP: http://www.cdc.unict.it/