Added gtk_cell_area_foreach_alloc() to further simplify GtkCellArea subclasses
gtk_cell_area_foreach_alloc() itterates over an allocated list of cells
and calls a callback with the cell's allocation until the callback returns
TRUE.
- Removed vfunc get_cell_allocation() and implemented
gtk_cell_area_get_cell_allocation() using foreach_alloc()
- Added gtk_cell_area_get_cell_at_position() using foreach_alloc()
- Removed GtkCellAreaBox ->event() implementation and implemented
mouse "click" cell activation in GtkCellArea class directly using
gtk_cell_area_get_cell_at_position().
This commit is contained in:
@ -4387,16 +4387,19 @@ gtk_cell_layout_get_type
|
||||
GtkCellArea
|
||||
GtkCellAreaClass
|
||||
GtkCellCallback
|
||||
GtkCellAllocCallback
|
||||
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
|
||||
gtk_cell_area_add
|
||||
gtk_cell_area_remove
|
||||
gtk_cell_area_has_renderer
|
||||
gtk_cell_area_foreach
|
||||
gtk_cell_area_get_cell_allocation
|
||||
gtk_cell_area_foreach_alloc
|
||||
gtk_cell_area_event
|
||||
gtk_cell_area_render
|
||||
gtk_cell_area_set_style_detail
|
||||
gtk_cell_area_get_style_detail
|
||||
gtk_cell_area_get_cell_allocation
|
||||
gtk_cell_area_get_cell_at_position
|
||||
gtk_cell_area_create_context
|
||||
gtk_cell_area_get_request_mode
|
||||
gtk_cell_area_get_preferred_width
|
||||
|
||||
Reference in New Issue
Block a user