GtkGrid: Support baseline alignment in GtkGrid

We support a local baseline in each row, as well as selecting
a specific row for the global baseline of the entire GtkGrid.
This commit is contained in:
Alexander Larsson
2013-03-21 11:09:43 +01:00
parent a985b5a904
commit 44fbf3eed1
2 changed files with 615 additions and 107 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -109,6 +109,18 @@ gboolean gtk_grid_get_column_homogeneous (GtkGrid *grid);
void gtk_grid_set_column_spacing (GtkGrid *grid,
guint spacing);
guint gtk_grid_get_column_spacing (GtkGrid *grid);
GDK_AVAILABLE_IN_3_10
void gtk_grid_set_row_baseline_position (GtkGrid *grid,
gint row,
GtkBaselinePosition pos);
GDK_AVAILABLE_IN_3_10
GtkBaselinePosition gtk_grid_get_row_baseline_position (GtkGrid *grid,
gint row);
GDK_AVAILABLE_IN_3_10
void gtk_grid_set_baseline_row (GtkGrid *grid,
gint row);
GDK_AVAILABLE_IN_3_10
gint gtk_grid_get_baseline_row (GtkGrid *grid);
G_END_DECLS