=head1 NAME

Gtk2::UIManager

=head1 HIERARCHY

  Glib::Object
  +----Gtk2::UIManager

=head1 INTERFACES

  Gtk2::Buildable


=head1 METHODS

=head2 uimanager = Gtk2::UIManager-E<gt>B<new> 

=over

=back

=head2 integer = $self-E<gt>B<new_merge_id> 

=over

=back

=head2 accelgroup = $self-E<gt>B<get_accel_group> 

=over

=back

=head2 action = $self-E<gt>B<get_action> ($path)

=over

=over

=item * $path (string) 

=back

=back

=head2 list = $self-E<gt>B<get_action_groups> 

=over

=back

=head2 boolean = $self-E<gt>B<get_add_tearoffs> 

=over

=back

=head2 $self-E<gt>B<set_add_tearoffs> ($add_tearoffs)

=over

=over

=item * $add_tearoffs (boolean) 

=back

=back

=head2 $self-E<gt>B<add_ui> ($merge_id, $path, $name, $action, $type, $top)

=over

=over

=item * $merge_id (integer) 

=item * $path (string) 

=item * $name (string) 

=item * $action (string or undef) 

=item * $type (Gtk2::UIManagerItemType) 

=item * $top (boolean) 

=back

=back

=head2 integer = $self-E<gt>B<add_ui_from_file> ($filename)

=over

=over

=item * $filename (string) 

=back



May croak with a L<Glib::Error> in $@ on failure.

=back

=head2 integer = $self-E<gt>B<add_ui_from_string> ($buffer)

=over

=over

=item * $buffer (string) 

=back



May croak with a L<Glib::Error> in $@ on failure.

=back

=head2 $self-E<gt>B<ensure_update> 

=over

=back

=head2 $self-E<gt>B<insert_action_group> ($action_group, $pos)

=over

=over

=item * $action_group (Gtk2::ActionGroup) 

=item * $pos (integer) 

=back

=back

=head2 $self-E<gt>B<remove_action_group> ($action_group)

=over

=over

=item * $action_group (Gtk2::ActionGroup) 

=back

=back

=head2 $self-E<gt>B<remove_ui> ($merge_id)

=over

=over

=item * $merge_id (integer) 

=back

=back

=head2 list = $self-E<gt>B<get_toplevels> ($types)

=over

=over

=item * $types (Gtk2::UIManagerItemType) 

=back

=back

=head2 string = $self-E<gt>B<get_ui> 

=over

=back

=head2 widget = $self-E<gt>B<get_widget> ($path)

=over

=over

=item * $path (string) 

=back

=back


=head1 PROPERTIES

=over

=item 'add-tearoffs' (boolean : readable / writable / private)

Whether tearoff menu items should be added to menus

=item 'ui' (string : readable / private)

An XML string describing the merged UI

=back


=head1 SIGNALS

=over

=item B<add-widget> (Gtk2::UIManager, Gtk2::Widget)

=item B<actions-changed> (Gtk2::UIManager)

=item B<connect-proxy> (Gtk2::UIManager, Gtk2::Action, Gtk2::Widget)

=item B<disconnect-proxy> (Gtk2::UIManager, Gtk2::Action, Gtk2::Widget)

=item B<pre-activate> (Gtk2::UIManager, Gtk2::Action)

=item B<post-activate> (Gtk2::UIManager, Gtk2::Action)

=back


=head1 ENUMS AND FLAGS

=head2 flags Gtk2::UIManagerItemType

=over

=item * 'auto' / 'GTK_UI_MANAGER_AUTO'

=item * 'menubar' / 'GTK_UI_MANAGER_MENUBAR'

=item * 'menu' / 'GTK_UI_MANAGER_MENU'

=item * 'toolbar' / 'GTK_UI_MANAGER_TOOLBAR'

=item * 'placeholder' / 'GTK_UI_MANAGER_PLACEHOLDER'

=item * 'popup' / 'GTK_UI_MANAGER_POPUP'

=item * 'menuitem' / 'GTK_UI_MANAGER_MENUITEM'

=item * 'toolitem' / 'GTK_UI_MANAGER_TOOLITEM'

=item * 'separator' / 'GTK_UI_MANAGER_SEPARATOR'

=item * 'accelerator' / 'GTK_UI_MANAGER_ACCELERATOR'

=back



=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>

=head1 COPYRIGHT

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

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


=cut

