=head1 NAME

Gtk2::ToolItem

=head1 HIERARCHY

  Glib::Object
  +----Gtk2::Object
        +----Gtk2::Widget
              +----Gtk2::Container
                    +----Gtk2::Bin
                          +----Gtk2::ToolItem

=head1 INTERFACES

  Gtk2::Atk::ImplementorIface


=head1 METHODS

=head2 toolitem = Gtk2::ToolItem-E<gt>B<new> 

=over

=back

=head2 boolean = $tool_item-E<gt>B<get_expand> 

=over

=back

=head2 $tool_item-E<gt>B<set_expand> ($expand)

=over

=over

=item * $expand (boolean) 

=back

=back

=head2 boolean = $tool_item-E<gt>B<get_homogeneous> 

=over

=back

=head2 $tool_item-E<gt>B<set_homogeneous> ($homogeneous)

=over

=over

=item * $homogeneous (boolean) 

=back

=back

=head2 iconsize = $tool_item-E<gt>B<get_icon_size> 

=over

=back

=head2 boolean = $tool_item-E<gt>B<get_is_important> 

=over

=back

=head2 $tool_item-E<gt>B<set_is_important> ($is_important)

=over

=over

=item * $is_important (boolean) 

=back

=back

=head2 orientation = $tool_item-E<gt>B<get_orientation> 

=over

=back

=head2 widget = $tool_item-E<gt>B<get_proxy_menu_item> ($menu_item_id)

=over

=over

=item * $menu_item_id (string) 

=back

=back

=head2 $tool_item-E<gt>B<set_proxy_menu_item> ($menu_item_id, $menu_item)

=over

=over

=item * $menu_item_id (string) 

=item * $menu_item (Gtk2::Widget) 

=back

=back

=head2 $tool_item-E<gt>B<rebuild_menu> 

=over

=back

=head2 reliefstyle = $tool_item-E<gt>B<get_relief_style> 

=over

=back

=head2 widget = $tool_item-E<gt>B<retrieve_proxy_menu_item> 

=over

=back

=head2 toolbarstyle = $tool_item-E<gt>B<get_toolbar_style> 

=over

=back

=head2 $tool_item-E<gt>B<set_tooltip> ($tooltips, $tip_text, $tip_private)

=over

=over

=item * $tooltips (Gtk2::Tooltips) 

=item * $tip_text (string) 

=item * $tip_private (string) 

=back

=back

=head2 boolean = $toolitem-E<gt>B<get_use_drag_window> 

=over

=back

=head2 $toolitem-E<gt>B<set_use_drag_window> ($use_drag_window)

=over

=over

=item * $use_drag_window (boolean) 

=back

=back

=head2 boolean = $toolitem-E<gt>B<get_visible_horizontal> 

=over

=back

=head2 $toolitem-E<gt>B<set_visible_horizontal> ($visible_horizontal)

=over

=over

=item * $visible_horizontal (boolean) 

=back

=back

=head2 boolean = $toolitem-E<gt>B<get_visible_vertical> 

=over

=back

=head2 $toolitem-E<gt>B<set_visible_vertical> ($visible_vertical)

=over

=over

=item * $visible_vertical (boolean) 

=back

=back


=head1 PROPERTIES

=over

=item 'is-important' (boolean : readable / writable)

Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode

=item 'visible-horizontal' (boolean : readable / writable)

Whether the toolbar item is visible when the toolbar is in a horizontal orientation.

=item 'visible-vertical' (boolean : readable / writable)

Whether the toolbar item is visible when the toolbar is in a vertical orientation.

=back


=head1 SIGNALS

=over

=item boolean = B<create-menu-proxy> (Gtk2::ToolItem)

=item B<toolbar-reconfigured> (Gtk2::ToolItem)

=item boolean = B<set-tooltip> (Gtk2::ToolItem, Gtk2::Tooltips, string, string)

=back


=head1 ENUMS AND FLAGS

=head2 flags Gtk2::Gdk::EventMask

=over

=item * 'exposure-mask' / 'GDK_EXPOSURE_MASK'

=item * 'pointer-motion-mask' / 'GDK_POINTER_MOTION_MASK'

=item * 'pointer-motion-hint-mask' / 'GDK_POINTER_MOTION_HINT_MASK'

=item * 'button-motion-mask' / 'GDK_BUTTON_MOTION_MASK'

=item * 'button1-motion-mask' / 'GDK_BUTTON1_MOTION_MASK'

=item * 'button2-motion-mask' / 'GDK_BUTTON2_MOTION_MASK'

=item * 'button3-motion-mask' / 'GDK_BUTTON3_MOTION_MASK'

=item * 'button-press-mask' / 'GDK_BUTTON_PRESS_MASK'

=item * 'button-release-mask' / 'GDK_BUTTON_RELEASE_MASK'

=item * 'key-press-mask' / 'GDK_KEY_PRESS_MASK'

=item * 'key-release-mask' / 'GDK_KEY_RELEASE_MASK'

=item * 'enter-notify-mask' / 'GDK_ENTER_NOTIFY_MASK'

=item * 'leave-notify-mask' / 'GDK_LEAVE_NOTIFY_MASK'

=item * 'focus-change-mask' / 'GDK_FOCUS_CHANGE_MASK'

=item * 'structure-mask' / 'GDK_STRUCTURE_MASK'

=item * 'property-change-mask' / 'GDK_PROPERTY_CHANGE_MASK'

=item * 'visibility-notify-mask' / 'GDK_VISIBILITY_NOTIFY_MASK'

=item * 'proximity-in-mask' / 'GDK_PROXIMITY_IN_MASK'

=item * 'proximity-out-mask' / 'GDK_PROXIMITY_OUT_MASK'

=item * 'substructure-mask' / 'GDK_SUBSTRUCTURE_MASK'

=item * 'scroll-mask' / 'GDK_SCROLL_MASK'

=item * 'all-events-mask' / 'GDK_ALL_EVENTS_MASK'

=back



=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>, L<Gtk2::Object>, L<Gtk2::Widget>, L<Gtk2::Container>, L<Gtk2::Bin>

=head1 COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

