[gtkada] Wicked keyboard behaviour for gtk.extra.sheet

Domingo Fiesta Segura linuxdummybudy at yahoo.es
Mon Sep 27 05:17:09 CEST 2004


Hi all,

I'm doing a small and ridiculous spreadsheet application (for simple 
bills). I ended up programming with GtkAda because the other portable GUI 
environment I knew (wxWidgets) has a horrible sheet widget (wxGrid).

The Gtk.Extra.Sheet is really easy and flexible, but after testing I've 
found that there is some problem with the shift key while editing a cell 
(with the default Gtk.Extra.Item_Entry).

When you edit a cell (automatically enabled when you select it) it seems 
that the shift key press is not handled by the gtk.extra.item_entry but by 
gtk.extra.sheet. That means you cannot write capitals unless you press 
caps-lock, write and press caps-lock again, it is also impossible to 
select text (manually with the keyboard) while editing.

I've tried to set the selection mode of the sheet to "selection_none" but 
after that I can still select multiple cells in the sheet.

You can check what I'm saying in the "testgtk" that comes with GtkAda 
sources. If I'm the only one that gets that behaviour please let me know 
and I'll provide more information of my setup.

Thanks in advance.



More information about the gtkada mailing list