CoreGTK 3.18.0 CoreGTK is an Objective-C language binding for the GTK+ widget toolkit

- Main Page
- Classes
- Files

- File List

CGTKFlowBox.h
1 /*
2 * CGTKFlowBox.h
3 * This file is part of CoreGTK
4 *
5 * Copyright (C) 2016 - 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, 2016. 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 "CoreGTK/CGTKContainer.h"
33
34 @interface CGTKFlowBox : CGTKContainer
35 {
36
37 }
38
39
43 -(id)init;
44
49 -(GtkFlowBox*)FLOWBOX;
50
59 -(void)bindModelWithModel:(GListModel*) model andCreateWidgetFunc:(GtkFlowBoxCreateWidgetFunc) createWidgetFunc andUserData:(gpointer) userData andUserDataFreeFunc:(GDestroyNotify) userDataFreeFunc;
60
66 -(BOOL)getActivateOnSingleClick;
67
74 -(GtkFlowBoxChild*)getChildAtIndex:(gint) idx;
75
81 -(guint)getColumnSpacing;
82
88 -(BOOL)getHomogeneous;
89
95 -(guint)getMaxChildrenPerLine;
96
102 -(guint)getMinChildrenPerLine;
103
109 -(guint)getRowSpacing;
110
116 -(GList*)getSelectedChildren;
117
123 -(GtkSelectionMode)getSelectionMode;
124
131 -(void)insertWithWidget:(CGTKWidget*) widget andPosition:(gint) position;
132
137 -(void)invalidateFilter;
138
143 -(void)invalidateSort;
144
149 -(void)selectAll;
150
156 -(void)selectChild:(GtkFlowBoxChild*) child;
157
164 -(void)selectedForeachWithFunc:(GtkFlowBoxForeachFunc) func andData:(gpointer) data;
165
171 -(void)setActivateOnSingleClick:(BOOL) single;
172
178 -(void)setColumnSpacing:(guint) spacing;
179
187 -(void)setFilterFuncWithFilterFunc:(GtkFlowBoxFilterFunc) filterFunc andUserData:(gpointer) userData andDestroy:(GDestroyNotify) destroy;
188
194 -(void)setHadjustment:(GtkAdjustment*) adjustment;
195
201 -(void)setHomogeneous:(BOOL) homogeneous;
202
208 -(void)setMaxChildrenPerLine:(guint) nchildren;
209
215 -(void)setMinChildrenPerLine:(guint) nchildren;
216
222 -(void)setRowSpacing:(guint) spacing;
223
229 -(void)setSelectionMode:(GtkSelectionMode) mode;
230
238 -(void)setSortFuncWithSortFunc:(GtkFlowBoxSortFunc) sortFunc andUserData:(gpointer) userData andDestroy:(GDestroyNotify) destroy;
239
245 -(void)setVadjustment:(GtkAdjustment*) adjustment;
246
251 -(void)unselectAll;
252
258 -(void)unselectChild:(GtkFlowBoxChild*) child;
259
260 @end
-[CGTKFlowBox getRowSpacing]
guint getRowSpacing()
Definition: CGTKFlowBox.m:88
-[CGTKFlowBox invalidateSort]
void invalidateSort()
Definition: CGTKFlowBox.m:113
-[CGTKFlowBox getMinChildrenPerLine]
guint getMinChildrenPerLine()
Definition: CGTKFlowBox.m:83
-[CGTKFlowBox getActivateOnSingleClick]
BOOL getActivateOnSingleClick()
Definition: CGTKFlowBox.m:58
-[CGTKFlowBox FLOWBOX]
GtkFlowBox * FLOWBOX()
Definition: CGTKFlowBox.m:48
-[CGTKFlowBox selectAll]
void selectAll()
Definition: CGTKFlowBox.m:118
-[CGTKFlowBox getSelectionMode]
GtkSelectionMode getSelectionMode()
Definition: CGTKFlowBox.m:98
-[CGTKFlowBox getSelectedChildren]
GList * getSelectedChildren()
Definition: CGTKFlowBox.m:93
-[CGTKFlowBox getMaxChildrenPerLine]
guint getMaxChildrenPerLine()
Definition: CGTKFlowBox.m:78
-[CGTKFlowBox init]
id init()
Definition: CGTKFlowBox.m:36
-[CGTKWidget destroy]
void destroy()
Definition: CGTKWidget.m:131
-[CGTKFlowBox invalidateFilter]
void invalidateFilter()
Definition: CGTKFlowBox.m:108
CGTKContainer
Definition: CGTKContainer.h:34
-[CGTKFlowBox getColumnSpacing]
guint getColumnSpacing()
Definition: CGTKFlowBox.m:68
-[CGTKFlowBox unselectAll]
void unselectAll()
Definition: CGTKFlowBox.m:188
CGTKWidget
Definition: CGTKWidget.h:34
-[CGTKFlowBox getHomogeneous]
BOOL getHomogeneous()
Definition: CGTKFlowBox.m:73
CGTKFlowBox
Definition: CGTKFlowBox.h:34