| Package name | |
|---|---|
| Fl_Table_Row | FLTK.Widgets.Groups.Tables.Row |
Note:
This Table type should really be abstract but cannot be for technical binding reasons.
If you try to use it directly you will get issues with the draw_cell method since
it inherits that from Fl_Table with no change. Either extend it and override that
subprogram or use types already extended from it.
| Types | |
|---|---|
| Fl_Table_Row | Row_Table |
| Row_Table_Reference | |
| TableRowSelectMode | Row_Select_Mode |
| int | Selection_State |
| Constructors | |
|---|---|
Fl_Table_Row(int X, int Y, int W, int H, const char *l=0); |
function Create
(X, Y, W, H : in Integer;
Text : in String := "")
return Row_Table;
|
| Rely on the automatic use of begin when a group is created, or use begin/end explicitly, or add each widget to its intended parent group manually. |
function Create
(Parent : in out Groups.Group'Class;
X, Y, W, H : in Integer;
Text : in String := "")
return Row_Table;
|
| Functions and Procedures | |
|---|---|
void clear(); |
procedure Clear
(This : in out Row_Table);
|
int row_selected(int row); |
function Is_Row_Selected
(This : in Row_Table;
Row : in Positive)
return Boolean;
|
int rows(); |
function Get_Rows
(This : in Row_Table)
return Natural;
|
void rows(int val); |
procedure Set_Rows
(This : in out Row_Table;
Value : in Natural);
|
void select_all_rows(int flag=1); |
procedure Select_All_Rows
(This : in out Row_Table;
Value : in Selection_State := Selected);
|
int select_row(int row, int flag=1); |
procedure Select_Row
(This : in out Row_Table;
Row : in Positive;
Value : in Selection_State := Selected);
function Select_Row
(This : in out Row_Table;
Row : in Positive;
Value : in Selection_State := Selected)
return Boolean;
|
TableRowSelectMode type() const; |
function Get_Row_Select_Mode
(This : in Row_Table)
return Row_Select_Mode;
|
void type(TableRowSelectMode val); |
procedure Set_Row_Select_Mode
(This : in out Row_Table;
Value : in Row_Select_Mode);
|
| Protected Functions and Procedures | |
|---|---|
int find_cell(TableContext context, int R, int C,
int &X, int &Y, int &W, int &H);
|
procedure Cell_Dimensions
(This : in Row_Table;
Context : in Table_Context;
Row, Column : in Positive;
X, Y, W, H : out Integer);
|
int handle(int event); |
function Handle
(This : in out Row_Table;
Event : in Event_Kind)
return Event_Outcome;
|