Gtk.CellAreaClass¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
activate |
r |
This is called when the layouting widget rendering the |
|
add |
r |
adds a |
|
apply_attributes |
r |
Apply the cell attributes to the cells. This is implemented as a signal and generally |
|
copy_context |
r |
Creates a new |
|
create_context |
r |
Creates and returns a class specific |
|
event |
r |
Handle an event in the area, this is generally used to activate a cell at the event location for button events but can also be used to generically pass events to ``GtkWidget``s drawn onto the area. |
|
focus |
r |
This virtual method should be implemented to navigate focus from cell to cell inside the |
|
foreach |
r |
calls the |
|
foreach_alloc |
r |
Calls the |
|
get_cell_property |
r |
This should be implemented to report the values of child cell properties for a given child |
|
get_preferred_height |
r |
Calculates the minimum and natural height of the areas cells with the current attributes applied. Essentially this is the same as |
|
get_preferred_height_for_width |
r |
Calculates the minimum and natural height for the area if the passed context would be allocated the given width. When implementing this virtual method it is safe to assume that context has already stored the aligned cell widths for every |
|
get_preferred_width |
r |
Calculates the minimum and natural width of the areas cells with the current attributes applied while considering the particular layouting details of the said |
|
get_preferred_width_for_height |
r |
Calculates the minimum and natural width for the area if the passed context would be allocated the given height. The same as |
|
get_request_mode |
r |
This allows an area to tell its layouting widget whether it prefers to be allocated in |
|
is_activatable |
r |
Returns whether the |
|
padding |
[ |
r |
|
parent_class |
r |
||
remove |
r |
removes a |
|
set_cell_property |
r |
This should be implemented to handle changes in child cell properties for a given |
|
snapshot |
r |
Actually snapshot the area’s cells to the specified rectangle, background_area should be correctly distributed to the cells corresponding background areas. |
Methods¶
|
|
|
|
Details¶
- class Gtk.CellAreaClass¶
- find_cell_property(property_name)[source]¶
- Parameters:
property_name (
str
) – the name of the child property to find- Returns:
the
GParamSpec
of the child property- Return type:
Finds a cell property of a cell area class by name.
Deprecated since version 4.10.
- install_cell_property(property_id, pspec)[source]¶
- Parameters:
property_id (
int
) – the id for the propertypspec (
GObject.ParamSpec
) – theGParamSpec
for the property
Installs a cell property on a cell area class.
Deprecated since version 4.10.