CoreGTK  2.24.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
 All Classes Functions Variables
CGTKEntry.h
1 /*
2  * CGTKEntry.h
3  * This file is part of CoreGTK
4  *
5  * Copyright (C) 2014 - 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, 2014. 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 "CGTKWidget.h"
33 
34 @interface CGTKEntry : CGTKWidget
35 {
36 
37 }
38 
42 -(GtkEntry *)ENTRY;
43 
48 -(id)init;
49 
54 -(id)initWithBuffer:(GtkEntryBuffer *)buffer;
55 
60 -(GtkEntryBuffer *)getBuffer;
61 
66 -(void)setBuffer:(GtkEntryBuffer *)buffer;
67 
72 -(GdkWindow *)getTextWindow;
73 
78 -(void)setVisibility:(BOOL)visible;
79 
84 -(BOOL)getVisibility;
85 
90 -(void)setInvisibleChar:(NSString *)ch;
91 
96 -(NSString *)getInvisibleChar;
97 
102 -(void)unsetInvisibleChar;
103 
108 -(void)setHasFrame:(BOOL)setting;
109 
114 -(BOOL)getHasFrame;
115 
120 -(const GtkBorder *)getInnerBorder;
121 
126 -(void)setInnerBorder:(const GtkBorder *)border;
127 
132 -(void)setOverwriteMode:(BOOL)overwrite;
133 
138 -(BOOL)getOverwriteMode;
139 
144 -(void)setMaxLength:(NSNumber *)max;
145 
150 -(NSNumber *)getMaxLength;
151 
156 -(NSNumber *)getTextLength;
157 
162 -(void)setActivatesDefault:(BOOL)setting;
163 
168 -(BOOL)getActivatesDefault;
169 
174 -(void)setWidthChars:(NSNumber *)nChars;
175 
180 -(NSNumber *)getWidthChars;
181 
186 -(NSString *)getText;
187 
192 -(void)setText:(NSString *)text;
193 
198 -(PangoLayout *)getLayout;
199 
204 -(void)getLayoutOffsetsWithX:(NSNumber **)x andY:(NSNumber **)y;
205 
210 -(void)setAlignment:(NSNumber *)xalign;
211 
216 -(NSNumber *)getAlignment;
217 
222 -(void)setCompletion:(GtkEntryCompletion *)completion;
223 
228 -(GtkEntryCompletion *)getCompletion;
229 
234 -(NSNumber *)layoutIndexToTextIndex:(NSNumber *)layoutIndex;
235 
240 -(NSNumber *)textIndexToLayoutIndex:(NSNumber *)textIndex;
241 
246 -(void)setCursorHadjustment:(GtkAdjustment *)adjustment;
247 
252 -(GtkAdjustment *)getCursorHadjustment;
253 
258 -(void)setProgressFraction:(NSNumber *)fraction;
259 
264 -(NSNumber *)getProgressFraction;
265 
270 -(void)setProgressPulseStep:(NSNumber *)fraction;
271 
276 -(NSNumber *)getProgressPulseStep;
277 
282 -(void)progressPulse;
283 
288 -(void)setIconFromPixbufWithIconPos:(GtkEntryIconPosition)iconPos andPixbuf:(GdkPixbuf *)pixbuf;
289 
294 -(void)setIconFromStockWithIconPos:(GtkEntryIconPosition)iconPos andStockId:(NSString *)stockId;
295 
300 -(void)setIconFromIconNameWithIconPos:(GtkEntryIconPosition)iconPos andIconName:(NSString *)iconName;
301 
306 -(void)setIconFromGiconWithIconPos:(GtkEntryIconPosition)iconPos andIcon:(GIcon *)icon;
307 
312 -(GtkImageType)getIconStorageType:(GtkEntryIconPosition)iconPos;
313 
318 -(GdkPixbuf *)getIconPixbuf:(GtkEntryIconPosition)iconPos;
319 
324 -(NSString *)getIconStock:(GtkEntryIconPosition)iconPos;
325 
330 -(NSString *)getIconName:(GtkEntryIconPosition)iconPos;
331 
336 -(GIcon *)getIconGicon:(GtkEntryIconPosition)iconPos;
337 
342 -(void)setIconActivatableWithIconPos:(GtkEntryIconPosition)iconPos andActivatable:(BOOL)activatable;
343 
348 -(BOOL)getIconActivatable:(GtkEntryIconPosition)iconPos;
349 
354 -(void)setIconSensitiveWithIconPos:(GtkEntryIconPosition)iconPos andSensitive:(BOOL)sensitive;
355 
360 -(BOOL)getIconSensitive:(GtkEntryIconPosition)iconPos;
361 
366 -(NSNumber *)getIconAtPosWithX:(NSNumber *)x andY:(NSNumber *)y;
367 
372 -(void)setIconTooltipTextWithIconPos:(GtkEntryIconPosition)iconPos andTooltip:(NSString *)tooltip;
373 
378 -(NSString *)getIconTooltipText:(GtkEntryIconPosition)iconPos;
379 
384 -(void)setIconTooltipMarkupWithIconPos:(GtkEntryIconPosition)iconPos andTooltip:(NSString *)tooltip;
385 
390 -(NSString *)getIconTooltipMarkup:(GtkEntryIconPosition)iconPos;
391 
396 -(void)setIconDragSourceWithIconPos:(GtkEntryIconPosition)iconPos andTargetList:(GtkTargetList *)targetList andActions:(GdkDragAction)actions;
397 
402 -(NSNumber *)getCurrentIconDragSource;
403 
408 -(GdkWindow *)getIconWindow:(GtkEntryIconPosition)iconPos;
409 
414 -(BOOL)imContextFilterKeypress:(GdkEventKey *)event;
415 
420 -(void)resetImContext;
421 
426 -(void)appendText:(NSString *)text;
427 
432 -(void)prependText:(NSString *)text;
433 
438 -(void)setPosition:(NSNumber *)position;
439 
444 -(void)selectRegionWithStart:(NSNumber *)start andEnd:(NSNumber *)end;
445 
450 -(void)setEditable:(BOOL)editable;
451 
452 @end
Definition: CGTKEntry.h:34
Definition: CGTKWidget.h:50