9 #include <FL/Fl_Group.H> 
   10 #include <FL/Fl_Scrollbar.H> 
  316 #if FLTK_ABI_VERSION >= 10301 
  317   FL_TREE_REASON_RESELECTED,    
 
  332 #if FLTK_ABI_VERSION >= 10301 
  338   void fix_scrollbar_order();
 
  342 #if FLTK_ABI_VERSION >= 10303 
  344   int _tox,_toy,_tow,_toh;      
 
  345   int _tix,_tiy,_tiw,_tih;      
 
  354 #if FLTK_ABI_VERSION >= 10303 
  364   Fl_Tree(
int X, 
int Y, 
int W, 
int H, 
const char *L=0);
 
  369   void resize(
int,
int,
int,
int);
 
  374   void root_label(
const char *new_label);
 
  382 #if FLTK_ABI_VERSION >= 10303 
  400   int item_pathname(
char *pathname, 
int pathnamelen, 
const Fl_Tree_Item *item) 
const;
 
  401 #if FLTK_ABI_VERSION >= 10303 
  417 #if FLTK_ABI_VERSION >= 10303 
  423 #if FLTK_ABI_VERSION >= 10303 
  435   int open(
const char *path, 
int docallback=1);
 
  438   int close(
const char *path, 
int docallback=1);
 
  440   int is_open(
const char *path) 
const;
 
  442   int is_close(
const char *path) 
const;
 
  448   int select(
const char *path, 
int docallback=1);
 
  451   int deselect(
const char *path, 
int docallback=1);
 
  453   int select_only(
Fl_Tree_Item *selitem, 
int docallback=1);
 
  460 #if FLTK_ABI_VERSION >= 10303 
  483   Fl_Font     item_labelfont() 
const;
 
  484   void        item_labelfont(
Fl_Font val);
 
  487   Fl_Color    item_labelfgcolor(
void) 
const;
 
  488   void        item_labelfgcolor(
Fl_Color val);
 
  489   Fl_Color    item_labelbgcolor(
void) 
const;
 
  490   void        item_labelbgcolor(
Fl_Color val);
 
  493   int marginleft() 
const;
 
  494   void marginleft(
int val);
 
  495   int margintop() 
const;
 
  496   void margintop(
int val);
 
  497 #if FLTK_ABI_VERSION >= 10301 
  498   int marginbottom() 
const;
 
  499   void marginbottom(
int val);
 
  501   int linespacing() 
const;
 
  502   void linespacing(
int val);
 
  503   int openchild_marginbottom() 
const;
 
  504   void openchild_marginbottom(
int val);
 
  505   int usericonmarginleft() 
const;
 
  506   void usericonmarginleft(
int val);
 
  507   int labelmarginleft() 
const;
 
  508   void labelmarginleft(
int val);
 
  509 #if FLTK_ABI_VERSION >= 10301 
  510   int widgetmarginleft() 
const;
 
  511   void widgetmarginleft(
int val);
 
  513   int connectorwidth() 
const;
 
  514   void connectorwidth(
int val);
 
  521   int showcollapse() 
const;
 
  522   void showcollapse(
int val);
 
  523   int showroot() 
const;
 
  524   void showroot(
int val);
 
  533 #if FLTK_ABI_VERSION >= 10301 
  534   Fl_Tree_Item_Reselect_Mode item_reselect_mode() 
const;
 
  535   void item_reselect_mode(Fl_Tree_Item_Reselect_Mode mode);
 
  536   Fl_Tree_Item_Draw_Mode item_draw_mode() 
const;
 
  537   void item_draw_mode(Fl_Tree_Item_Draw_Mode mode);
 
  538   void item_draw_mode(
int mode);
 
  540 #if FLTK_ABI_VERSION >= 10303 
  541   void calc_dimensions();
 
  552   int  vposition() 
const;
 
  553   void vposition(
int pos);
 
  554   int  hposition() 
const;
 
  555   void hposition(
int pos);
 
  558   int scrollbar_size() 
const;
 
  559   void scrollbar_size(
int size);
 
  560   int is_vscroll_visible() 
const;
 
  561   int is_hscroll_visible() 
const;
 
Fl_Tree_Item * next()
Return the next item in the tree. 
Definition: Fl_Tree_Item.cxx:1536
an item was opened 
Definition: Fl_Tree.H:319
void select(int val=1)
Change the item's selection state to the optionally specified 'val'. 
Definition: Fl_Tree_Item.H:333
Fl_Tree_Sort
Sort order options for items added to the tree. 
Definition: Fl_Tree_Prefs.H:49
Fl_Tree_Select
Tree selection style. 
Definition: Fl_Tree_Prefs.H:67
int visible() const 
See if the item is visible. Alias for is_visible(). 
Definition: Fl_Tree_Item.H:416
Tree widget. 
Definition: Fl_Tree.H:324
int deselect_all()
Deselect item and all its children. 
Definition: Fl_Tree_Item.H:367
an item was selected 
Definition: Fl_Tree.H:314
void open()
Open this item and all its children. 
Definition: Fl_Tree_Item.cxx:1494
void deselect()
Disable the item's selection state. 
Definition: Fl_Tree_Item.H:360
Fl_Image is the base class used for caching and drawing all kinds of images in FLTK. 
Definition: Fl_Image.H:52
int select_all()
Select item and all its children. 
Definition: Fl_Tree_Item.H:348
void close()
Close this item and all its children. 
Definition: Fl_Tree_Item.cxx:1504
void draw()
Draws the widget. 
Definition: Fl_Group.cxx:738
Fl_Boxtype
Definition: Enumerations.H:473
void clear()
Deletes all child widgets from memory recursively. 
Definition: Fl_Group.cxx:383
Fl_Tree_Reason
The reason the callback was invoked. 
Definition: Fl_Tree.H:312
Fl_Scrollbar * _vscroll
Vertical scrollbar. 
Definition: Fl_Tree.H:341
void insert(Fl_Widget &, int i)
The widget is removed from its current group (if any) and then inserted into this group...
Definition: Fl_Group.cxx:458
The Fl_Group class is the FLTK container widget. 
Definition: Fl_Group.H:41
an item was closed 
Definition: Fl_Tree.H:320
void select_toggle()
Toggle the item's selection state. 
Definition: Fl_Tree_Item.H:337
void add(Fl_Widget &)
The widget is removed from its current group (if any) and then added to the end of this group...
Definition: Fl_Group.cxx:491
int handle(int)
Handles the specified event. 
Definition: Fl_Group.cxx:147
Fl_Tree_Item * insert_above(const Fl_Tree_Prefs &prefs, const char *new_label)
Insert a new item named 'new_label' above this item. 
Definition: Fl_Tree_Item.cxx:443
void clear_children()
Clear all the children for this item. 
Definition: Fl_Tree_Item.cxx:202
int w() const 
The entire item's width to right edge of Fl_Tree's inner width within scrollbars. ...
Definition: Fl_Tree_Item.H:139
Fl_Tree_Item * prev()
Return the previous item in the tree. 
Definition: Fl_Tree_Item.cxx:1568
Fl_Preferences provides methods to store user settings between application starts. 
Definition: Fl_Preferences.H:60
#define FL_Down
The down arrow key. 
Definition: Enumerations.H:353
Fl_Tree_Connector
Defines the style of connection lines between items. 
Definition: Fl_Tree_Prefs.H:58
int is_close() const 
See if the item is 'closed'. 
Definition: Fl_Tree_Item.H:323
Fl_Image * usericon() const 
Get the item's user icon as an Fl_Image. Returns '0' if disabled. 
Definition: Fl_Tree_Item.H:431
void open_toggle()
Toggle the item's open/closed state. 
Definition: Fl_Tree_Item.H:327
const Fl_Tree_Item * find_item(char **arr) const 
Find item by descending array of 'names'. 
Definition: Fl_Tree_Item.cxx:280
int Fl_Fontsize
Size of a font in pixels. 
Definition: Enumerations.H:768
void resize(int, int, int, int)
Resizes the Fl_Group widget and all of its children. 
Definition: Fl_Group.cxx:634
an item was de-selected 
Definition: Fl_Tree.H:315
void recalc_tree()
Call this when our geometry is changed. 
Definition: Fl_Tree_Item.cxx:1770
utility header to pull drawing functions together 
unsigned int Fl_Color
An FLTK color value; see also Colors. 
Definition: Enumerations.H:796
Tree widget item. 
Definition: Fl_Tree_Item.H:67
int Fl_Font
A font number is an index into the internal font table. 
Definition: Enumerations.H:739
This file contains the definitions for Fl_Tree's preferences. 
Manages an array of Fl_Tree_Item pointers. 
Definition: Fl_Tree_Item_Array.H:47
an item was dragged into a new place 
Definition: Fl_Tree.H:321
Tree widget's preferences. 
Definition: Fl_Tree_Prefs.H:111
const Fl_Tree_Item * find_clicked(const Fl_Tree_Prefs &prefs) const 
Find the item that the last event was over. 
Definition: Fl_Tree_Item.cxx:823
This file contains the definitions for Fl_Tree_Item. 
char is_selected() const 
See if the item is selected. 
Definition: Fl_Tree_Item.H:379
void show_self(const char *indent="") const 
Print the tree as 'ascii art' to stdout. 
Definition: Fl_Tree_Item.cxx:160
unknown reason 
Definition: Fl_Tree.H:313
int is_open() const 
See if the item is 'open'. 
Definition: Fl_Tree_Item.H:319