Added function to set the homogeneous flag of the table (needed by derived

1998-04-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtktable.h:
	* gtk/gtktable.c (gtk_table_set_homogeneous): Added function to
	set the homogeneous flag of the table (needed by derived widgets
	and such).

1998-04-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget.
This commit is contained in:
Federico Mena Quintero 1998-04-06 22:33:32 +00:00 committed by Arturo Espinosa
parent 01c3cd84f5
commit 30533f0397
10 changed files with 94 additions and 0 deletions

View File

@ -1,3 +1,14 @@
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:
* gtk/gtktable.c (gtk_table_set_homogeneous): Added function to
set the homogeneous flag of the table (needed by derived widgets
and such).
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget.
Mon Apr 6 18:48:49 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: more on GIMP (et al) configure

View File

@ -1,3 +1,14 @@
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:
* gtk/gtktable.c (gtk_table_set_homogeneous): Added function to
set the homogeneous flag of the table (needed by derived widgets
and such).
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget.
Mon Apr 6 18:48:49 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: more on GIMP (et al) configure

View File

@ -1,3 +1,14 @@
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:
* gtk/gtktable.c (gtk_table_set_homogeneous): Added function to
set the homogeneous flag of the table (needed by derived widgets
and such).
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget.
Mon Apr 6 18:48:49 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: more on GIMP (et al) configure

View File

@ -1,3 +1,14 @@
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:
* gtk/gtktable.c (gtk_table_set_homogeneous): Added function to
set the homogeneous flag of the table (needed by derived widgets
and such).
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget.
Mon Apr 6 18:48:49 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: more on GIMP (et al) configure

View File

@ -1,3 +1,14 @@
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:
* gtk/gtktable.c (gtk_table_set_homogeneous): Added function to
set the homogeneous flag of the table (needed by derived widgets
and such).
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget.
Mon Apr 6 18:48:49 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: more on GIMP (et al) configure

View File

@ -1,3 +1,14 @@
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:
* gtk/gtktable.c (gtk_table_set_homogeneous): Added function to
set the homogeneous flag of the table (needed by derived widgets
and such).
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget.
Mon Apr 6 18:48:49 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: more on GIMP (et al) configure

View File

@ -1,3 +1,14 @@
1998-04-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtktable.h:
* gtk/gtktable.c (gtk_table_set_homogeneous): Added function to
set the homogeneous flag of the table (needed by derived widgets
and such).
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget.
Mon Apr 6 18:48:49 BST 1998 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: more on GIMP (et al) configure

View File

@ -54,6 +54,8 @@ GtkWidget* gtk_radio_button_new (GSList *group);
GtkWidget* gtk_radio_button_new_from_widget (GtkRadioButton *group);
GtkWidget* gtk_radio_button_new_with_label (GSList *group,
const gchar *label);
GtkWidget* gtk_radio_button_new_with_label_from_widget (GtkRadioButton *group,
const gchar *label);
GSList* gtk_radio_button_group (GtkRadioButton *radio_button);
void gtk_radio_button_set_group (GtkRadioButton *radio_button,
GSList *group);

View File

@ -341,6 +341,19 @@ gtk_table_set_col_spacings (GtkTable *table,
gtk_widget_queue_resize (GTK_WIDGET (table));
}
void
gtk_table_set_homogeneous (GtkTable *table,
gint homogeneous)
{
g_return_if_fail (table != NULL);
g_return_if_fail (GTK_IS_TABLE (table));
table->homogeneous = (homogeneous != 0);
if (GTK_WIDGET_VISIBLE (table))
gtk_widget_queue_resize (GTK_WIDGET (table));
}
static void
gtk_table_finalize (GtkObject *object)

View File

@ -117,6 +117,8 @@ void gtk_table_set_row_spacings (GtkTable *table,
gint spacing);
void gtk_table_set_col_spacings (GtkTable *table,
gint spacing);
void gtk_table_set_homogeneous (GtkTable *table,
gint homogeneous);
#ifdef __cplusplus