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

Michael Gonzalez mgh at unican.es
Thu Oct 14 18:54:15 CEST 2010


Dear Dmitry:

This solved it! Thank you very much.

Best regards,

Michael González.

On 10/14/2010 04:16 PM, Dmitry A. Kazakov wrote:
> 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);
>



More information about the gtkada mailing list