mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Add gtk_size_group_get_widgets, fixes #326324. Also mark all fields of
* gtk/gtk.symbols: * gtk/gtkeditable.h: * gtk/gtksizegroup.c: (gtk_size_group_get_widgets): * gtk/gtksizegroup.h: (struct _GtkSizeGroup): Add gtk_size_group_get_widgets, fixes #326324. Also mark all fields of GtkSizeGroup as private
This commit is contained in:
parent
bd90bfbc96
commit
b3f14e09e4
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
2006-01-09 Johan Dahlin <jdahlin@async.com.br>
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
* gtk/gtkeditable.h:
|
||||
* gtk/gtksizegroup.c: (gtk_size_group_get_widgets):
|
||||
* gtk/gtksizegroup.h:
|
||||
(struct _GtkSizeGroup):
|
||||
|
||||
Add gtk_size_group_get_widgets, fixes #326324.
|
||||
Also mark all fields of GtkSizeGroup as private
|
||||
|
||||
2006-01-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't
|
||||
|
@ -1,3 +1,14 @@
|
||||
2006-01-09 Johan Dahlin <jdahlin@async.com.br>
|
||||
|
||||
* gtk/gtk.symbols:
|
||||
* gtk/gtkeditable.h:
|
||||
* gtk/gtksizegroup.c: (gtk_size_group_get_widgets):
|
||||
* gtk/gtksizegroup.h:
|
||||
(struct _GtkSizeGroup):
|
||||
|
||||
Add gtk_size_group_get_widgets, fixes #326324.
|
||||
Also mark all fields of GtkSizeGroup as private
|
||||
|
||||
2006-01-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't
|
||||
|
@ -2713,6 +2713,7 @@ gtk_size_group_add_widget
|
||||
gtk_size_group_get_ignore_hidden
|
||||
gtk_size_group_get_mode
|
||||
gtk_size_group_get_type G_GNUC_CONST
|
||||
gtk_size_group_get_widgets
|
||||
gtk_size_group_new
|
||||
gtk_size_group_remove_widget
|
||||
gtk_size_group_set_ignore_hidden
|
||||
|
@ -560,6 +560,23 @@ gtk_size_group_remove_widget (GtkSizeGroup *size_group,
|
||||
g_object_unref (size_group);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_size_group_get_widgets:
|
||||
* @size_group: a #GtkSizeGrup
|
||||
*
|
||||
* Returns the list of widgets associated with @size_group.
|
||||
*
|
||||
* Return value: a #GSList of widgets. The list is owned by GTK+
|
||||
* and should not be modified.
|
||||
*
|
||||
* Since: 2.10
|
||||
**/
|
||||
GSList *
|
||||
gtk_size_group_get_widgets (GtkSizeGroup *size_group)
|
||||
{
|
||||
return size_group->widgets;
|
||||
}
|
||||
|
||||
static gint
|
||||
get_base_dimension (GtkWidget *widget,
|
||||
GtkSizeGroupMode mode)
|
||||
|
@ -40,6 +40,7 @@ struct _GtkSizeGroup
|
||||
{
|
||||
GObject parent_instance;
|
||||
|
||||
/* <private> */
|
||||
GSList *widgets;
|
||||
|
||||
guint8 mode;
|
||||
@ -92,6 +93,7 @@ void gtk_size_group_add_widget (GtkSizeGroup *size_group,
|
||||
GtkWidget *widget);
|
||||
void gtk_size_group_remove_widget (GtkSizeGroup *size_group,
|
||||
GtkWidget *widget);
|
||||
GSList * gtk_size_group_get_widgets (GtkSizeGroup *size_group);
|
||||
|
||||
|
||||
void _gtk_size_group_get_child_requisition (GtkWidget *widget,
|
||||
|
Loading…
Reference in New Issue
Block a user