Tk-TableMatrix

 view release on metacpan or  search on metacpan

pod/TableMatrix.pod  view on Meta::CPAN

is used as a glob pattern to show only tags matching that pattern. 
Tag names are returned in priority order
(highest priority tag first).

=item I<$table>-E<gt>B<tagRaise>(I<tagName, ?aboveThis?>)

Raise the priority of the named tag.  If I<aboveThis> is not specified,
then the tag's priority is raised to the top, otherwise it is raised to
one above I<aboveThis>.


=item I<$table>-E<gt>B<tagRow>(I<tagName, ?row, ...?>)

With no arguments, prints out the list of rows that use the I<tag>.
Otherwise it sets the specified columns to use the named tag, replacing any
tag that may have been set using this method before.  If I<tagName> is
'', the rows are reset to use the default tag.  Tags added during
-rowtagcommand evaluation do not register here.  If I<tagName> does
not exist, it will be created with the default options.

=back

=over 1

=item I<$table>-E<gt>B<validate>(I<index>)

Explicitly validates the specified index based on the 
current B<-validatecommand> and returns 0 or 1 based on whether the cell 
was validated. 


=item I<$table>-E<gt>B<window>(option, ?I<arg, arg, ...>?)

This command is used to 
manipulate embedded windows.  The exact behavior of the command depends 
on the I<option> argument that follows the B<window> argument.  The following 
forms of the command are currently supported:  

=back

=over 2

=item I<$table>-E<gt>B<windowCget>(I<index, option>)

This command returns the current value of the option named I<option> associated with the window given by I<index>.  I<Option> may have any of the 
values accepted by the B<window configure> widget command. 

=item I<$table>-E<gt>B<windowConfigure>(I<index>, ?I<option>?, ?I<value>?, ?I<option, value, ...>?)

This command is 
similar to the B<configure> widget command except that it modifies options 
associated with the embedded window given by I<index> instead of modifying 
options for the overall table widget.  If no I<option> is specified, the 
command returns a list describing all of the available options for I<index 
> (see B<Tk_ConfigureInfo> for information on the format of this list).  If 
I<option> is specified with no I<value>, then the command returns a list describing 
the one named option (this list will be identical to the corresponding 
sublist of the value returned if no I<option> is specified).  If one or more 
I<option-value> pairs are specified, then the command modifies the given 
option(s) to have the given value(s) in I<index>; in this case the command 
returns an empty string. See EMBEDDED WINDOWS above for details on the 
options available for windows. 

=item I<$table>-E<gt>B<windowDelete>(I<index>, ?I<index, ...>?)

Deletes an embedded window from the table.  The associated window will 
also be deleted. 

=item I<$table>-E<gt>B<windowMove>(I<indexFrom, indexTo>)

Moves an embedded 
window from one cell to another.  If a window already exists in the target 
cell, it will be deleted. 

=item I<$table>-E<gt>B<windowNames>(?I<pattern>?)

If no pattern 
is specified, shows the cells of all embedded windows. Otherwise the I<pattern> is used as a glob pattern to show only cells matching that pattern.  

=back

=over 1

=item I<$table>-E<gt>B<xview>(I<args>)

This command is used to query and change the horizontal position 
of the information in the widget's window.  It can take any of the following 
forms:  

=item I<$table>-E<gt>B<xview>()

Returns a list containing two elements. Each element 
is a real fraction between 0 and 1;  together they describe the horizontal 
span that is visible in the window. For example, if the first element is 
.2 and the second element is .6, 20% of the table's text is off-screen to 
the left, the middle 40% is visible in the window, and 40% of the text 
is off-screen to the right. These are the same values passed to scrollbars 
via the B<-xscrollcommand> option. 

=item I<$table>-E<gt>B<xview>(I<index>)

Adjusts the view 
in the window so that the column given by I<index> is displayed at the left 
edge of the window. 

=item I<$table>-E<gt>B<xviewMoveto>(I<fraction>)

Adjusts the view in 
the window so that I<fraction> of the total width of the table text is off-screen 
to the left. I<fraction> must be a fraction between 0 and 1. 

=item I<$table>-E<gt>B<xviewScroll>(I<number, what>)

This command shifts the view in the window left or 
right according to I<number> and I<what>. I<Number> must be an integer. I<What> 
must be either B<units> or B<pages> or an abbreviation of one of these. If 
I<what> is B<units>, the view adjusts left or right by I<number> cells  
on the display;  if it is B<pages> then 
the view adjusts by I<number> screenfuls. If I<number> is negative then cells 
farther to the left become visible;  if it is positive then cells 
farther to the right become visible.  



( run in 0.489 second using v1.01-cache-2.11-cpan-71847e10f99 )