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
CGTKLabel.h
1 /*
2 * CGTKLabel.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/CGTKMisc.h"
33
34 @interface CGTKLabel : CGTKMisc
35 {
36
37 }
38
39
43 -(id)init:(NSString*) str;
44 -(id)initWithMnemonic:(NSString*) str;
45
50 -(GtkLabel*)LABEL;
51
57 -(gdouble)getAngle;
58
64 -(PangoAttrList*)getAttributes;
65
71 -(NSString*)getCurrentUri;
72
78 -(PangoEllipsizeMode)getEllipsize;
79
85 -(GtkJustification)getJustify;
86
92 -(NSString*)getLabel;
93
99 -(PangoLayout*)getLayout;
100
107 -(void)getLayoutOffsetsWithX:(gint*) x andY:(gint*) y;
108
114 -(BOOL)getLineWrap;
115
121 -(PangoWrapMode)getLineWrapMode;
122
128 -(gint)getLines;
129
135 -(gint)getMaxWidthChars;
136
142 -(guint)getMnemonicKeyval;
143
149 -(CGTKWidget*)getMnemonicWidget;
150
156 -(BOOL)getSelectable;
157
165 -(BOOL)getSelectionBoundsWithStart:(gint*) start andEnd:(gint*) end;
166
172 -(BOOL)getSingleLineMode;
173
179 -(NSString*)getText;
180
186 -(BOOL)getTrackVisitedLinks;
187
193 -(BOOL)getUseMarkup;
194
200 -(BOOL)getUseUnderline;
201
207 -(gint)getWidthChars;
208
215 -(void)selectRegionWithStartOffset:(gint) startOffset andEndOffset:(gint) endOffset;
216
222 -(void)setAngle:(gdouble) angle;
223
229 -(void)setAttributes:(PangoAttrList*) attrs;
230
236 -(void)setEllipsize:(PangoEllipsizeMode) mode;
237
243 -(void)setJustify:(GtkJustification) jtype;
244
250 -(void)setLabel:(NSString*) str;
251
257 -(void)setLineWrap:(BOOL) wrap;
258
264 -(void)setLineWrapMode:(PangoWrapMode) wrapMode;
265
271 -(void)setLines:(gint) lines;
272
278 -(void)setMarkup:(NSString*) str;
279
285 -(void)setMarkupWithMnemonic:(NSString*) str;
286
292 -(void)setMaxWidthChars:(gint) nchars;
293
299 -(void)setMnemonicWidget:(CGTKWidget*) widget;
300
306 -(void)setPattern:(NSString*) pattern;
307
313 -(void)setSelectable:(BOOL) setting;
314
320 -(void)setSingleLineMode:(BOOL) singleLineMode;
321
327 -(void)setText:(NSString*) str;
328
334 -(void)setTextWithMnemonic:(NSString*) str;
335
341 -(void)setTrackVisitedLinks:(BOOL) trackLinks;
342
348 -(void)setUseMarkup:(BOOL) setting;
349
355 -(void)setUseUnderline:(BOOL) setting;
356
362 -(void)setWidthChars:(gint) nchars;
363
364 @end
CGTKLabel
Definition: CGTKLabel.h:34
CGTKMisc
Definition: CGTKMisc.h:34
CGTKWidget
Definition: CGTKWidget.h:34