gtk2/docs/reference/gtk/tmpl/gtktoolitem.sgml
Owen Taylor 85c05a86c0 === Released 2.3.1 ===
Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.1 ===

        * NEWS: Updates for 2.3.1

        * configure.in: Version 2.3.1, interface age 0, binary age 301.

        * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
        Rename from gtk_menu_item_real_can_activate_accel() to
        match GTK+ convention, improve comment.

        * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
        can ::can-activate-accel signal.

        * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
        in comment.

        * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean
        up comment.

        * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
        into the .c file.

Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkicontheme.c (find_builtin_icon): Fix a
        missing 'else'. (#128816, Jorn Baayen)
2003-12-08 22:55:03 +00:00

285 lines
4.2 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
GtkToolItem
<!-- ##### SECTION Short_Description ##### -->
#GtkToolItem is the base class of widgets that can be added to
#GtkToolbar.
<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkToolItem<!-- -->s are widgets that can appear on a toolbar. To
create a toolbar item that contain something else than a button, use
gtk_tool_item_new(). Use gtk_container_add() to add a child
widget to the tool item.
</para>
<para>
For toolbar items that contain buttons, see the #GtkToolButton,
#GtkToggleToolButton and #GtkRadioToolButton classes.
</para>
See the #GtkToolbar class for a description of the toolbar widget.
<para>
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
<varlistentry>
<term>#GtkToolbar</term>
<listitem><para>The toolbar widget</para></listitem>
</varlistentry>
<varlistentry>
<term>#GtkToolButton</term>
<listitem><para>A subclass of #GtkToolItem that displays buttons on
the toolbar</para></listitem>
</varlistentry>
<varlistentry>
<term>#GtkSeparatorToolItem</term>
<listitem><para>A subclass of #GtkToolItem that separates groups of
items on a toolbar</para></listitem>
</varlistentry>
</para>
<!-- ##### STRUCT GtkToolItem ##### -->
<para>
The GtkToolItem struct contains only private data. It should only be
accessed through the functions described below.
</para>
<!-- ##### SIGNAL GtkToolItem::create-menu-proxy ##### -->
<para>
</para>
@toolitem: the object which received the signal.
@Returns:
<!-- ##### SIGNAL GtkToolItem::set-tooltip ##### -->
<para>
</para>
@toolitem: the object which received the signal.
@arg1:
@arg2:
@arg3:
@Returns:
<!-- ##### SIGNAL GtkToolItem::toolbar-reconfigured ##### -->
<para>
</para>
@toolitem: the object which received the signal.
<!-- ##### ARG GtkToolItem:is-important ##### -->
<para>
</para>
<!-- ##### ARG GtkToolItem:visible-horizontal ##### -->
<para>
</para>
<!-- ##### ARG GtkToolItem:visible-vertical ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_tool_item_new ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gtk_tool_item_set_homogeneous ##### -->
<para>
</para>
@tool_item:
@homogeneous:
<!-- ##### FUNCTION gtk_tool_item_get_homogeneous ##### -->
<para>
</para>
@tool_item:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_set_expand ##### -->
<para>
</para>
@tool_item:
@expand:
<!-- ##### FUNCTION gtk_tool_item_get_expand ##### -->
<para>
</para>
@tool_item:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_set_tooltip ##### -->
<para>
</para>
@tool_item:
@tooltips:
@tip_text:
@tip_private:
<!-- ##### FUNCTION gtk_tool_item_set_use_drag_window ##### -->
<para>
</para>
@toolitem:
@use_drag_window:
<!-- ##### FUNCTION gtk_tool_item_get_use_drag_window ##### -->
<para>
</para>
@toolitem:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_set_visible_horizontal ##### -->
<para>
</para>
@toolitem:
@visible_horizontal:
<!-- ##### FUNCTION gtk_tool_item_get_visible_horizontal ##### -->
<para>
</para>
@toolitem:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_set_visible_vertical ##### -->
<para>
</para>
@toolitem:
@visible_vertical:
<!-- ##### FUNCTION gtk_tool_item_get_visible_vertical ##### -->
<para>
</para>
@toolitem:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_set_is_important ##### -->
<para>
</para>
@tool_item:
@is_important:
<!-- ##### FUNCTION gtk_tool_item_get_is_important ##### -->
<para>
</para>
@tool_item:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_get_icon_size ##### -->
<para>
</para>
@tool_item:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_get_orientation ##### -->
<para>
</para>
@tool_item:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_get_toolbar_style ##### -->
<para>
</para>
@tool_item:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_get_relief_style ##### -->
<para>
</para>
@tool_item:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_retrieve_proxy_menu_item ##### -->
<para>
</para>
@tool_item:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_get_proxy_menu_item ##### -->
<para>
</para>
@tool_item:
@menu_item_id:
@Returns:
<!-- ##### FUNCTION gtk_tool_item_set_proxy_menu_item ##### -->
<para>
</para>
@tool_item:
@menu_item_id:
@menu_item: