CoreGTK  3.18.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) 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/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
BOOL getPopupFixedWidth()
Definition: CGTKComboBox.m:173
gint getEntryTextColumn()
Definition: CGTKComboBox.m:143
gint getWrapWidth()
Definition: CGTKComboBox.m:193
GtkTreeModel * getModel()
Definition: CGTKComboBox.m:163
NSString * getActiveId()
Definition: CGTKComboBox.m:118
BOOL getAddTearoffs()
Definition: CGTKComboBox.m:128
NSString * getTitle()
Definition: CGTKComboBox.m:188
AtkObject * getPopupAccessible()
Definition: CGTKComboBox.m:168
void destroy()
Definition: CGTKWidget.m:131
BOOL getHasEntry()
Definition: CGTKComboBox.m:153
GtkComboBox * COMBOBOX()
Definition: CGTKComboBox.m:108
GtkSensitivityType getButtonSensitivity()
Definition: CGTKComboBox.m:133
BOOL getFocusOnClick()
Definition: CGTKComboBox.m:148
gint getColumnSpanColumn()
Definition: CGTKComboBox.m:138
gint getRowSpanColumn()
Definition: CGTKComboBox.m:183
GtkTreeViewRowSeparatorFunc getRowSeparatorFunc()
Definition: CGTKComboBox.m:178
gint getIdColumn()
Definition: CGTKComboBox.m:158