Added tests to reflect proper treatment of background area.
CellAreaScaffold now also reflects how cell_area should be passed to gtk_cell_area_activate() and gtk_cell_area_event() and how the background area for gtk_cell_area_renderer() should be created.
This commit is contained in:
@ -56,13 +56,23 @@ struct _CellAreaScaffoldClass
|
||||
};
|
||||
|
||||
|
||||
GType cell_area_scaffold_get_type (void) G_GNUC_CONST;
|
||||
GtkWidget *cell_area_scaffold_new (void);
|
||||
GType cell_area_scaffold_get_type (void) G_GNUC_CONST;
|
||||
GtkWidget *cell_area_scaffold_new (void);
|
||||
|
||||
GtkCellArea *cell_area_scaffold_get_area (CellAreaScaffold *scaffold);
|
||||
void cell_area_scaffold_set_model (CellAreaScaffold *scaffold,
|
||||
GtkTreeModel *model);
|
||||
GtkTreeModel *cell_area_scaffold_get_model (CellAreaScaffold *scaffold);
|
||||
|
||||
void cell_area_scaffold_set_row_spacing (CellAreaScaffold *scaffold,
|
||||
gint spacing);
|
||||
gint cell_area_scaffold_get_row_spacing (CellAreaScaffold *scaffold);
|
||||
|
||||
void cell_area_scaffold_set_indentation (CellAreaScaffold *scaffold,
|
||||
gint indent);
|
||||
gint cell_area_scaffold_get_indentation (CellAreaScaffold *scaffold);
|
||||
|
||||
|
||||
GtkCellArea *cell_area_scaffold_get_area (CellAreaScaffold *scaffold);
|
||||
void cell_area_scaffold_set_model (CellAreaScaffold *scaffold,
|
||||
GtkTreeModel *model);
|
||||
GtkTreeModel *cell_area_scaffold_get_model (CellAreaScaffold *scaffold);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user