jana-gtk-utils

jana-gtk-utils

Functions

Description

Functions

jana_gtk_utils_treeview_resize ()

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.

Parameters

tree_view

A GtkTreeView

 

allocation

The widget's allocated size

 

cell_renderer

A GtkCellRenderer

 

Types and Values