Jeffrey Ray Hallock > Gapp-0.47.5 > Gapp::Action

Download:
Gapp-0.47.5.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Gapp-0.60

NAME ^

Gapp::Action - Action object

DESCRIPTION ^

Actions are callbacks that know how to display themselves on Gapp widgets. See Gapp::Actions for more information.

OBJECT HIERARCHY ^

Gapp::Action

PROVIDED ATTRIBUTES ^

code
is rw
isa CodeRef

The code-block to be executed.

icon
is rw
isa Str

The stock id of the icon to apply to the widget.

label
is rw
isa Str

The text label to apply to the widget.

name
is rw
isa Str

The name of the action.

tooltip
is rw
isa Str

The tooltip to apply to the widget.

PROVIDED METHODS

create_gtk_action

Creates and returns a Gtk2::Action object.

create_gapp_image $size

Creates and returns a Gapp::Image object.

create_gtk_image $size

Creates and returns a Gtk2::Image object.

AUTHORS ^

Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>

COPYRIGHT & LICENSE ^

    Copyright (c) 2011-2012 Jeffrey Ray Hallock.

    This program is free software; you can redistribute it and/or
    modify it under the same terms as Perl itself.
syntax highlighting: