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

CGTKFlowBox.h
1 /*
2 * CGTKFlowBox.h
3 * This file is part of CoreGTK
4 *
5 * Copyright (C) 2017 - 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, 2017. 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
83 -(GtkFlowBoxChild*)getChildAtPosWithX:(gint) x andY:(gint) y;
84
90 -(guint)getColumnSpacing;
91
97 -(BOOL)getHomogeneous;
98
104 -(guint)getMaxChildrenPerLine;
105
111 -(guint)getMinChildrenPerLine;
112
118 -(guint)getRowSpacing;
119
125 -(GList*)getSelectedChildren;
126
132 -(GtkSelectionMode)getSelectionMode;
133
140 -(void)insertWithWidget:(CGTKWidget*) widget andPosition:(gint) position;
141
146 -(void)invalidateFilter;
147
152 -(void)invalidateSort;
153
158 -(void)selectAll;
159
165 -(void)selectChild:(GtkFlowBoxChild*) child;
166
173 -(void)selectedForeachWithFunc:(GtkFlowBoxForeachFunc) func andData:(gpointer) data;
174
180 -(void)setActivateOnSingleClick:(BOOL) single;
181
187 -(void)setColumnSpacing:(guint) spacing;
188
196 -(void)setFilterFuncWithFilterFunc:(GtkFlowBoxFilterFunc) filterFunc andUserData:(gpointer) userData andDestroy:(GDestroyNotify) destroy;
197
203 -(void)setHadjustment:(GtkAdjustment*) adjustment;
204
210 -(void)setHomogeneous:(BOOL) homogeneous;
211
217 -(void)setMaxChildrenPerLine:(guint) nchildren;
218
224 -(void)setMinChildrenPerLine:(guint) nchildren;
225
231 -(void)setRowSpacing:(guint) spacing;
232
238 -(void)setSelectionMode:(GtkSelectionMode) mode;
239
247 -(void)setSortFuncWithSortFunc:(GtkFlowBoxSortFunc) sortFunc andUserData:(gpointer) userData andDestroy:(GDestroyNotify) destroy;
248
254 -(void)setVadjustment:(GtkAdjustment*) adjustment;
255
260 -(void)unselectAll;
261
267 -(void)unselectChild:(GtkFlowBoxChild*) child;
268
269 @end
-[CGTKFlowBox getRowSpacing]
guint getRowSpacing()
Definition: CGTKFlowBox.m:93
-[CGTKFlowBox invalidateSort]
void invalidateSort()
Definition: CGTKFlowBox.m:118
-[CGTKFlowBox getMinChildrenPerLine]
guint getMinChildrenPerLine()
Definition: CGTKFlowBox.m:88
-[CGTKFlowBox getActivateOnSingleClick]
BOOL getActivateOnSingleClick()
Definition: CGTKFlowBox.m:58
-[CGTKFlowBox FLOWBOX]
GtkFlowBox * FLOWBOX()
Definition: CGTKFlowBox.m:48
-[CGTKFlowBox selectAll]
void selectAll()
Definition: CGTKFlowBox.m:123
-[CGTKFlowBox getSelectionMode]
GtkSelectionMode getSelectionMode()
Definition: CGTKFlowBox.m:103
-[CGTKFlowBox getSelectedChildren]
GList * getSelectedChildren()
Definition: CGTKFlowBox.m:98
-[CGTKFlowBox getMaxChildrenPerLine]
guint getMaxChildrenPerLine()
Definition: CGTKFlowBox.m:83
-[CGTKFlowBox init]
id init()
Definition: CGTKFlowBox.m:36
-[CGTKWidget destroy]
void destroy()
Definition: CGTKWidget.m:131
-[CGTKFlowBox invalidateFilter]
void invalidateFilter()
Definition: CGTKFlowBox.m:113
CGTKContainer
Definition: CGTKContainer.h:34
-[CGTKFlowBox getColumnSpacing]
guint getColumnSpacing()
Definition: CGTKFlowBox.m:73
-[CGTKFlowBox unselectAll]
void unselectAll()
Definition: CGTKFlowBox.m:193
CGTKWidget
Definition: CGTKWidget.h:34
-[CGTKFlowBox getHomogeneous]
BOOL getHomogeneous()
Definition: CGTKFlowBox.m:78
CGTKFlowBox
Definition: CGTKFlowBox.h:34