From f5f624fd78421dbeb15fdda489caed6f210c730f Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Mon, 27 Jan 2025 15:27:42 +1300 Subject: Added Fl_Table_Row --- doc/fl_table_row.html | 231 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 doc/fl_table_row.html (limited to 'doc/fl_table_row.html') diff --git a/doc/fl_table_row.html b/doc/fl_table_row.html new file mode 100644 index 0000000..9bfbf64 --- /dev/null +++ b/doc/fl_table_row.html @@ -0,0 +1,231 @@ + + + + + + Fl_Table_Row Binding Map + + + + + + +

Fl_Table_Row Binding Map

+ + +Back to Index + + + + + + + + + + +
Package name
Fl_Table_RowFLTK.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_RowRow_Table
 Row_Table_Reference
TableRowSelectModeRow_Select_Mode
intSelection_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;
+
+ + + + + -- cgit