# Class GTKCTree

### Class-Hierarchy:

        NSObject
          |
          +---GTK
    	    |
    	    +---GTKObject
    		  |
    		  +---GTKWidget
    			|
    			+---GTKContainer
    			      |
    			      +---GTKCList
    				    |
    				    +---GTKCTree

## Class GTKCTree inherits from GTKCList

Last modified: 3.1.2001 (GToolKit/GToolKit.m)

## Method Index

+ (id) cTreeWithColumns:(gint) columns treeColumn:(gint) tree_column
+ (id) cTreeWithTitles:(gint) columns treeColumn:(gint) tree_column titles:(NSArray *) titles
+ (GtkType) getType
- (void) collapse:(GtkCTreeNode *) node
- (void) collapse:(GtkCTreeNode *) node toDepth:(gint) depth
- (void) collapseRecursive:(GtkCTreeNode *) node
- (void) expand:(GtkCTreeNode *) node
- (void) expand:(GtkCTreeNode *) node toDepth:(gint) depth
- (void) expandRecursive:(GtkCTreeNode *) node
- (GNode *) exportToGnode:(GNode *) parent sibling:(GNode *) sibling node:(GtkCTreeNode *) node func:(GtkCTreeGNodeFunc) func data:(gpointer) data
- (gboolean) find:(GtkCTreeNode *) node child:(GtkCTreeNode *) child
- (GList *) findAllByRow:(GtkCTreeNode *) node data:(gpointer) data
- (GList *) findAllByRowDataCustom:(GtkCTreeNode *) node data:(gpointer) data func:(GCompareFunc) func
- (GtkCTreeNode *) findByRow:(GtkCTreeNode *) node data:(gpointer) data
- (GtkCTreeNode *) findByRowDataCustom:(GtkCTreeNode *) node data:(gpointer) data func:(GCompareFunc) func
- (GtkCTreeNode *) findNodePtr:(GtkCTreeRow *) ctree_row
- (gint) getNodeInfo:(GtkCTreeNode *) node text:(NSString **) text spacing:(guint8 *) spacing pixmapClosed:(GdkPixmap **) pixmap_closed maskClosed:(GdkBitmap **) mask_closed pixmapOpened:(GdkPixmap **) pixmap_opened maskOpened:(GdkBitmap **) mask_opened isLeaf:(gboolean *) is_leaf expanded:(gboolean *) expanded
- (id) initWithColumns:(gint) columns treeColumn:(gint) tree_column
- (id) initWithTitles:(gint) columns treeColumn:(gint) tree_column titles:(NSArray *) titles
- (GtkCTreeNode *) insertGnode:(GtkCTreeNode *) parent sibling:(GtkCTreeNode *) sibling gnode:(GNode *) gnode func:(GtkCTreeGNodeFunc) func data:(gpointer) data
- (GtkCTreeNode *) insertNode:(GtkCTreeNode *) parent sibling:(GtkCTreeNode *) sibling text:(NSArray *) text spacing:(guint8) spacing pixmapClosed:(GdkPixmap *) pixmap_closed maskClosed:(GdkBitmap *) mask_closed pixmapOpened:(GdkPixmap *) pixmap_opened maskOpened:(GdkBitmap *) mask_opened isLeaf:(gboolean) is_leaf expanded:(gboolean) expanded
- (gboolean) isAncestor:(GtkCTreeNode *) node child:(GtkCTreeNode *) child
- (gboolean) isHotSpot:(gint) x y:(gint) y
- (gboolean) isViewable:(GtkCTreeNode *) node
- (GtkCTreeNode *) last:(GtkCTreeNode *) node
- (void) move:(GtkCTreeNode *) node newParent:(GtkCTreeNode *) new_parent newSibling:(GtkCTreeNode *) new_sibling
- (GTKStyle *) nodeGetCellStyle:(GtkCTreeNode *) node column:(gint) column
- (GtkCellType) nodeGetCellType:(GtkCTreeNode *) node column:(gint) column
- (gint) nodeGetPixmap:(GtkCTreeNode *) node column:(gint) column pixmap:(GdkPixmap **) pixmap mask:(GdkBitmap **) mask
- (gint) nodeGetPixtext:(GtkCTreeNode *) node column:(gint) column text:(NSString **) text spacing:(guint8 *) spacing pixmap:(GdkPixmap **) pixmap mask:(GdkBitmap **) mask
- (gpointer) nodeGetRowData:(GtkCTreeNode *) node
- (GTKStyle *) nodeGetRowStyle:(GtkCTreeNode *) node
- (gboolean) nodeGetSelectable:(GtkCTreeNode *) node
- (gint) nodeGetText:(GtkCTreeNode *) node column:(gint) column text:(NSString **) text
- (GtkVisibility) nodeIsVisible:(GtkCTreeNode *) node
- (void) nodeMoveto:(GtkCTreeNode *) node column:(gint) column rowAlign:(gfloat) row_align colAlign:(gfloat) col_align
- (GtkCTreeNode *) nodeNth:(guint) row
- (void) nodeSet:(GtkCTreeNode *) node selectable:(gboolean) selectable
- (void) nodeSetBackground:(GtkCTreeNode *) node color:(GdkColor *) color
- (void) nodeSetCellStyle:(GtkCTreeNode *) node column:(gint) column style:(GTKStyle *) style
- (void) nodeSetForeground:(GtkCTreeNode *) node color:(GdkColor *) color
- (void) nodeSetPixmap:(GtkCTreeNode *) node column:(gint) column pixmap:(GdkPixmap *) pixmap mask:(GdkBitmap *) mask
- (void) nodeSetPixtext:(GtkCTreeNode *) node column:(gint) column text:(NSString *) text spacing:(guint8) spacing pixmap:(GdkPixmap *) pixmap mask:(GdkBitmap *) mask
- (void) nodeSetRow:(GtkCTreeNode *) node data:(gpointer) data
- (void) nodeSetRow:(GtkCTreeNode *) node style:(GTKStyle *) style
- (void) nodeSetRowDataFull:(GtkCTreeNode *) node data:(gpointer) data destroy:(GtkDestroyNotify) destroy
- (void) nodeSetShift:(GtkCTreeNode *) node column:(gint) column vertical:(gint) vertical horizontal:(gint) horizontal
- (void) nodeSetText:(GtkCTreeNode *) node column:(gint) column text:(NSString *) text
- (void) postRecursive:(GtkCTreeNode *) node func:(GtkCTreeFunc) func data:(gpointer) data
- (void) postRecursive:(GtkCTreeNode *) node toDepth:(gint) depth func:(GtkCTreeFunc) func data:(gpointer) data
- (void) preRecursive:(GtkCTreeNode *) node func:(GtkCTreeFunc) func data:(gpointer) data
- (void) preRecursive:(GtkCTreeNode *) node toDepth:(gint) depth func:(GtkCTreeFunc) func data:(gpointer) data
- (void) realSelectRecursive:(GtkCTreeNode *) node state:(gint) state
- (void) removeNode:(GtkCTreeNode *) node
- (void) select:(GtkCTreeNode *) node
- (void) selectRecursive:(GtkCTreeNode *) node
- (void) setDragCompareFunc:(GtkCTreeCompareDragFunc) cmp_func
- (void) setExpanderStyle:(GtkCTreeExpanderStyle) expander_style
- (void) setIndent:(gint) indent
- (void) setLineStyle:(GtkCTreeLineStyle) line_style
- (void) setNodeInfo:(GtkCTreeNode *) node text:(NSString *) text spacing:(guint8) spacing pixmapClosed:(GdkPixmap *) pixmap_closed maskClosed:(GdkBitmap *) mask_closed pixmapOpened:(GdkPixmap *) pixmap_opened maskOpened:(GdkBitmap *) mask_opened isLeaf:(gboolean) is_leaf expanded:(gboolean) expanded
- (void) setShowStub:(gboolean) show_stub
- (void) setSpacing:(gint) spacing
- (void) sortNode:(GtkCTreeNode *) node
- (void) sortRecursive:(GtkCTreeNode *) node
- (void) toggleExpansion:(GtkCTreeNode *) node
- (void) toggleExpansionRecursive:(GtkCTreeNode *) node
- (void) unselect:(GtkCTreeNode *) node
- (void) unselectRecursive:(GtkCTreeNode *) node

## Methods

+ (GtkType) getType

  Overrides: + (GtkType) getType in GTKCList

+ (id) cTreeWithTitles:(gint) columns treeColumn:(gint) tree_column titles:(NSArray *) titles

- (id) initWithTitles:(gint) columns treeColumn:(gint) tree_column titles:(NSArray *) titles

+ (id) cTreeWithColumns:(gint) columns treeColumn:(gint) tree_column

- (id) initWithColumns:(gint) columns treeColumn:(gint) tree_column

- (GtkCTreeNode *) insertNode:(GtkCTreeNode *) parent sibling:(GtkCTreeNode *) sibling text:(NSArray *) text spacing:(guint8) spacing pixmapClosed:(GdkPixmap *) pixmap_closed maskClosed:(GdkBitmap *) mask_closed pixmapOpened:(GdkPixmap *) pixmap_opened maskOpened:(GdkBitmap *) mask_opened isLeaf:(gboolean) is_leaf expanded:(gboolean) expanded

- (void) removeNode:(GtkCTreeNode *) node

- (GtkCTreeNode *) insertGnode:(GtkCTreeNode *) parent sibling:(GtkCTreeNode *) sibling gnode:(GNode *) gnode func:(GtkCTreeGNodeFunc) func data:(gpointer) data

- (GNode *) exportToGnode:(GNode *) parent sibling:(GNode *) sibling node:(GtkCTreeNode *) node func:(GtkCTreeGNodeFunc) func data:(gpointer) data

- (void) postRecursive:(GtkCTreeNode *) node func:(GtkCTreeFunc) func data:(gpointer) data

- (void) postRecursive:(GtkCTreeNode *) node toDepth:(gint) depth func:(GtkCTreeFunc) func data:(gpointer) data

- (void) preRecursive:(GtkCTreeNode *) node func:(GtkCTreeFunc) func data:(gpointer) data

- (void) preRecursive:(GtkCTreeNode *) node toDepth:(gint) depth func:(GtkCTreeFunc) func data:(gpointer) data

- (gboolean) isViewable:(GtkCTreeNode *) node

- (GtkCTreeNode *) last:(GtkCTreeNode *) node

- (GtkCTreeNode *) findNodePtr:(GtkCTreeRow *) ctree_row

- (GtkCTreeNode *) nodeNth:(guint) row

- (gboolean) find:(GtkCTreeNode *) node child:(GtkCTreeNode *) child

- (gboolean) isAncestor:(GtkCTreeNode *) node child:(GtkCTreeNode *) child

- (GtkCTreeNode *) findByRow:(GtkCTreeNode *) node data:(gpointer) data

- (GList *) findAllByRow:(GtkCTreeNode *) node data:(gpointer) data

- (GtkCTreeNode *) findByRowDataCustom:(GtkCTreeNode *) node data:(gpointer) data func:(GCompareFunc) func

- (GList *) findAllByRowDataCustom:(GtkCTreeNode *) node data:(gpointer) data func:(GCompareFunc) func

- (gboolean) isHotSpot:(gint) x y:(gint) y

- (void) move:(GtkCTreeNode *) node newParent:(GtkCTreeNode *) new_parent newSibling:(GtkCTreeNode *) new_sibling

- (void) expand:(GtkCTreeNode *) node

- (void) expandRecursive:(GtkCTreeNode *) node

- (void) expand:(GtkCTreeNode *) node toDepth:(gint) depth

- (void) collapse:(GtkCTreeNode *) node

- (void) collapseRecursive:(GtkCTreeNode *) node

- (void) collapse:(GtkCTreeNode *) node toDepth:(gint) depth

- (void) toggleExpansion:(GtkCTreeNode *) node

- (void) toggleExpansionRecursive:(GtkCTreeNode *) node

- (void) select:(GtkCTreeNode *) node

- (void) selectRecursive:(GtkCTreeNode *) node

- (void) unselect:(GtkCTreeNode *) node

- (void) unselectRecursive:(GtkCTreeNode *) node

- (void) realSelectRecursive:(GtkCTreeNode *) node state:(gint) state

- (void) nodeSetText:(GtkCTreeNode *) node column:(gint) column text:(NSString *) text

- (void) nodeSetPixmap:(GtkCTreeNode *) node column:(gint) column pixmap:(GdkPixmap *) pixmap mask:(GdkBitmap *) mask

- (void) nodeSetPixtext:(GtkCTreeNode *) node column:(gint) column text:(NSString *) text spacing:(guint8) spacing pixmap:(GdkPixmap *) pixmap mask:(GdkBitmap *) mask

- (void) setNodeInfo:(GtkCTreeNode *) node text:(NSString *) text spacing:(guint8) spacing pixmapClosed:(GdkPixmap *) pixmap_closed maskClosed:(GdkBitmap *) mask_closed pixmapOpened:(GdkPixmap *) pixmap_opened maskOpened:(GdkBitmap *) mask_opened isLeaf:(gboolean) is_leaf expanded:(gboolean) expanded

- (void) nodeSetShift:(GtkCTreeNode *) node column:(gint) column vertical:(gint) vertical horizontal:(gint) horizontal

- (void) nodeSet:(GtkCTreeNode *) node selectable:(gboolean) selectable

- (gboolean) nodeGetSelectable:(GtkCTreeNode *) node

- (GtkCellType) nodeGetCellType:(GtkCTreeNode *) node column:(gint) column

- (gint) nodeGetText:(GtkCTreeNode *) node column:(gint) column text:(NSString **) text

- (gint) nodeGetPixmap:(GtkCTreeNode *) node column:(gint) column pixmap:(GdkPixmap **) pixmap mask:(GdkBitmap **) mask

- (gint) nodeGetPixtext:(GtkCTreeNode *) node column:(gint) column text:(NSString **) text spacing:(guint8 *) spacing pixmap:(GdkPixmap **) pixmap mask:(GdkBitmap **) mask

- (gint) getNodeInfo:(GtkCTreeNode *) node text:(NSString **) text spacing:(guint8 *) spacing pixmapClosed:(GdkPixmap **) pixmap_closed maskClosed:(GdkBitmap **) mask_closed pixmapOpened:(GdkPixmap **) pixmap_opened maskOpened:(GdkBitmap **) mask_opened isLeaf:(gboolean *) is_leaf expanded:(gboolean *) expanded

- (void) nodeSetRow:(GtkCTreeNode *) node style:(GTKStyle *) style

- (GTKStyle *) nodeGetRowStyle:(GtkCTreeNode *) node

- (void) nodeSetCellStyle:(GtkCTreeNode *) node column:(gint) column style:(GTKStyle *) style

- (GTKStyle *) nodeGetCellStyle:(GtkCTreeNode *) node column:(gint) column

- (void) nodeSetForeground:(GtkCTreeNode *) node color:(GdkColor *) color

- (void) nodeSetBackground:(GtkCTreeNode *) node color:(GdkColor *) color

- (void) nodeSetRow:(GtkCTreeNode *) node data:(gpointer) data

- (void) nodeSetRowDataFull:(GtkCTreeNode *) node data:(gpointer) data destroy:(GtkDestroyNotify) destroy

- (gpointer) nodeGetRowData:(GtkCTreeNode *) node

- (void) nodeMoveto:(GtkCTreeNode *) node column:(gint) column rowAlign:(gfloat) row_align colAlign:(gfloat) col_align

- (GtkVisibility) nodeIsVisible:(GtkCTreeNode *) node

- (void) setIndent:(gint) indent

- (void) setSpacing:(gint) spacing

- (void) setShowStub:(gboolean) show_stub

- (void) setLineStyle:(GtkCTreeLineStyle) line_style

- (void) setExpanderStyle:(GtkCTreeExpanderStyle) expander_style

- (void) setDragCompareFunc:(GtkCTreeCompareDragFunc) cmp_func

- (void) sortNode:(GtkCTreeNode *) node

- (void) sortRecursive:(GtkCTreeNode *) node

generated Thu Jan 4 20:20:26 2001 by Objcdoc