Fixed GtkToolPalette API docs to mention 2.20 instead of 2.18

This commit is contained in:
Johannes Schmid 2009-10-28 13:17:13 +01:00
parent e83013c066
commit ed41fa8b50
2 changed files with 40 additions and 40 deletions

View File

@ -46,7 +46,7 @@
* An #GtkToolItemGroup is used together with #GtkToolPalette to add #GtkToolItem<!-- -->s to a palette like container
* with different categories and drag and drop support.
*
* Since: 2.18
* Since: 2.20
*/
enum
@ -1648,7 +1648,7 @@ gtk_tool_item_group_class_init (GtkToolItemGroupClass *cls)
*
* Returns: a new #GtkToolItemGroup.
*
* Since: 2.18
* Since: 2.20
*/
GtkWidget*
gtk_tool_item_group_new (const gchar *label)
@ -1665,7 +1665,7 @@ gtk_tool_item_group_new (const gchar *label)
* Sets the label of the tool item group. The label is displayed in the header
* of the group.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_item_group_set_label (GtkToolItemGroup *group,
@ -1700,7 +1700,7 @@ gtk_tool_item_group_set_label (GtkToolItemGroup *group,
* Sets the label of the tool item group. The label is displayed in the header
* of the group.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_item_group_set_label_widget (GtkToolItemGroup *group,
@ -1757,7 +1757,7 @@ gtk_tool_item_group_set_label_widget (GtkToolItemGroup *group,
* Set the button relief of the group header. See #gtk_button_set_relief for
* details
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_item_group_set_header_relief (GtkToolItemGroup *group,
@ -1868,7 +1868,7 @@ gtk_tool_item_group_animation_cb (gpointer data)
*
* Sets whether the @group should be collapsed or expanded.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_item_group_set_collapsed (GtkToolItemGroup *group,
@ -1923,7 +1923,7 @@ gtk_tool_item_group_set_collapsed (GtkToolItemGroup *group,
*
* Sets the ellipsization mode which should be used by labels in @group.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_item_group_set_ellipsize (GtkToolItemGroup *group,
@ -1948,7 +1948,7 @@ gtk_tool_item_group_set_ellipsize (GtkToolItemGroup *group,
*
* Returns: the label of @group. The label is an internal string of @group and must not be modified.
*
* Since: 2.18
* Since: 2.20
*/
G_CONST_RETURN gchar*
gtk_tool_item_group_get_label (GtkToolItemGroup *group)
@ -1973,7 +1973,7 @@ gtk_tool_item_group_get_label (GtkToolItemGroup *group)
*
* Returns: the label of @group. The label is an internal string of @group and must not be modified.
*
* Since: 2.18
* Since: 2.20
*/
GtkWidget*
gtk_tool_item_group_get_label_widget (GtkToolItemGroup *group)
@ -1990,7 +1990,7 @@ gtk_tool_item_group_get_label_widget (GtkToolItemGroup *group)
*
* Returns: %TRUE if @group is collapsed, %FALSE if it is expanded.
*
* Since: 2.18
* Since: 2.20
*/
gboolean
gtk_tool_item_group_get_collapsed (GtkToolItemGroup *group)
@ -2007,7 +2007,7 @@ gtk_tool_item_group_get_collapsed (GtkToolItemGroup *group)
*
* Returns: the #PangoEllipsizeMode of @group.
*
* Since: 2.18
* Since: 2.20
*/
PangoEllipsizeMode
gtk_tool_item_group_get_ellipsize (GtkToolItemGroup *group)
@ -2024,7 +2024,7 @@ gtk_tool_item_group_get_ellipsize (GtkToolItemGroup *group)
*
* Returns: the #GtkReliefStyle
*
* Since: 2.18
* Since: 2.20
*/
GtkReliefStyle
gtk_tool_item_group_get_header_relief (GtkToolItemGroup *group)
@ -2041,7 +2041,7 @@ gtk_tool_item_group_get_header_relief (GtkToolItemGroup *group)
*
* Inserts @item at @position in the list of children of @group.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_item_group_insert (GtkToolItemGroup *group,
@ -2085,7 +2085,7 @@ gtk_tool_item_group_insert (GtkToolItemGroup *group,
*
* Sets the position of @item in the list of children of @group.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_item_group_set_item_position (GtkToolItemGroup *group,
@ -2127,7 +2127,7 @@ gtk_tool_item_group_set_item_position (GtkToolItemGroup *group,
*
* Returns: the index of @item in @group or -1 if @item is no child of @group.
*
* Since: 2.18
* Since: 2.20
*/
gint
gtk_tool_item_group_get_item_position (GtkToolItemGroup *group,
@ -2152,7 +2152,7 @@ gtk_tool_item_group_get_item_position (GtkToolItemGroup *group,
*
* Returns: the number of tool items in group.
*
* Since: 2.18
* Since: 2.20
*/
guint
gtk_tool_item_group_get_n_items (GtkToolItemGroup *group)
@ -2171,7 +2171,7 @@ gtk_tool_item_group_get_n_items (GtkToolItemGroup *group)
*
* Returns: the #GtkToolItem at index.
*
* Since: 2.18
* Since: 2.20
*/
GtkToolItem*
gtk_tool_item_group_get_nth_item (GtkToolItemGroup *group,
@ -2196,7 +2196,7 @@ gtk_tool_item_group_get_nth_item (GtkToolItemGroup *group,
*
* Returns: the #GtkToolItem at position (x, y).
*
* Since: 2.18
* Since: 2.20
*/
GtkToolItem*
gtk_tool_item_group_get_drop_item (GtkToolItemGroup *group,

View File

@ -99,7 +99,7 @@
* GDK_ACTION_COPY);
* ]|
*
* Since: 2.18
* Since: 2.20
*/
typedef struct _GtkToolItemGroupInfo GtkToolItemGroupInfo;
@ -974,7 +974,7 @@ gtk_tool_palette_class_init (GtkToolPaletteClass *cls)
*
* The ::set-scroll-adjustments when FIXME
*
* Since: 2.18
* Since: 2.20
*/
wclass->set_scroll_adjustments_signal =
g_signal_new ("set-scroll-adjustments",
@ -1001,7 +1001,7 @@ gtk_tool_palette_class_init (GtkToolPaletteClass *cls)
* application toolbars should respect the user preferences for the
* size of icons.
*
* Since: 2.18
* Since: 2.20
*/
g_object_class_install_property (oclass,
PROP_ICON_SIZE,
@ -1068,7 +1068,7 @@ gtk_tool_palette_class_init (GtkToolPaletteClass *cls)
*
* Returns: a new #GtkToolPalette.
*
* Since: 2.18
* Since: 2.20
*/
GtkWidget*
gtk_tool_palette_new (void)
@ -1083,7 +1083,7 @@ gtk_tool_palette_new (void)
*
* Sets the size of icons in the tool palette.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_palette_set_icon_size (GtkToolPalette *palette,
@ -1127,7 +1127,7 @@ toolpalette_get_settings (GtkToolPalette *palette)
* Unsets the tool palette icon size set with gtk_tool_palette_set_icon_size(), so that
* user preferences will be used to determine the icon size.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_palette_unset_icon_size (GtkToolPalette *palette)
@ -1190,7 +1190,7 @@ gtk_tool_palette_change_style (GtkToolPalette *palette,
*
* Sets the style (text, icons or both) of items in the tool palette.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_palette_set_style (GtkToolPalette *palette,
@ -1244,7 +1244,7 @@ gtk_tool_palette_unset_style (GtkToolPalette *palette)
*
* Returns: the #GtkIconSize of icons in the tool palette.
*
* Since: 2.18
* Since: 2.20
*/
GtkIconSize
gtk_tool_palette_get_icon_size (GtkToolPalette *palette)
@ -1261,7 +1261,7 @@ gtk_tool_palette_get_icon_size (GtkToolPalette *palette)
*
* Returns: the #GtkToolbarStyle of items in the tool palette.
*
* Since: 2.18
* Since: 2.20
*/
GtkToolbarStyle
gtk_tool_palette_get_style (GtkToolPalette *palette)
@ -1280,7 +1280,7 @@ gtk_tool_palette_get_style (GtkToolPalette *palette)
* If position is 0 the group will become the first child, if position is
* -1 it will become the last child.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_palette_set_group_position (GtkToolPalette *palette,
@ -1360,7 +1360,7 @@ gtk_tool_palette_group_notify_collapsed (GtkToolItemGroup *group,
* Sets whether the group should be exclusive or not. If an exclusive group is expanded
* all other groups are collapsed.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_palette_set_exclusive (GtkToolPalette *palette,
@ -1411,7 +1411,7 @@ gtk_tool_palette_set_exclusive (GtkToolPalette *palette,
*
* Sets whether the group should be given extra space.
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_palette_set_expand (GtkToolPalette *palette,
@ -1446,7 +1446,7 @@ gtk_tool_palette_set_expand (GtkToolPalette *palette,
*
* Returns: the index of group or -1 if @group is not a child of @palette.
*
* Since: 2.18
* Since: 2.20
*/
gint
gtk_tool_palette_get_group_position (GtkToolPalette *palette,
@ -1473,7 +1473,7 @@ gtk_tool_palette_get_group_position (GtkToolPalette *palette,
*
* Returns: %TRUE if group is exclusive.
*
* Since: 2.18
* Since: 2.20
*/
gboolean
gtk_tool_palette_get_exclusive (GtkToolPalette *palette,
@ -1499,7 +1499,7 @@ gtk_tool_palette_get_exclusive (GtkToolPalette *palette,
*
* Returns: %TRUE if group should be given extra space, %FALSE otherwise.
*
* Since: 2.18
* Since: 2.20
*/
gboolean
gtk_tool_palette_get_expand (GtkToolPalette *palette,
@ -1526,7 +1526,7 @@ gtk_tool_palette_get_expand (GtkToolPalette *palette,
*
* Returns: the #GtkToolItem at position or %NULL if there is no such item.
*
* Since: 2.18
* Since: 2.20
*/
GtkToolItem*
gtk_tool_palette_get_drop_item (GtkToolPalette *palette,
@ -1553,7 +1553,7 @@ gtk_tool_palette_get_drop_item (GtkToolPalette *palette,
*
* Returns: the #GtkToolItemGroup at position or %NULL if there is no such group.
*
* Since: 2.18
* Since: 2.20
*/
GtkWidget*
gtk_tool_palette_get_drop_group (GtkToolPalette *palette,
@ -1602,7 +1602,7 @@ gtk_tool_palette_get_drop_group (GtkToolPalette *palette,
*
* Returns: the dragged item in selection.
*
* Since: 2.18
* Since: 2.20
*/
GtkWidget*
gtk_tool_palette_get_drag_item (GtkToolPalette *palette,
@ -1642,7 +1642,7 @@ gtk_tool_palette_get_drag_item (GtkToolPalette *palette,
*
* See gtk_drag_source_set().
*
* Since: 2.18
* Since: 2.20
*
*/
void
@ -1684,7 +1684,7 @@ gtk_tool_palette_set_drag_source (GtkToolPalette *palette,
*
* See gtk_drag_dest_set().
*
* Since: 2.18
* Since: 2.20
*/
void
gtk_tool_palette_add_drag_dest (GtkToolPalette *palette,
@ -1835,7 +1835,7 @@ _gtk_tool_palette_child_set_drag_source (GtkWidget *child,
*
* Returns: the #GtkTargetEntry for a dragged item.
*
* Since: 2.18
* Since: 2.20
*/
G_CONST_RETURN GtkTargetEntry*
gtk_tool_palette_get_drag_target_item (void)
@ -1850,7 +1850,7 @@ gtk_tool_palette_get_drag_target_item (void)
*
* Returns: the #GtkTargetEntry for a dragged group.
*
* Since: 2.18
* Since: 2.20
*/
G_CONST_RETURN GtkTargetEntry*
gtk_tool_palette_get_drag_target_group (void)