Re: GtkTreeView change.



Tim Janik <timj gtk org> writes:

> On 17 Sep 2001, Jonathan Blandford wrote:
> 
> > In an attempt to close 59032 and 50344 (as well as 50062), I changed the
> > way events are passed to cells in the tree view.  This involved adding a
> > new interface (GtkCellEditable) and changing the interface to
> > GtkCellRenderer.
> > 
> > In particular, we used to have an "event" virtual function on
> > GtkCellRenderer that was called when the user clicked on a cell (mostly
> > for GtkCellRendererToggle).  Now, GtkCellRenderer has two properties,
> > "can_activate", and "can_edit".  These two properties are mutually
> 
> i pointed this out in earlier emails already, "can_activate" and "can_edit"
> should better be called "activatable" and "editable" to comply with the rest
> of our property names.

I just changed it to an enum:

typedef enum
{
  GTK_CELL_RENDERER_MODE_INERT,
  GTK_CELL_RENDERER_MODE_ACTIVATABLE,
  GTK_CELL_RENDERER_MODE_EDITABLE,
} GtkCellRendererMode;

Thanks,
-Jonathan




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