gwenhywfar 5.12.0
CocoaListBox.h
Go to the documentation of this file.
1//
2// CocoaListBox.h
3//
4//
5// Created by Samuel Strupp on 17.08.10.
6//
7
8#import <Cocoa/Cocoa.h>
10
11typedef void (*gwenListBoxActionPtr)(NSTableView *listbox, void *data);
12
13@interface CocoaListBox : NSTableView <CocoaGwenGUIProtocol>
14{
18 BOOL fillX;
19 BOOL fillY;
21 NSMutableArray *dataArray;
23
24@property BOOL fillX;
25@property BOOL fillY;
27-(void) setC_ActionPtr:(gwenListBoxActionPtr)ptr Data:(void *)data;
28
29-(void) setTitelsAndCreateColumns:(NSString *)titleString;
30-(NSString *) titlesString;
31-(void) addDataRowString:(NSString *)dataRowString;
32-(NSString *) dataRowStringForRow:(NSUInteger)index;
33-(void) clearDataRows;
34
35-(BOOL) setColumnWidthTo:(NSInteger)widthInPixels forColumn:(NSInteger)index;
36-(NSInteger) widthOfColumn:(NSInteger)index;
37-(BOOL) setSortOrderTo:(BOOL)ascending ForColumnWithIndex:(NSUInteger)index;
38-(NSInteger) sortOrderForColumnAtIndex:(NSUInteger)index;
39
40@end
void(* gwenListBoxActionPtr)(NSTableView *listbox, void *data)
NSMutableArray * dataArray
gwenListBoxActionPtr c_actionPtr
void * c_actionData