[gtkada] How can I make a GtkAda text cell renderer editable?

Dmitry A. Kazakov mailbox at dmitry-kazakov.de
Thu Oct 14 16:16:11 CEST 2010


On Thu, 14 Oct 2010 15:54:32 +0200, you wrote:

> However, I still have one question. 
> I understand that the solution that you mention works after the cell has 
> been edited, by catching the "edited" signal. However, in my case I 
> cannot edit the cell. I would expect to find something like a text entry 
> in each cell, where I can type in some text, but what I get is 
> unmodifiable text.

> So, how can I make cells where I can type in some text?

I see. You set a wrong property. The right one is editable (see
Gtk.Cell_Renderer_Text). I.e. to make the cell editable you should do this:

   Set_Property (My_Text_Renderer, Editable_Property, True);

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



More information about the gtkada mailing list