Method
Gtk.CellArea.request_renderer
Declaration [src]
void
gtk_cell_area_request_renderer (
GtkCellArea* area,
GtkCellRenderer* renderer,
GtkOrientation orientation,
GtkWidget* widget,
int for_size,
int* minimum_size,
int* natural_size
)
Description [src]
This is a convenience function for GtkCellArea
implementations
to request size for cell renderers. It’s important to use this
function to request size and then use gtk_cell_area_inner_cell_area()
at render and event time since this function will add padding
around the cell for focus painting.
Parameters
renderer |
GtkCellRenderer |
the |
|
Ownership is not transferred to the callee | |
orientation |
GtkOrientation |
the |
|
widget |
GtkWidget |
the |
|
Ownership is not transferred to the callee | |
for_size |
int |
the allocation contextual size to request for, or -1 if the base request for the orientation is to be returned. |
|
minimum_size |
int* |
location to store the minimum size, or |
|
Direction: out | |
Ownership of the data is transferred to the callee | |
natural_size |
int* |
location to store the natural size, or |
|
Direction: out | |
Ownership of the data is transferred to the callee |