| libjana-gtk Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
void jana_gtk_utils_treeview_resize (GtkWidget *tree_view, GtkAllocation *allocation, gpointer cell_renderer);
void jana_gtk_utils_treeview_resize (GtkWidget *tree_view,
GtkAllocation *allocation,
gpointer cell_renderer);
A convenience callback that can be used in conjunction with
"size-allocate" that will set the cell renderer width to the
width of the first column in tree_view. This can be useful if you want
correctly sized rows when using JanaGtkCellRendererEvent or
JanaGtkCellRendererNote.
|
A GtkTreeView |
|
The widget's allocated size |
|
A GtkCellRenderer |