Kevin Ryde > Gtk2-Ex-WidgetBits-48 > Gtk2::Ex::ToolbarBits

Download:
Gtk2-Ex-WidgetBits-48.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 48   Source  

NAME ^

Gtk2::Ex::ToolbarBits -- helpers for Gtk2::Toolbar objects

SYNOPSIS ^

 use Gtk2::Ex::ToolbarBits;

FUNCTIONS ^

Gtk2::Ex::ToolbarBits::move_item_after ($toolbar, $item, $after_item)

Move $item to immediately after $after_item within $toolbar.

There's no native move operation in Gtk2::Toolbar so this is done by a remove and re-insert, if $item isn't already in the right position.

EXPORTS ^

Nothing is exported by default, but the functions can be requested in usual Exporter style,

    use Gtk2::Ex::ToolbarBits 'move_item_after';
    move_item_after ($toolbar, $item, $after_item);

There's no :all tag since this module is meant as a grab-bag of functions and to import as-yet unknown things would be asking for name clashes.

SEE ALSO ^

Gtk2::Toolbar, Gtk2::Ex::WidgetBits

HOME PAGE ^

http://user42.tuxfamily.org/gtk2-ex-widgetbits/index.html

LICENSE ^

Copyright 2010, 2011, 2012 Kevin Ryde

Gtk2-Ex-WidgetBits is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

Gtk2-Ex-WidgetBits is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Gtk2-Ex-WidgetBits. If not, see http://www.gnu.org/licenses/.

syntax highlighting: