From 66fba2bf75c5fc3deb2690a6a66cf504f47b7652 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Mon, 11 Nov 2024 13:32:57 +1300 Subject: Fl_Browser_ binding added --- doc/fl_browser_.html | 744 +++++++++++++++++++++++++++++++++++++++++++++++++++ doc/index.html | 3 +- 2 files changed, 746 insertions(+), 1 deletion(-) create mode 100644 doc/fl_browser_.html (limited to 'doc') diff --git a/doc/fl_browser_.html b/doc/fl_browser_.html new file mode 100644 index 0000000..d69d368 --- /dev/null +++ b/doc/fl_browser_.html @@ -0,0 +1,744 @@ + + + + + + + Fl_Browser_ Binding Map + + + + + + +

Fl_Browser_ Binding Map

+ + +Back to Index + + + + + + + + + + +
Package name
Fl_Browser_FLTK.Widgets.Groups.Browsers
+ +

Note:

+As the name suggests, you will likely never actually touch Abstract_Browser directly. +Only through using or creating types derived from it.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Types
Fl_Browser_Abstract_Browser
 Abstract_Browser_Reference
enum modeScrollbar_Mode
void *Item_Cursor
int flagsSort_Order
+ + + + + + + + + + + + + + + + +
Attributes
+Fl_Scrollbar hscrollbar;
+
+function H_Bar
+       (This : in out Abstract_Browser)
+    return Valuators.Sliders.Scrollbars.Scrollbar_Reference;
+
+Fl_Scrollbar scrollbar;
+
+function V_Bar
+       (This : in out Abstract_Browser)
+    return Valuators.Sliders.Scrollbars.Scrollbar_Reference;
+
+ + + + + + + + + + + +
Constructors
+Fl_Browser_(int X, int Y, int W, int H, const char *L=0);
+
+function Create
+       (X, Y, W, H : in Integer;
+        Text       : in String := "")
+    return Abstract_Browser;
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Functions and Procedures
+int deselect(int docallbacks=0);
+
+function Deselect
+       (This         : in out Abstract_Browser;
+        Do_Callbacks : in     Boolean := False)
+    return Boolean;
+
+void display(void *item);
+
+procedure Display
+       (This : in out Abstract_Browser;
+        Item : in     Item_Cursor);
+
+int handle(int event);
+
+function Handle
+       (This  : in out Abstract_Browser;
+        Event : in     Event_Kind)
+    return Event_Outcome;
+
+uchar has_scrollbar() const;
+
+function Get_Scrollbar_Mode
+       (This : in Abstract_Browser)
+    return Scrollbar_Mode;
+
+void has_scrollbar(uchar mode);
+
+procedure Set_Scrollbar_Mode
+       (This : in out Abstract_Browser;
+        Mode : in     Scrollbar_Mode);
+
+int hposition() const;
+
+function Get_H_Position
+       (This : in Abstract_Browser)
+    return Integer;
+
+void hposition(int);
+
+procedure Set_H_Position
+       (This  : in out Abstract_Browser;
+        Value : in     Integer);
+
+int position() const;
+
+function Get_V_Position
+       (This : in Abstract_Browser)
+    return Integer;
+
+void position(int pos);
+
+procedure Set_V_Position
+       (This  : in out Abstract_Browser;
+        Value : in     Integer);
+
+void resize(int X, int Y, int W, int H);
+
+procedure Resize
+       (This       : in out Abstract_Browser;
+        X, Y, W, H : in     Integer);
+
+void scrollbar_left();
+
+procedure Set_Vertical_Left
+       (This : in out Abstract_Browser);
+
+void scrollbar_right();
+
+procedure Set_Vertical_Right
+       (This : in out Abstract_Browser);
+
+int scrollbar_size() const;
+
+function Get_Scrollbar_Size
+       (This : in Abstract_Browser)
+    return Integer;
+
+void scrollbar_size(int newSize);
+
+procedure Set_Scrollbar_Size
+       (This  : in out Abstract_Browser;
+        Value : in     Integer);
+
+int scrollbar_width() const;
+
Deprecated, see scrollbar_size
+void scrollbar_width(int width);
+
Deprecated, see scrollbar_size
+int select(void *item, int val=1, int docallbacks=0);
+
+function Set_Select
+       (This         : in out Abstract_Browser;
+        Item         : in     Item_Cursor;
+        State        : in     Boolean := True;
+        Do_Callbacks : in     Boolean := False)
+    return Boolean;
+
+int select_only(void *item, int docallbacks=0);
+
+function Select_Only
+       (This         : in out Abstract_Browser;
+        Item         : in     Item_Cursor;
+        Do_Callbacks : in     Boolean := False)
+    return Boolean;
+
+void sort(int flags=0);
+
+procedure Sort
+       (This  : in out Abstract_Browser;
+        Order : in     Sort_Order);
+
+Fl_Color textcolor() const;
+
+function Get_Text_Color
+       (This : in Abstract_Browser)
+    return Color;
+
+void textcolor(Fl_Color col);
+
+procedure Set_Text_Color
+       (This  : in out Abstract_Browser;
+        Value : in     Color);
+
+Fl_Font textfont() const;
+
+function Get_Text_Font
+       (This : in Abstract_Browser)
+    return Font_Kind;
+
+void textfont(Fl_Font font);
+
+procedure Set_Text_Font
+       (This : in out Abstract_Browser;
+        Font : in     Font_Kind);
+
+Fl_Fontsize textsize() const;
+
+function Get_Text_Size
+       (This : in Abstract_Browser)
+    return Font_Size;
+
+void textsize(Fl_Fontsize newSize);
+
+procedure Set_Text_Size
+       (This : in out Abstract_Browser;
+        Size : in     Font_Size);
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Protected Functions and Procedures
+void bbox(int &X, int &Y, int &W, int &H) const;
+
+procedure Bounding_Box
+       (This       : in     Abstract_Browser;
+        X, Y, W, H :    out Integer);
+
+void deleting(void *item);
+
+procedure Deleting
+       (This : in out Abstract_Browser;
+        Item : in     Item_Cursor);
+
+int displayed(void *item) const;
+
+function Is_Displayed
+       (This : in Abstract_Browser;
+        Item : in Item_Cursor)
+    return Boolean;
+
+void draw();
+
+procedure Draw
+       (This : in out Abstract_Browser);
+
+void * find_item(int ypos);
+
+function Find_Item
+       (This  : in Abstract_Browser;
+        Y_Pos : in Integer)
+    return Item_Cursor;
+
+virtual int full_height() const;
+
+function Full_List_Height
+       (This : in Abstract_Browser)
+    return Integer;
+
+virtual int full_width() const;
+
+function Full_List_Width
+       (This : in Abstract_Browser)
+    return Integer;
+
+virtual int incr_height() const;
+
+function Average_Item_Height
+       (This : in Abstract_Browser)
+    return Integer;
+
+void inserting(void *a, void *b);
+
+procedure Inserting
+       (This : in out Abstract_Browser;
+        A, B : in     Item_Cursor);
+
+virtual void * item_at(int index) const;
+
+function Item_At
+       (This  : in Abstract_Browser;
+        Index : in Positive)
+    return Item_Cursor;
+
+virtual void item_draw(void *item,
+    int X, int Y, int W, int H) const =0;
+
+procedure Item_Draw
+       (This       : in Abstract_Browser;
+        Item       : in Item_Cursor;
+        X, Y, W, H : in Integer);
+
+virtual void * item_first() const =0;
+
+function Item_First
+       (This : in Abstract_Browser)
+    return Item_Cursor;
+
+virtual int item_height(void *item) const =0;
+
+function Item_Height
+       (This : in Abstract_Browser;
+        Item : in Item_Cursor)
+    return Integer;
+
+virtual void * item_last() const;
+
+function Item_Last
+       (This : in Abstract_Browser)
+    return Item_Cursor;
+
+virtual void * item_next(void *item) const =0;
+
+function Item_Next
+       (This : in Abstract_Browser;
+        Item : in Item_Cursor)
+    return Item_Cursor;
+
+virtual void * item_prev(void *item) const =0;
+
+function Item_Previous
+       (This : in Abstract_Browser;
+        Item : in Item_Cursor)
+    return Item_Cursor;
+
+virtual int item_quick_height(void *item) const;
+
+function Item_Quick_Height
+       (This : in Abstract_Browser;
+        Item : in Item_Cursor)
+    return Integer;
+
+virtual void item_select(void *item, int val=1);
+
+procedure Item_Select
+       (This  : in out Abstract_Browser;
+        Item  : in     Item_Cursor;
+        State : in     Boolean := True);
+
+virtual int item_selected(void *item) const;
+
+function Item_Selected
+       (This : in Abstract_Browser;
+        Item : in Item_Cursor)
+    return Boolean;
+
+virtual void item_swap(void *a, void *b);
+
+procedure Item_Swap
+       (This : in out Abstract_Browser;
+        A, B : in     Item_Cursor);
+
+virtual const char * item_text(void *item) const;
+
+function Item_Text
+       (This : in Abstract_Browser;
+        Item : in Item_Cursor)
+    return String;
+
+virtual int item_width(void *item) const =0;
+
+function Item_Width
+       (This : in Abstract_Browser;
+        Item : in Item_Cursor)
+    return Integer;
+
+int leftedge() const;
+
+function Left_Edge
+       (This : in Abstract_Browser)
+    return Integer;
+
+void new_list();
+
+procedure New_List
+       (This : in out Abstract_Browser);
+
+void redraw_line(void *item);
+
+procedure Redraw_Line
+       (This : in out Abstract_Browser;
+        Item : in     Item_Cursor);
+
+void redraw_lines();
+
+procedure Redraw_List
+       (This : in out Abstract_Browser);
+
+void replacing(void *a, void *b);
+
+procedure Replacing
+       (This : in out Abstract_Browser;
+        A, B : in     Item_Cursor);
+
+void * selection() const;
+
+function Current_Selection
+       (This : in Abstract_Browser)
+    return Item_Cursor;
+
+void swapping(void *a, void *b);
+
+procedure Swapping
+       (This : in out Abstract_Browser;
+        A, B : in     Item_Cursor);
+
+void * top() const;
+
+function Top_Item
+       (This : in Abstract_Browser)
+    return Item_Cursor;
+
+ + + + + + diff --git a/doc/index.html b/doc/index.html index 89e6a49..49e17b1 100644 --- a/doc/index.html +++ b/doc/index.html @@ -25,7 +25,7 @@
  • Fl_BMP_Image
  • Fl_Box
  • Fl_Browser
  • -
  • Fl_Browser_
  • +
  • Fl_Browser_
  • Fl_Button
  • Fl_Cairo_Window
  • Fl_Chart
  • @@ -184,6 +184,7 @@
  • FLTK.Widgets.Clocks.Updated
  • FLTK.Widgets.Clocks.Updated.Round
  • FLTK.Widgets.Groups
  • +
  • FLTK.Widgets.Groups.Browsers
  • FLTK.Widgets.Groups.Color_Choosers
  • FLTK.Widgets.Groups.Help_Views
  • FLTK.Widgets.Groups.Input_Choices
  • -- cgit