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

- Main Page
- Classes
- Files

- File List

All Classes Functions Variables
CGTKEntry.h
1 /*
2 * CGTKEntry.h
3 * This file is part of CoreGTK
4 *
5 * Copyright (C) 2015 - 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, 2015. 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/CGTKWidget.h"
33
34 @interface CGTKEntry : CGTKWidget
35 {
36
37 }
38
39
43 -(id)init;
44 -(id)initWithBuffer:(GtkEntryBuffer*) buffer;
45
50 -(GtkEntry*)ENTRY;
51
57 -(BOOL)getActivatesDefault;
58
64 -(gfloat)getAlignment;
65
71 -(PangoAttrList*)getAttributes;
72
78 -(GtkEntryBuffer*)getBuffer;
79
85 -(GtkEntryCompletion*)getCompletion;
86
92 -(gint)getCurrentIconDragSource;
93
99 -(GtkAdjustment*)getCursorHadjustment;
100
106 -(BOOL)getHasFrame;
107
114 -(BOOL)getIconActivatable:(GtkEntryIconPosition) iconPos;
115
122 -(void)getIconAreaWithIconPos:(GtkEntryIconPosition) iconPos andIconArea:(GdkRectangle*) iconArea;
123
131 -(gint)getIconAtPosWithX:(gint) x andY:(gint) y;
132
139 -(GIcon*)getIconGicon:(GtkEntryIconPosition) iconPos;
140
147 -(NSString*)getIconName:(GtkEntryIconPosition) iconPos;
148
155 -(GdkPixbuf*)getIconPixbuf:(GtkEntryIconPosition) iconPos;
156
163 -(BOOL)getIconSensitive:(GtkEntryIconPosition) iconPos;
164
171 -(NSString*)getIconStock:(GtkEntryIconPosition) iconPos;
172
179 -(GtkImageType)getIconStorageType:(GtkEntryIconPosition) iconPos;
180
187 -(NSString*)getIconTooltipMarkup:(GtkEntryIconPosition) iconPos;
188
195 -(NSString*)getIconTooltipText:(GtkEntryIconPosition) iconPos;
196
202 -(const GtkBorder*)getInnerBorder;
203
209 -(GtkInputHints)getInputHints;
210
216 -(GtkInputPurpose)getInputPurpose;
217
223 -(gunichar)getInvisibleChar;
224
230 -(PangoLayout*)getLayout;
231
238 -(void)getLayoutOffsetsWithX:(gint*) x andY:(gint*) y;
239
245 -(gint)getMaxLength;
246
252 -(BOOL)getOverwriteMode;
253
259 -(NSString*)getPlaceholderText;
260
266 -(gdouble)getProgressFraction;
267
273 -(gdouble)getProgressPulseStep;
274
280 -(PangoTabArray*)getTabs;
281
287 -(NSString*)getText;
288
294 -(void)getTextArea:(GdkRectangle*) textArea;
295
301 -(guint16)getTextLength;
302
308 -(BOOL)getVisibility;
309
315 -(gint)getWidthChars;
316
323 -(BOOL)imContextFilterKeypress:(GdkEventKey*) event;
324
331 -(gint)layoutIndexToTextIndex:(gint) layoutIndex;
332
337 -(void)progressPulse;
338
343 -(void)resetImContext;
344
350 -(void)setActivatesDefault:(BOOL) setting;
351
357 -(void)setAlignment:(gfloat) xalign;
358
364 -(void)setAttributes:(PangoAttrList*) attrs;
365
371 -(void)setBuffer:(GtkEntryBuffer*) buffer;
372
378 -(void)setCompletion:(GtkEntryCompletion*) completion;
379
385 -(void)setCursorHadjustment:(GtkAdjustment*) adjustment;
386
392 -(void)setHasFrame:(BOOL) setting;
393
400 -(void)setIconActivatableWithIconPos:(GtkEntryIconPosition) iconPos andActivatable:(BOOL) activatable;
401
409 -(void)setIconDragSourceWithIconPos:(GtkEntryIconPosition) iconPos andTargetList:(GtkTargetList*) targetList andActions:(GdkDragAction) actions;
410
417 -(void)setIconFromGiconWithIconPos:(GtkEntryIconPosition) iconPos andIcon:(GIcon*) icon;
418
425 -(void)setIconFromIconNameWithIconPos:(GtkEntryIconPosition) iconPos andIconName:(NSString*) iconName;
426
433 -(void)setIconFromPixbufWithIconPos:(GtkEntryIconPosition) iconPos andPixbuf:(GdkPixbuf*) pixbuf;
434
441 -(void)setIconFromStockWithIconPos:(GtkEntryIconPosition) iconPos andStockId:(NSString*) stockId;
442
449 -(void)setIconSensitiveWithIconPos:(GtkEntryIconPosition) iconPos andSensitive:(BOOL) sensitive;
450
457 -(void)setIconTooltipMarkupWithIconPos:(GtkEntryIconPosition) iconPos andTooltip:(NSString*) tooltip;
458
465 -(void)setIconTooltipTextWithIconPos:(GtkEntryIconPosition) iconPos andTooltip:(NSString*) tooltip;
466
472 -(void)setInnerBorder:(const GtkBorder*) border;
473
479 -(void)setInputHints:(GtkInputHints) hints;
480
486 -(void)setInputPurpose:(GtkInputPurpose) purpose;
487
493 -(void)setInvisibleChar:(gunichar) ch;
494
500 -(void)setMaxLength:(gint) max;
501
507 -(void)setOverwriteMode:(BOOL) overwrite;
508
514 -(void)setPlaceholderText:(NSString*) text;
515
521 -(void)setProgressFraction:(gdouble) fraction;
522
528 -(void)setProgressPulseStep:(gdouble) fraction;
529
535 -(void)setTabs:(PangoTabArray*) tabs;
536
542 -(void)setText:(NSString*) text;
543
549 -(void)setVisibility:(BOOL) visible;
550
556 -(void)setWidthChars:(gint) nchars;
557
564 -(gint)textIndexToLayoutIndex:(gint) textIndex;
565
570 -(void)unsetInvisibleChar;
571
572 @end
CGTKEntry
Definition: CGTKEntry.h:34
CGTKWidget
Definition: CGTKWidget.h:34