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

CGTKComboBox.h
1 /*
2 * CGTKComboBox.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/CGTKBin.h"
33
34 @interface CGTKComboBox : CGTKBin
35 {
36
37 }
38
39
43 -(id)init;
44 -(id)initWithArea:(GtkCellArea*) area;
45 -(id)initWithAreaAndEntry:(GtkCellArea*) area;
46 -(id)initWithEntry;
47 -(id)initWithModel:(GtkTreeModel*) model;
48 -(id)initWithModelAndEntry:(GtkTreeModel*) model;
49
54 -(GtkComboBox*)COMBOBOX;
55
61 -(gint)getActive;
62
68 -(NSString*)getActiveId;
69
76 -(BOOL)getActiveIter:(GtkTreeIter*) iter;
77
83 -(BOOL)getAddTearoffs;
84
90 -(GtkSensitivityType)getButtonSensitivity;
91
97 -(gint)getColumnSpanColumn;
98
104 -(gint)getEntryTextColumn;
105
111 -(BOOL)getFocusOnClick;
112
118 -(BOOL)getHasEntry;
119
125 -(gint)getIdColumn;
126
132 -(GtkTreeModel*)getModel;
133
139 -(AtkObject*)getPopupAccessible;
140
146 -(BOOL)getPopupFixedWidth;
147
153 -(GtkTreeViewRowSeparatorFunc)getRowSeparatorFunc;
154
160 -(gint)getRowSpanColumn;
161
167 -(NSString*)getTitle;
168
174 -(gint)getWrapWidth;
175
180 -(void)popdown;
181
186 -(void)popup;
187
193 -(void)popupForDevice:(GdkDevice*) device;
194
200 -(void)setActive:(gint) index;
201
208 -(BOOL)setActiveId:(NSString*) activeId;
209
215 -(void)setActiveIter:(GtkTreeIter*) iter;
216
222 -(void)setAddTearoffs:(BOOL) addTearoffs;
223
229 -(void)setButtonSensitivity:(GtkSensitivityType) sensitivity;
230
236 -(void)setColumnSpanColumn:(gint) columnSpan;
237
243 -(void)setEntryTextColumn:(gint) textColumn;
244
250 -(void)setFocusOnClick:(BOOL) focusOnClick;
251
257 -(void)setIdColumn:(gint) idColumn;
258
264 -(void)setModel:(GtkTreeModel*) model;
265
271 -(void)setPopupFixedWidth:(BOOL) fixed;
272
280 -(void)setRowSeparatorFuncWithFunc:(GtkTreeViewRowSeparatorFunc) func andData:(gpointer) data andDestroy:(GDestroyNotify) destroy;
281
287 -(void)setRowSpanColumn:(gint) rowSpan;
288
294 -(void)setTitle:(NSString*) title;
295
301 -(void)setWrapWidth:(gint) width;
302
303 @end
-[CGTKComboBox getPopupFixedWidth]
BOOL getPopupFixedWidth()
Definition: CGTKComboBox.m:173
-[CGTKComboBox getEntryTextColumn]
gint getEntryTextColumn()
Definition: CGTKComboBox.m:143
-[CGTKComboBox getWrapWidth]
gint getWrapWidth()
Definition: CGTKComboBox.m:193
-[CGTKComboBox getModel]
GtkTreeModel * getModel()
Definition: CGTKComboBox.m:163
-[CGTKComboBox getActiveId]
NSString * getActiveId()
Definition: CGTKComboBox.m:118
-[CGTKComboBox getAddTearoffs]
BOOL getAddTearoffs()
Definition: CGTKComboBox.m:128
-[CGTKComboBox getTitle]
NSString * getTitle()
Definition: CGTKComboBox.m:188
-[CGTKComboBox getPopupAccessible]
AtkObject * getPopupAccessible()
Definition: CGTKComboBox.m:168
-[CGTKComboBox getActive]
gint getActive()
Definition: CGTKComboBox.m:113
-[CGTKWidget destroy]
void destroy()
Definition: CGTKWidget.m:131
-[CGTKComboBox getHasEntry]
BOOL getHasEntry()
Definition: CGTKComboBox.m:153
-[CGTKComboBox popup]
void popup()
Definition: CGTKComboBox.m:203
-[CGTKComboBox COMBOBOX]
GtkComboBox * COMBOBOX()
Definition: CGTKComboBox.m:108
CGTKComboBox
Definition: CGTKComboBox.h:34
CGTKBin
Definition: CGTKBin.h:34
-[CGTKComboBox getButtonSensitivity]
GtkSensitivityType getButtonSensitivity()
Definition: CGTKComboBox.m:133
-[CGTKComboBox getFocusOnClick]
BOOL getFocusOnClick()
Definition: CGTKComboBox.m:148
-[CGTKComboBox popdown]
void popdown()
Definition: CGTKComboBox.m:198
-[CGTKComboBox getColumnSpanColumn]
gint getColumnSpanColumn()
Definition: CGTKComboBox.m:138
-[CGTKComboBox getRowSpanColumn]
gint getRowSpanColumn()
Definition: CGTKComboBox.m:183
-[CGTKComboBox init]
id init()
Definition: CGTKComboBox.m:36
-[CGTKComboBox getRowSeparatorFunc]
GtkTreeViewRowSeparatorFunc getRowSeparatorFunc()
Definition: CGTKComboBox.m:178
-[CGTKComboBox getIdColumn]
gint getIdColumn()
Definition: CGTKComboBox.m:158