Re: Time column in a list



Torsten Schoenfeld wrote:
On Thu, 2005-03-03 at 14:04 +0200, Osmo Salomaa wrote:


Now I'd like to do the same for a column in a list. I'm assuming I need a custom cell renderer that uses a Gtk2::Entry. I have looked through the examples of various custom cell renderers but I'm still very lost. The code below is a test app I have tried, but it keeps giving the error

`GTK_IS_CELL_EDITABLE (*editable_widget)' failed.


Well, that's weird -- it works for me.  The error is bogus, because
GtkEntry does implement the GtkCellEditable interface.  What version of
gtk+ are you using?


I'm using version 2.4.10.

Here's the full error message I get:

Gtk-CRITICAL **: file gtktreeviewcolumn.c: line 2837 (gtk_tree_view_column_cell_process_action): assertion `GTK_IS_CELL_EDITABLE (*editable_widget)' failed at /home/osmo/Documents/ohjelmointi/perl/cr-time.pl line 89.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]