Tickit::Widget::Table::Cell - cells in a Tickit::Widget::Table.
version 0.100
Not intended for direct use - see Tickit::Widget::Table.
Delegates to the Tickit::Widget::Column which should have a better idea of the total columns for this cell.
Left position to start writing text at.
Pass our window on to the child widget if we have one.
Remove the child widget window.
Either render through the parent class or delegate to our widget.
Value to use when displaying this cell. Probably the text content.
Returns the number of columns our current value will require.
Accessor for the Tickit::Widget::Table::Column this cell resides in.
Accessor for the Tickit::Widget::Table::Row this cell resides in.
Accessor for the Tickit::Widget::Table this cell resides in.
Instantiate a new cell.
Takes the following named parameters:
table - the Tickit::Widget::Table which will hold this cell
row - the Tickit::Widget::Row which will hold this cell
column - the Tickit::Widget::Column which will hold this cell
content (optional) - content, either a string or a Tickit::Widget subclass
Returns the new cell.
Change the Tickit::Widget::Table for this cell.
Returns $self.
Change the Tickit::Widget::Table::Column for this cell.
Change the Tickit::Widget::Table::Row for this cell.
Accessor/mutator for the action that should be performed when this cell is activated. This would be by way of being a coderef.
lines, on_mouse, set_on_click, set_text, text
get_style_pen, get_style_text, get_style_values, key_focus_next_after, key_focus_next_before, on_pen_changed, parent, pen, redraw, reshape, resized, set_parent, set_pen, set_style, set_style_tag, set_window, style_classes, take_focus, window
activate, can_highlight, highlighted, is_highlighted, is_selected
Tom Molesworth <cpan@entitymodel.com>
Copyright Tom Molesworth 2011. Licensed under the same terms as Perl itself.
To install Tickit::Widget::Table, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tickit::Widget::Table
CPAN shell
perl -MCPAN -e shell install Tickit::Widget::Table
For more information on module installation, please visit the detailed CPAN module installation guide.