[pygtk] Selecting a row doesn't set keyboard focus

2003-06-07 Thread Grzegorz Adam Hankiewicz
Hi.

I'm capturing the keyboard events of a TreeView to delete rows with
keys. This works fine, and I also manage to select the next row after
deletion or the previous one if the deleted row was the last one.

However, the keyboard focus (a dotted rectangle) seems to be lost,
so while I've selected the fifth row, pressing down once will select
the second row. How can I solve this incoherency between selected
row and widget keyboard focus?

-- 
 Please don't send me private copies of your public answers. Thanks.
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] Error compiling latest CVS Head of PyGtk.

2003-06-07 Thread Johan Dahlin
On Sat, 2003-06-07 at 06:09, Alif Wahid wrote:
> Hi,
> 
> I've provided a patch on bugzilla to fix a problem compiling latest CVS Head
> on Win32 platforms. It is #114619. I think the macro GDK_DRAWABLE_HANDLE
> should be replaced with GDK_WINDOW_HWND macro on line 2485 of gdk.override
> file when compiling on Win32 platforms. It seems to fix the linker error
> "undefined reference to GDK_DRAWABLE_HANDLE" for the moment anyway.

Thanks a lot. I can't really pygtk on windows. But fortunately, the
pygtk community is growing, so there is always someone who builds on
windows.

I will check it in when I have time, assuming it compiles :-)
-- 
Johan Dahlin <[EMAIL PROTECTED]>
Async Open Source

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] Error compiling latest CVS Head of PyGtk.

2003-06-07 Thread Alif Wahid
Hi,

I've provided a patch on bugzilla to fix a problem compiling latest CVS Head
on Win32 platforms. It is #114619. I think the macro GDK_DRAWABLE_HANDLE
should be replaced with GDK_WINDOW_HWND macro on line 2485 of gdk.override
file when compiling on Win32 platforms. It seems to fix the linker error
"undefined reference to GDK_DRAWABLE_HANDLE" for the moment anyway.

Regards,

Alif.


Heaven on earth can only be in one distant peaceful corner of the
world...New Zealand.


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/