5#ifndef _FL_TREE_ITEM_ARRAY_H 
    6#define _FL_TREE_ITEM_ARRAY_H 
   52#if FLTK_ABI_VERSION >= 10303 
   58  void enlarge(
int count);
 
   76#if FLTK_ABI_VERSION >= 10301 
   78  void swap(
int ax, 
int bx);
 
   81  void swap(
int ax, 
int bx) {
 
   83    _items[ax] = _items[bx];
 
   87  int move(
int to, 
int from);
 
   88  int deparent(
int pos);
 
   89  int reparent(Fl_Tree_Item *item, Fl_Tree_Item *newparent, 
int pos);
 
   91  void add(Fl_Tree_Item *val);
 
   92  void insert(
int pos, Fl_Tree_Item *new_item);
 
   93  void replace(
int pos, Fl_Tree_Item *new_item);
 
   94  void remove(
int index);
 
   95  int  remove(Fl_Tree_Item *item);
 
   96#if FLTK_ABI_VERSION >= 10303 
  101    if ( val ) _flags |= MANAGE_ITEM; 
else _flags &= ~MANAGE_ITEM;
 
 
  103  int manage_item_destroy()
 const {
 
  104    return _flags & MANAGE_ITEM ? 1 : 0;
 
 
void manage_item_destroy(int val)
Option to control if Fl_Tree_Item_Array's destructor will also destroy the Fl_Tree_Item's.
Definition Fl_Tree_Item_Array.H:100
int total() const
Return the total items in the array, or 0 if empty.
Definition Fl_Tree_Item_Array.H:72
Fl_Tree_Item * operator[](int i)
Return the item and index i.
Definition Fl_Tree_Item_Array.H:64
Fl_Tree_Item_Array(int new_chunksize=10)
Constructor; creates an empty array.
Definition Fl_Tree_Item_Array.cxx:35
const Fl_Tree_Item * operator[](int i) const
Const version of operator[](int i)
Definition Fl_Tree_Item_Array.H:68
Tree widget item.
Definition Fl_Tree_Item.H:67