Kevin Ryde > chart > App::Chart::Gtk2::Ex::CellRendererButton

Download:
chart-249.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  16
Open  3
View/Report Bugs
Source  

NAME ^

App::Chart::Gtk2::Ex::CellRendererButton -- date cell renderer with DateSpinner for editing

SYNOPSIS ^

 use App::Chart::Gtk2::Ex::CellRendererButton;
 my $renderer = App::Chart::Gtk2::Ex::CellRendererButton->new;

 $treeviewcolumn->pack_start ($renderer, 0);
 $treeviewcolumn->add_attribute ($renderer, text => 0);

 $renderer->signal_connect (clicked => sub { some_code() });

WIDGET HIERARCHY ^

App::Chart::Gtk2::Ex::CellRendererButton is a subclass of Gtk2::CellRendererText.

    Gtk2::Object
      Gtk2::CellRenderer
        Gtk2::CellRendererText
          App::Chart::Gtk2::Ex::CellRendererButton

DESCRIPTION ^

CellRendererButton ...

FUNCTIONS ^

$renderer = App::Chart::Gtk2::Ex::CellRendererButton->new (key=>value,...)

Create and return a new CellRendererButton object. Optional key/value pairs set initial properties as per Glib::Object->new. Eg.

    my $renderer = App::Chart::Gtk2::Ex::CellRendererButton->new;

SEE ALSO ^

Gtk2::CellRenderer

syntax highlighting: