Add properties for labels, mnemonics and stock items. Added C accessor

2001-08-26  Alexander Larsson  <alla@lysator.liu.se>

	* gtk/gtkbutton.[ch]:
	Add properties for labels, mnemonics and stock items.
	Added C accessor functions for the properties.
	Removed deprecated button->child.

	* gtk/gtkradiobutton.c:
	* gtk/gtktogglebutton.c:
	Update to use the functions in GtkButton.

	* gtk/gtkcheckbutton.c:
	Update to use the functions in GtkButton.
	Changed size allocation of child. Now only gets as much
	space as it requests.

	* gtk/gtkclist.c:
	Don't use GtkButton->child

	* gtk/gtklabel.c:
	Fixed typo in docs
This commit is contained in:
Alexander Larsson
2001-08-27 01:05:07 +00:00
committed by Alexander Larsson
parent 8d00215d9e
commit f9e666244f
14 changed files with 449 additions and 176 deletions

View File

@ -1572,7 +1572,7 @@ gtk_clist_get_column_widget (GtkCList *clist,
return NULL;
if (clist->column[column].button)
return GTK_BUTTON (clist->column[column].button)->child;
return GTK_BIN (clist->column[column].button)->child;
return NULL;
}