Remove references to nonexisting functions.
* gtk/tmpl/gtkbbox.sgml: Remove references to nonexisting functions.
        * gtk/tmpl/gtkcolorseldlg.sgml, gtk/tmpl/gtkdrawingarea.sgml,
        gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkhseparator.sgml,
        gtk/tmpl/gtktree.sgml, gtk/tmpl/gtkradiobutton.sgml,
        gtk/tmpl/gtkradiomenuitem.sgml:
        Replace references to deprecated functions.
        * gtk/tmpl/gtkhbbox.sgml,gtk/tmpl/gtkvbbox.sgml: Minor fixes.
			
			
This commit is contained in:
		@ -1,3 +1,15 @@
 | 
				
			|||||||
 | 
					2001-12-30  Matthias Clasen  <matthiasc@poet.de>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gtk/tmpl/gtkbbox.sgml: Remove references to nonexisting functions.
 | 
				
			||||||
 | 
						
 | 
				
			||||||
 | 
						* gtk/tmpl/gtkcolorseldlg.sgml, gtk/tmpl/gtkdrawingarea.sgml,
 | 
				
			||||||
 | 
						gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkhseparator.sgml, 
 | 
				
			||||||
 | 
						gtk/tmpl/gtktree.sgml, gtk/tmpl/gtkradiobutton.sgml,
 | 
				
			||||||
 | 
						gtk/tmpl/gtkradiomenuitem.sgml: 
 | 
				
			||||||
 | 
						Replace references to deprecated functions.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gtk/tmpl/gtkhbbox.sgml,gtk/tmpl/gtkvbbox.sgml: Minor fixes.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2001-12-30  Matthias Clasen  <matthiasc@poet.de>
 | 
					2001-12-30  Matthias Clasen  <matthiasc@poet.de>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml,
 | 
						* gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml,
 | 
				
			||||||
 | 
				
			|||||||
@ -10,22 +10,11 @@ The primary purpose of this class is to keep track of the various properties
 | 
				
			|||||||
of #GtkHButtonBox and #GtkVButtonBox widgets.
 | 
					of #GtkHButtonBox and #GtkVButtonBox widgets.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
gtk_button_box_get_child_size_default() retrieves the default minimum width and height 
 | 
					 | 
				
			||||||
for widgets in any button box. gtk_button_box_set_child_size_default()
 | 
					 | 
				
			||||||
changes the default minimum child widget size.
 | 
					 | 
				
			||||||
</para>
 | 
					 | 
				
			||||||
<para>
 | 
					 | 
				
			||||||
gtk_button_box_get_child_size() retrieves the minimum width and height 
 | 
					gtk_button_box_get_child_size() retrieves the minimum width and height 
 | 
				
			||||||
for widgets in a given button box. gtk_button_box_set_child_size() 
 | 
					for widgets in a given button box. gtk_button_box_set_child_size() 
 | 
				
			||||||
allows those properties to be changed.
 | 
					allows those properties to be changed.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
gtk_button_box_get_child_ipadding_default() gets the default number of pixels of 
 | 
					 | 
				
			||||||
horizontal and vertical padding that are applied to each button in every button box.
 | 
					 | 
				
			||||||
gtk_button_box_set_child_ipadding_default() allows these defaults to be
 | 
					 | 
				
			||||||
changed.
 | 
					 | 
				
			||||||
</para>
 | 
					 | 
				
			||||||
<para>
 | 
					 | 
				
			||||||
The internal padding of buttons can be retrieved and changed per button box using
 | 
					The internal padding of buttons can be retrieved and changed per button box using
 | 
				
			||||||
gtk_button_box_get_child_ipadding() and gtk_button_box_set_child_ipadding()
 | 
					gtk_button_box_get_child_ipadding() and gtk_button_box_set_child_ipadding()
 | 
				
			||||||
respectively.
 | 
					respectively.
 | 
				
			||||||
 | 
				
			|||||||
@ -29,7 +29,7 @@ an application.)
 | 
				
			|||||||
<row>
 | 
					<row>
 | 
				
			||||||
<entry>#GtkWidget *colorsel;</entry>
 | 
					<entry>#GtkWidget *colorsel;</entry>
 | 
				
			||||||
<entry>The #GtkColorSelection widget contained within the
 | 
					<entry>The #GtkColorSelection widget contained within the
 | 
				
			||||||
dialog.  Use this widget and its gtk_color_selection_get_color()
 | 
					dialog.  Use this widget and its gtk_color_selection_get_current_color()
 | 
				
			||||||
function to gain access to the selected color.  Connect a handler 
 | 
					function to gain access to the selected color.  Connect a handler 
 | 
				
			||||||
for this widget's color_changed signal to be notified when the
 | 
					for this widget's color_changed signal to be notified when the
 | 
				
			||||||
color changes.
 | 
					color changes.
 | 
				
			||||||
 | 
				
			|||||||
@ -71,8 +71,6 @@ expose_event (GdkWidget *widget, GdkEventExpose *event, gpointer data)
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
[...]
 | 
					[...]
 | 
				
			||||||
  GtkWidget *drawing_area = gtk_drawing_area_new (<!>);
 | 
					  GtkWidget *drawing_area = gtk_drawing_area_new (<!>);
 | 
				
			||||||
  gtk_drawing_area_size (GTK_DRAWING_AREA (drawing_area),
 | 
					 | 
				
			||||||
                         100, 100);
 | 
					 | 
				
			||||||
  gtk_signal_connect (GTK_OBJECT (drawing_area), 
 | 
					  gtk_signal_connect (GTK_OBJECT (drawing_area), 
 | 
				
			||||||
</programlisting>
 | 
					</programlisting>
 | 
				
			||||||
</example>
 | 
					</example>
 | 
				
			||||||
 | 
				
			|||||||
@ -8,14 +8,14 @@ a container for arranging button horizontally.
 | 
				
			|||||||
<para>
 | 
					<para>
 | 
				
			||||||
A button box should be used to provide a consistent layout of buttons
 | 
					A button box should be used to provide a consistent layout of buttons
 | 
				
			||||||
throughout your application. There is one default layout and a default
 | 
					throughout your application. There is one default layout and a default
 | 
				
			||||||
spacing value that are persistant across all #HButtonBox widgets.
 | 
					spacing value that are persistant across all #GtkHButtonBox widgets.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
The layout/spacing can then be altered by the programmer, or if desired, by
 | 
					The layout/spacing can then be altered by the programmer, or if desired, by
 | 
				
			||||||
the user to alter the 'feel' of a program to a small degree.
 | 
					the user to alter the 'feel' of a program to a small degree.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
A #HButtonBox is created with gtk_hbutton_box_new(). Buttons are packed into
 | 
					A #GtkHButtonBox is created with gtk_hbutton_box_new(). Buttons are packed into
 | 
				
			||||||
a button box the same way as any other box, using gtk_box_pack_start() or
 | 
					a button box the same way as any other box, using gtk_box_pack_start() or
 | 
				
			||||||
gtk_box_pack_end().
 | 
					gtk_box_pack_end().
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
 | 
				
			|||||||
@ -15,7 +15,7 @@ make it appear sunken into the interface.
 | 
				
			|||||||
The #GtkHSeparator widget is not used as a separator within menus.
 | 
					The #GtkHSeparator widget is not used as a separator within menus.
 | 
				
			||||||
To create a separator in a menu create an empty #GtkSeparatorMenuItem 
 | 
					To create a separator in a menu create an empty #GtkSeparatorMenuItem 
 | 
				
			||||||
widget using gtk_separator_menu_item_new() and add it to the menu with 
 | 
					widget using gtk_separator_menu_item_new() and add it to the menu with 
 | 
				
			||||||
gtk_menu_append().
 | 
					gtk_menu_shell_append().
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
</note>
 | 
					</note>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -585,6 +585,9 @@ GTK+ to do pending redraws. This priority is lower than %GTK_PRIORITY_RESIZE
 | 
				
			|||||||
to avoid redrawing a widget just before resizing (and therefore redrawing
 | 
					to avoid redrawing a widget just before resizing (and therefore redrawing
 | 
				
			||||||
it again).
 | 
					it again).
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
 | 
					<note><para>
 | 
				
			||||||
 | 
					This macro is deprecated. You should use %GDK_PRIORITY_REDRAW instead.
 | 
				
			||||||
 | 
					</para></note>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -30,7 +30,7 @@ gtk_radio_button_new_with_label_from_widget() is also provided.
 | 
				
			|||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
To retrieve the group a #GtkRadioButton is assigned to, use
 | 
					To retrieve the group a #GtkRadioButton is assigned to, use
 | 
				
			||||||
gtk_radio_button_group().
 | 
					gtk_radio_button_get_group().
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
To remove a #GtkRadioButton from one group and make it part of a new one, use gtk_radio_button_set_group().
 | 
					To remove a #GtkRadioButton from one group and make it part of a new one, use gtk_radio_button_set_group().
 | 
				
			||||||
 | 
				
			|||||||
@ -23,7 +23,7 @@ gint i;
 | 
				
			|||||||
for(i = 0; i < 5; i++)
 | 
					for(i = 0; i < 5; i++)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  item = gtk_radio_menu_item_new_with_label (group, "This is an example");
 | 
					  item = gtk_radio_menu_item_new_with_label (group, "This is an example");
 | 
				
			||||||
  group = gtk_radio_menu_item_group (GTK_RADIO_MENU_ITEM (item));
 | 
					  group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (item));
 | 
				
			||||||
  if (i == 1)
 | 
					  if (i == 1)
 | 
				
			||||||
    gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), TRUE);
 | 
					    gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), TRUE);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -124,7 +124,7 @@ Removes a list of items from the #GtkTree in @tree.
 | 
				
			|||||||
If only one item is to be removed from the #GtkTree, gtk_container_remove() can be used instead.
 | 
					If only one item is to be removed from the #GtkTree, gtk_container_remove() can be used instead.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
Removing an item from a #GtkTree dereferences the item, and thus usually destroys the item and any subtrees it may contain. If the item is not to be destroyed, use gtk_object_ref() before removing it.
 | 
					Removing an item from a #GtkTree dereferences the item, and thus usually destroys the item and any subtrees it may contain. If the item is not to be destroyed, use g_object_ref() before removing it.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@tree: A pointer to a #GtkTree.
 | 
					@tree: A pointer to a #GtkTree.
 | 
				
			||||||
@ -136,7 +136,7 @@ Removing an item from a #GtkTree dereferences the item, and thus usually destroy
 | 
				
			|||||||
Removes the items at positions between @start and @end from the #GtkTree @tree.
 | 
					Removes the items at positions between @start and @end from the #GtkTree @tree.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
Removing an item from a #GtkTree dereferences the item, and thus usually destroys the item and any subtrees it may contain. If the item is not to be destroyed, use gtk_object_ref() before removing it.
 | 
					Removing an item from a #GtkTree dereferences the item, and thus usually destroys the item and any subtrees it may contain. If the item is not to be destroyed, use g_object_ref() before removing it.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@tree: A pointer to a #GtkTree.
 | 
					@tree: A pointer to a #GtkTree.
 | 
				
			||||||
 | 
				
			|||||||
@ -8,14 +8,14 @@ a container for arranging buttons vertically.
 | 
				
			|||||||
<para>
 | 
					<para>
 | 
				
			||||||
A button box should be used to provide a consistent layout of buttons
 | 
					A button box should be used to provide a consistent layout of buttons
 | 
				
			||||||
throughout your application. There is one default layout and a default
 | 
					throughout your application. There is one default layout and a default
 | 
				
			||||||
spacing value that are persistant across all #VButtonBox widgets.
 | 
					spacing value that are persistant across all #GtkVButtonBox widgets.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
The layout/spacing can then be altered by the programmer, or if desired, by
 | 
					The layout/spacing can then be altered by the programmer, or if desired, by
 | 
				
			||||||
the user to alter the 'feel' of a program to a small degree.
 | 
					the user to alter the 'feel' of a program to a small degree.
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
<para>
 | 
					<para>
 | 
				
			||||||
A #VButtonBox is created with gtk_vbutton_box_new(). Buttons are packed into
 | 
					A #GtkVButtonBox is created with gtk_vbutton_box_new(). Buttons are packed into
 | 
				
			||||||
a button box the same way as any other box, using gtk_box_pack_start() or
 | 
					a button box the same way as any other box, using gtk_box_pack_start() or
 | 
				
			||||||
gtk_box_pack_end().
 | 
					gtk_box_pack_end().
 | 
				
			||||||
</para>
 | 
					</para>
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user