The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tickit::Widget::Table::Row - implementation of a table row

VERSION

version 0.101

DESCRIPTION

Implements a row. Nothing particularly exciting here, see method documentation and "DESCRIPTION" in Tickit::Widget::Table.

METHODS

new

Takes the following named parameters:

remove

Remove this row and all the cells within it.

Returns $self.

table

Accessor for the containing Tickit::Widget::Table.

selected

Get or set the selection status for this row.

cell_type

Default expected cell type for entries in this row.

Typically either Tickit::Widget::Table::Cell or Tickit::Widget::Table::HeaderCell. Overridden in the Tickit::Widget::Table::HeaderRow subclass.

add_column

Add a new column to the end of the row. You'd think that maybe there would be a way to add a column in a different position but no, raise an RT if this is a problem.

cell

Returns the cell at the given index.

reposition_cursor

Move cursor to home position.

update_highlight_style

Ensure all cells are correctly updated on highlight change.

INHERITED METHODS

Tickit::Widget::HBox

get_child_base, get_total_quota, set_child_window

Tickit::Widget::LinearBox

add, child_opts, children, render_to_rb, reshape, set_child, set_child_opts

Tickit::ContainerWidget

child_resized, children_changed, find_child, focus_next, window_lost

Tickit::Widget

get_style_pen, get_style_text, get_style_values, key_focus_next_after, key_focus_next_before, on_pen_changed, parent, pen, redraw, resized, set_parent, set_pen, set_style, set_style_tag, set_window, style_classes, take_focus, window, window_gained

Tickit::Widget::Table::Highlight

action, activate, can_highlight, highlighted, is_highlighted, is_selected

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2011-2013. Licensed under the same terms as Perl itself.