[Pgui-devel] One more bug

2004-04-28 Thread Raghu Ram Murthy
Hi all, It seems to be there are some bugs in utf-8 support (sorry, I am not blaming the author). The other bug I found was in pgstr_utf8_seek function in gcore/pgstring.c In the while(char_num) loop, if p->invalid == 1 then it is simply returning. At this time, p->offset will be either -1 or pg

Re: [Pgui-devel] A small bug in pgstr_utf8_seek

2004-04-28 Thread Raghu Ram Murthy
> > textbox widget doesn't have PG_WP_FONT property. I > > added this and tried with some UTF-8 characters. I > > found a small bug in pgstr_utf8_seek function in > > gcore/pgstring.c file. > > How did you implement PG_WP_FONT? The textbox was > designed with formatted text in mind, so a single >

Re: [Pgui-devel] A small bug in pgstr_utf8_seek

2004-04-28 Thread Micah Dowty
On Wed, Apr 28, 2004 at 10:16:21AM -0700, Raghu Ram Murthy wrote: > Hi all, > > textbox widget doesn't have PG_WP_FONT property. I > added this and tried with some UTF-8 characters. I > found a small bug in pgstr_utf8_seek function in > gcore/pgstring.c file. How did you implement PG_WP_FONT? The

[Pgui-devel] A small bug in pgstr_utf8_seek

2004-04-28 Thread Raghu Ram Murthy
Hi all, textbox widget doesn't have PG_WP_FONT property. I added this and tried with some UTF-8 characters. I found a small bug in pgstr_utf8_seek function in gcore/pgstring.c file. In the follwing block of code, in the else part, str->num_bytes should be there, rather than str->num_chars, becuas

Re: [Pgui-devel] APP-Management...

2004-04-28 Thread Pieter Grimmerink
On Wednesday 28 April 2004 15:13, Groeting Claus ICM Bocholt wrote: > Each Time the server brings one App to the top (automatically due to the > Z-Order, when I hide for instance the currently used app) I would like to > reinitialize my Inputfilter to receive all characters again. I think you wan

[Pgui-devel] APP-Management...

2004-04-28 Thread Groeting Claus ICM Bocholt
Hi All ! I have an addidtional question regarding application management... Would it be possible to install an eventhandler in each application wich would be called from the server when the appropriate app receives the focus (bringing to the top on the screen) ? Currently, I have some APPs, whi