CoreGTK  3.18.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
CGTKEntry.h
1 /*
2  * CGTKEntry.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/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 
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 -(gint)getMaxWidthChars;
253 
259 -(BOOL)getOverwriteMode;
260 
266 -(NSString*)getPlaceholderText;
267 
273 -(gdouble)getProgressFraction;
274 
280 -(gdouble)getProgressPulseStep;
281 
287 -(PangoTabArray*)getTabs;
288 
294 -(NSString*)getText;
295 
301 -(void)getTextArea:(GdkRectangle*) textArea;
302 
308 -(guint16)getTextLength;
309 
315 -(BOOL)getVisibility;
316 
322 -(gint)getWidthChars;
323 
329 
336 -(BOOL)imContextFilterKeypress:(GdkEventKey*) event;
337 
344 -(gint)layoutIndexToTextIndex:(gint) layoutIndex;
345 
350 -(void)progressPulse;
351 
356 -(void)resetImContext;
357 
363 -(void)setActivatesDefault:(BOOL) setting;
364 
370 -(void)setAlignment:(gfloat) xalign;
371 
377 -(void)setAttributes:(PangoAttrList*) attrs;
378 
384 -(void)setBuffer:(GtkEntryBuffer*) buffer;
385 
391 -(void)setCompletion:(GtkEntryCompletion*) completion;
392 
398 -(void)setCursorHadjustment:(GtkAdjustment*) adjustment;
399 
405 -(void)setHasFrame:(BOOL) setting;
406 
413 -(void)setIconActivatableWithIconPos:(GtkEntryIconPosition) iconPos andActivatable:(BOOL) activatable;
414 
422 -(void)setIconDragSourceWithIconPos:(GtkEntryIconPosition) iconPos andTargetList:(GtkTargetList*) targetList andActions:(GdkDragAction) actions;
423 
430 -(void)setIconFromGiconWithIconPos:(GtkEntryIconPosition) iconPos andIcon:(GIcon*) icon;
431 
438 -(void)setIconFromIconNameWithIconPos:(GtkEntryIconPosition) iconPos andIconName:(NSString*) iconName;
439 
446 -(void)setIconFromPixbufWithIconPos:(GtkEntryIconPosition) iconPos andPixbuf:(GdkPixbuf*) pixbuf;
447 
454 -(void)setIconFromStockWithIconPos:(GtkEntryIconPosition) iconPos andStockId:(NSString*) stockId;
455 
462 -(void)setIconSensitiveWithIconPos:(GtkEntryIconPosition) iconPos andSensitive:(BOOL) sensitive;
463 
470 -(void)setIconTooltipMarkupWithIconPos:(GtkEntryIconPosition) iconPos andTooltip:(NSString*) tooltip;
471 
478 -(void)setIconTooltipTextWithIconPos:(GtkEntryIconPosition) iconPos andTooltip:(NSString*) tooltip;
479 
485 -(void)setInnerBorder:(const GtkBorder*) border;
486 
492 -(void)setInputHints:(GtkInputHints) hints;
493 
499 -(void)setInputPurpose:(GtkInputPurpose) purpose;
500 
506 -(void)setInvisibleChar:(gunichar) ch;
507 
513 -(void)setMaxLength:(gint) max;
514 
520 -(void)setMaxWidthChars:(gint) nchars;
521 
527 -(void)setOverwriteMode:(BOOL) overwrite;
528 
534 -(void)setPlaceholderText:(NSString*) text;
535 
541 -(void)setProgressFraction:(gdouble) fraction;
542 
548 -(void)setProgressPulseStep:(gdouble) fraction;
549 
555 -(void)setTabs:(PangoTabArray*) tabs;
556 
562 -(void)setText:(NSString*) text;
563 
569 -(void)setVisibility:(BOOL) visible;
570 
576 -(void)setWidthChars:(gint) nchars;
577 
584 -(gint)textIndexToLayoutIndex:(gint) textIndex;
585 
590 -(void)unsetInvisibleChar;
591 
592 @end
GtkInputPurpose getInputPurpose()
Definition: CGTKEntry.m:170
gdouble getProgressFraction()
Definition: CGTKEntry.m:210
BOOL getVisibility()
Definition: CGTKEntry.m:240
void resetImContext()
Definition: CGTKEntry.m:270
gint getMaxWidthChars()
Definition: CGTKEntry.m:195
Definition: CGTKEntry.h:34
BOOL getActivatesDefault()
Definition: CGTKEntry.m:65
GtkInputHints getInputHints()
Definition: CGTKEntry.m:165
BOOL getHasFrame()
Definition: CGTKEntry.m:100
gunichar getInvisibleChar()
Definition: CGTKEntry.m:175
void unsetInvisibleChar()
Definition: CGTKEntry.m:430
NSString * getPlaceholderText()
Definition: CGTKEntry.m:205
gdouble getProgressPulseStep()
Definition: CGTKEntry.m:215
gint getCurrentIconDragSource()
Definition: CGTKEntry.m:90
PangoAttrList * getAttributes()
Definition: CGTKEntry.m:75
GtkEntryBuffer * getBuffer()
Definition: CGTKEntry.m:80
GtkEntryCompletion * getCompletion()
Definition: CGTKEntry.m:85
PangoLayout * getLayout()
Definition: CGTKEntry.m:180
GtkAdjustment * getCursorHadjustment()
Definition: CGTKEntry.m:95
GtkEntry * ENTRY()
Definition: CGTKEntry.m:60
id init()
Definition: CGTKEntry.m:36
gfloat getAlignment()
Definition: CGTKEntry.m:70
void progressPulse()
Definition: CGTKEntry.m:265
NSString * getText()
Definition: CGTKEntry.m:225
void grabFocusWithoutSelecting()
Definition: CGTKEntry.m:250
gint getWidthChars()
Definition: CGTKEntry.m:245
guint16 getTextLength()
Definition: CGTKEntry.m:235
gint getMaxLength()
Definition: CGTKEntry.m:190
const GtkBorder * getInnerBorder()
Definition: CGTKEntry.m:160
BOOL getOverwriteMode()
Definition: CGTKEntry.m:200
PangoTabArray * getTabs()
Definition: CGTKEntry.m:220