CoreGTK  2.24.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
 All Classes Functions Variables
CGTKIconView.h
1 /*
2  * CGTKIconView.h
3  * This file is part of CoreGTK
4  *
5  * Copyright (C) 2014 - Tyler Burton
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
22 /*
23  * Modified by the CoreGTK Team, 2014. See the AUTHORS file for a
24  * list of people on the CoreGTK Team.
25  * See the ChangeLog files for a list of changes.
26  *
27  */
28 
29 /*
30  * Objective-C imports
31  */
32 #import "CGTKContainer.h"
33 
35 {
36 
37 }
38 
42 -(GtkIconView *)ICON_VIEW;
43 
48 -(id)init;
49 
54 -(id)initWithModel:(GtkTreeModel *)model;
55 
60 -(void)setModel:(GtkTreeModel *)model;
61 
66 -(GtkTreeModel *)getModel;
67 
72 -(void)setTextColumn:(NSNumber *)column;
73 
78 -(NSNumber *)getTextColumn;
79 
84 -(void)setMarkupColumn:(NSNumber *)column;
85 
90 -(NSNumber *)getMarkupColumn;
91 
96 -(void)setPixbufColumn:(NSNumber *)column;
97 
102 -(NSNumber *)getPixbufColumn;
103 
108 -(void)setItemOrientation:(GtkOrientation)orientation;
109 
114 -(GtkOrientation)getItemOrientation;
115 
120 -(void)setColumns:(NSNumber *)columns;
121 
126 -(NSNumber *)getColumns;
127 
132 -(void)setItemWidth:(NSNumber *)itemWidth;
133 
138 -(NSNumber *)getItemWidth;
139 
144 -(void)setSpacing:(NSNumber *)spacing;
145 
150 -(NSNumber *)getSpacing;
151 
156 -(void)setRowSpacing:(NSNumber *)rowSpacing;
157 
162 -(NSNumber *)getRowSpacing;
163 
168 -(void)setColumnSpacing:(NSNumber *)columnSpacing;
169 
174 -(NSNumber *)getColumnSpacing;
175 
180 -(void)setMargin:(NSNumber *)margin;
181 
186 -(NSNumber *)getMargin;
187 
192 -(void)setItemPadding:(NSNumber *)itemPadding;
193 
198 -(NSNumber *)getItemPadding;
199 
204 -(GtkTreePath *)getPathAtPosWithX:(NSNumber *)x andY:(NSNumber *)y;
205 
210 -(BOOL)getItemAtPosWithX:(NSNumber *)x andY:(NSNumber *)y andPath:(GtkTreePath **)path andCell:(GtkCellRenderer **)cell;
211 
216 -(BOOL)getVisibleRangeWithStartPath:(GtkTreePath **)startPath andEndPath:(GtkTreePath **)endPath;
217 
222 -(void)selectedForeachWithFunc:(GtkIconViewForeachFunc)func andData:(gpointer)data;
223 
228 -(void)setSelectionMode:(GtkSelectionMode)mode;
229 
234 -(GtkSelectionMode)getSelectionMode;
235 
240 -(void)selectPath:(GtkTreePath *)path;
241 
246 -(void)unselectPath:(GtkTreePath *)path;
247 
252 -(BOOL)pathIsSelected:(GtkTreePath *)path;
253 
258 -(NSNumber *)getItemRow:(GtkTreePath *)path;
259 
264 -(NSNumber *)getItemColumn:(GtkTreePath *)path;
265 
270 -(GList *)getSelectedItems;
271 
276 -(void)selectAll;
277 
282 -(void)unselectAll;
283 
288 -(void)itemActivated:(GtkTreePath *)path;
289 
294 -(void)setCursorWithPath:(GtkTreePath *)path andCell:(GtkCellRenderer *)cell andStartEditing:(BOOL)startEditing;
295 
300 -(BOOL)getCursorWithPath:(GtkTreePath **)path andCell:(GtkCellRenderer **)cell;
301 
306 -(void)scrollToPathWithPath:(GtkTreePath *)path andUseAlign:(BOOL)useAlign andRowAlign:(NSNumber *)rowAlign andColAlign:(NSNumber *)colAlign;
307 
312 -(void)enableModelDragSourceWithStartButtonMask:(GdkModifierType)startButtonMask andTargets:(const GtkTargetEntry *)targets andNTargets:(NSNumber *)nTargets andActions:(GdkDragAction)actions;
313 
318 -(void)enableModelDragDestWithTargets:(const GtkTargetEntry *)targets andNTargets:(NSNumber *)nTargets andActions:(GdkDragAction)actions;
319 
324 -(void)unsetModelDragSource;
325 
330 -(void)unsetModelDragDest;
331 
336 -(void)setReorderable:(BOOL)reorderable;
337 
342 -(BOOL)getReorderable;
343 
348 -(void)setDragDestItemWithPath:(GtkTreePath *)path andPos:(GtkIconViewDropPosition)pos;
349 
354 -(void)getDragDestItemWithPath:(GtkTreePath **)path andPos:(GtkIconViewDropPosition *)pos;
355 
360 -(BOOL)getDestItemAtPosWithDragX:(NSNumber *)dragX andDragY:(NSNumber *)dragY andPath:(GtkTreePath **)path andPos:(GtkIconViewDropPosition *)pos;
361 
366 -(GdkPixmap*)createDragIcon:(GtkTreePath *)path;
367 
372 -(void)convertWidgetToBinWindowCoordsWithWx:(NSNumber *)wx andWy:(NSNumber *)wy andBx:(NSNumber **)bx andBy:(NSNumber **)by;
373 
378 -(void)setTooltipItemWithTooltip:(GtkTooltip *)tooltip andPath:(GtkTreePath *)path;
379 
384 -(void)setTooltipCellWithTooltip:(GtkTooltip *)tooltip andPath:(GtkTreePath *)path andCell:(GtkCellRenderer *)cell;
385 
390 -(BOOL)getTooltipContextWithX:(NSNumber **)x andY:(NSNumber **)y andKeyboardTip:(BOOL)keyboardTip andModel:(GtkTreeModel **)model andPath:(GtkTreePath **)path andIter:(GtkTreeIter *)iter;
391 
396 -(void)setTooltipColumn:(NSNumber *)column;
397 
402 -(NSNumber *)getTooltipColumn;
403 
404 @end
Definition: CGTKIconView.h:34
Definition: CGTKContainer.h:34