32 #import "CGTKContainer.h"
43 -(GtkTreeView *)TREE_VIEW;
55 -(id)initWithModel:(GtkTreeModel *)model;
61 -(GtkTreeModel *)getModel;
67 -(void)setModel:(GtkTreeModel *)model;
73 -(GtkTreeSelection *)getSelection;
79 -(GtkAdjustment *)getHadjustment;
85 -(void)setHadjustment:(GtkAdjustment *)adjustment;
91 -(GtkAdjustment *)getVadjustment;
97 -(void)setVadjustment:(GtkAdjustment *)adjustment;
103 -(BOOL)getHeadersVisible;
109 -(void)setHeadersVisible:(BOOL)headersVisible;
115 -(void)columnsAutosize;
121 -(BOOL)getHeadersClickable;
127 -(void)setHeadersClickable:(BOOL)setting;
133 -(void)setRulesHint:(BOOL)setting;
145 -(NSNumber *)appendColumn:(GtkTreeViewColumn *)column;
151 -(NSNumber *)removeColumn:(GtkTreeViewColumn *)column;
157 -(NSNumber *)insertColumnWithColumn:(GtkTreeViewColumn *)column andPosition:(NSNumber *)position;
163 -(NSNumber *)insertColumnWithDataFuncWithPosition:(NSNumber *)position andTitle:(NSString *)title andCell:(GtkCellRenderer *)cell andFunc:(GtkTreeCellDataFunc)func andData:(gpointer)data andDnotify:(GDestroyNotify)dnotify;
169 -(GtkTreeViewColumn *)getColumn:(NSNumber *)n;
175 -(GList *)getColumns;
181 -(void)moveColumnAfterWithColumn:(GtkTreeViewColumn *)column andBaseColumn:(GtkTreeViewColumn *)baseColumn;
187 -(void)setExpanderColumn:(GtkTreeViewColumn *)column;
193 -(GtkTreeViewColumn *)getExpanderColumn;
199 -(void)setColumnDragFunctionWithFunc:(GtkTreeViewColumnDropFunc)func andUserData:(gpointer)userData andDestroy:(GDestroyNotify)destroy;
205 -(void)scrollToPointWithTreeX:(NSNumber *)treeX andTreeY:(NSNumber *)treeY;
211 -(void)scrollToCellWithPath:(GtkTreePath *)path andColumn:(GtkTreeViewColumn *)column andUseAlign:(BOOL)useAlign andRowAlign:(NSNumber *)rowAlign andColAlign:(NSNumber *)colAlign;
217 -(void)rowActivatedWithPath:(GtkTreePath *)path andColumn:(GtkTreeViewColumn *)column;
235 -(void)expandToPath:(GtkTreePath *)path;
241 -(BOOL)expandRowWithPath:(GtkTreePath *)path andOpenAll:(BOOL)openAll;
247 -(BOOL)collapseRow:(GtkTreePath *)path;
253 -(void)mapExpandedRowsWithFunc:(GtkTreeViewMappingFunc)func andData:(gpointer)data;
259 -(BOOL)rowExpanded:(GtkTreePath *)path;
265 -(void)setReorderable:(BOOL)reorderable;
271 -(BOOL)getReorderable;
277 -(void)setCursorWithPath:(GtkTreePath *)path andFocusColumn:(GtkTreeViewColumn *)focusColumn andStartEditing:(BOOL)startEditing;
283 -(void)setCursorOnCellWithPath:(GtkTreePath *)path andFocusColumn:(GtkTreeViewColumn *)focusColumn andFocusCell:(GtkCellRenderer *)focusCell andStartEditing:(BOOL)startEditing;
289 -(void)getCursorWithPath:(GtkTreePath **)path andFocusColumn:(GtkTreeViewColumn **)focusColumn;
295 -(GdkWindow *)getBinWindow;
301 -(BOOL)getPathAtPosWithX:(NSNumber *)x andY:(NSNumber *)y andPath:(GtkTreePath **)path andColumn:(GtkTreeViewColumn **)column andCellX:(NSNumber **)cellX andCellY:(NSNumber **)cellY;
307 -(void)getCellAreaWithPath:(GtkTreePath *)path andColumn:(GtkTreeViewColumn *)column andRect:(GdkRectangle *)rect;
313 -(void)getBackgroundAreaWithPath:(GtkTreePath *)path andColumn:(GtkTreeViewColumn *)column andRect:(GdkRectangle *)rect;
319 -(void)getVisibleRect:(GdkRectangle *)visibleRect;
325 -(void)treeToWidgetCoordsWithTx:(NSNumber *)tx andTy:(NSNumber *)ty andWx:(NSNumber **)wx andWy:(NSNumber **)wy;
331 -(BOOL)getVisibleRangeWithStartPath:(GtkTreePath **)startPath andEndPath:(GtkTreePath **)endPath;
337 -(void)enableModelDragSourceWithStartButtonMask:(GdkModifierType)startButtonMask andTargets:(const GtkTargetEntry *)targets andNTargets:(NSNumber *)nTargets andActions:(GdkDragAction)actions;
343 -(void)enableModelDragDestWithTargets:(const GtkTargetEntry *)targets andNTargets:(NSNumber *)nTargets andActions:(GdkDragAction)actions;
349 -(void)unsetRowsDragSource;
355 -(void)unsetRowsDragDest;
361 -(void)setDragDestRowWithPath:(GtkTreePath *)path andPos:(GtkTreeViewDropPosition)pos;
367 -(void)getDragDestRowWithPath:(GtkTreePath **)path andPos:(GtkTreeViewDropPosition *)pos;
373 -(BOOL)getDestRowAtPosWithDragX:(NSNumber *)dragX andDragY:(NSNumber *)dragY andPath:(GtkTreePath **)path andPos:(GtkTreeViewDropPosition *)pos;
379 -(GdkPixmap*)createRowDragIcon:(GtkTreePath *)path;
385 -(void)setEnableSearch:(BOOL)enableSearch;
391 -(BOOL)getEnableSearch;
397 -(NSNumber *)getSearchColumn;
403 -(void)setSearchColumn:(NSNumber *)column;
409 -(GtkTreeViewSearchEqualFunc)getSearchEqualFunc;
415 -(void)setSearchEqualFuncWithSearchEqualFunc:(GtkTreeViewSearchEqualFunc)searchEqualFunc andSearchUserData:(gpointer)searchUserData andSearchDestroy:(GDestroyNotify)searchDestroy;
427 -(void)setSearchEntry:(
CGTKEntry *)entry;
433 -(GtkTreeViewSearchPositionFunc)getSearchPositionFunc;
439 -(void)setSearchPositionFuncWithFunc:(GtkTreeViewSearchPositionFunc)func andData:(gpointer)data andDestroy:(GDestroyNotify)destroy;
445 -(void)convertWidgetToTreeCoordsWithWx:(NSNumber *)wx andWy:(NSNumber *)wy andTx:(NSNumber **)tx andTy:(NSNumber **)ty;
451 -(void)convertTreeToWidgetCoordsWithTx:(NSNumber *)tx andTy:(NSNumber *)ty andWx:(NSNumber **)wx andWy:(NSNumber **)wy;
457 -(void)convertWidgetToBinWindowCoordsWithWx:(NSNumber *)wx andWy:(NSNumber *)wy andBx:(NSNumber **)bx andBy:(NSNumber **)by;
463 -(void)convertBinWindowToWidgetCoordsWithBx:(NSNumber *)bx andBy:(NSNumber *)by andWx:(NSNumber **)wx andWy:(NSNumber **)wy;
469 -(void)convertTreeToBinWindowCoordsWithTx:(NSNumber *)tx andTy:(NSNumber *)ty andBx:(NSNumber **)bx andBy:(NSNumber **)by;
475 -(void)convertBinWindowToTreeCoordsWithBx:(NSNumber *)bx andBy:(NSNumber *)by andTx:(NSNumber **)tx andTy:(NSNumber **)ty;
481 -(void)setDestroyCountFuncWithFunc:(GtkTreeDestroyCountFunc)func andData:(gpointer)data andDestroy:(GDestroyNotify)destroy;
487 -(void)setFixedHeightMode:(BOOL)enable;
493 -(BOOL)getFixedHeightMode;
499 -(void)setHoverSelection:(BOOL)hover;
505 -(BOOL)getHoverSelection;
511 -(void)setHoverExpand:(BOOL)expand;
517 -(BOOL)getHoverExpand;
523 -(void)setRubberBanding:(BOOL)enable;
529 -(BOOL)getRubberBanding;
535 -(BOOL)isRubberBandingActive;
541 -(GtkTreeViewRowSeparatorFunc)getRowSeparatorFunc;
547 -(void)setRowSeparatorFuncWithFunc:(GtkTreeViewRowSeparatorFunc)func andData:(gpointer)data andDestroy:(GDestroyNotify)destroy;
553 -(GtkTreeViewGridLines)getGridLines;
559 -(void)setGridLines:(GtkTreeViewGridLines)gridLines;
565 -(BOOL)getEnableTreeLines;
571 -(void)setEnableTreeLines:(BOOL)enabled;
577 -(void)setShowExpanders:(BOOL)enabled;
583 -(BOOL)getShowExpanders;
589 -(void)setLevelIndentation:(NSNumber *)indentation;
595 -(NSNumber *)getLevelIndentation;
601 -(void)setTooltipRowWithTooltip:(GtkTooltip *)tooltip andPath:(GtkTreePath *)path;
607 -(void)setTooltipCellWithTooltip:(GtkTooltip *)tooltip andPath:(GtkTreePath *)path andColumn:(GtkTreeViewColumn *)column andCell:(GtkCellRenderer *)cell;
613 -(BOOL)getTooltipContextWithX:(NSNumber **)x andY:(NSNumber **)y andKeyboardTip:(BOOL)keyboardTip andModel:(GtkTreeModel **)model andPath:(GtkTreePath **)path andIter:(GtkTreeIter *)iter;
619 -(void)setTooltipColumn:(NSNumber *)column;
625 -(NSNumber *)getTooltipColumn;
Definition: CGTKEntry.h:34
Definition: CGTKContainer.h:34
Definition: CGTKTreeView.h:35