ManaTools::Shared::GUI::ActionList

Section: User Contributed Perl Documentation (3)
Updated: 2017-07-06
Page Index
 

NAME

ManaTools::Shared::GUI::ActionList - Class to visualize ActionsRole  

SYNOPSIS

package FooActions;

with 'ManaTools::Shared::ActionsRole';

...

use ManaTools::Shared::GUI::ActionList;

my $hbox = ... my $foo = FooActions->new(); my $actionlist = ManaTools::Shared::GUI::ActionList->new(parentWidget => $hbox, actions => $foo); $foo->add_action('bar', sub {...}); $actionlist->refresh(); ...  

DESCRIPTION

This class is a GUI helper for ActionsRole classes  

SUPPORT

You can find documentation for this module with the perldoc command:

perldoc ManaTools::Shared::GUI::ActionList  

AUTHOR

Maarten Vanraes <alien@rmail.be>  

COPYRIGHT and LICENSE

Copyright (C) 2015-2016, Maarten Vanraes.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation.

This program 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 this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA  

FUNCTIONS

 

new

INPUT

    hash ref containing
        parentWidget: the parent widget
        properties: the properties object

DESCRIPTION

    new is inherited from Moose, to create a ActionList object

 

refresh

INPUT

    $self: this object

DESCRIPTION

    rebuilds the properties


 

Index

NAME
SYNOPSIS
DESCRIPTION
SUPPORT
AUTHOR
COPYRIGHT and LICENSE
FUNCTIONS
new
refresh