CoreGTK  2.24.0
CoreGTK is an Objective-C language binding for the GTK+ widget toolkit
 All Classes Functions Variables
CGTKLabel.h
1 /*
2  * CGTKLabel.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 "CGTKMisc.h"
33 
34 @interface CGTKLabel : CGTKMisc
35 {
36 
37 }
38 
42 -(GtkLabel *)LABEL;
43 
48 -(id)init:(NSString *)str;
49 
54 -(id)initWithMnemonic:(NSString *)str;
55 
60 -(NSString *)getText;
61 
66 -(void)setText:(NSString *)str;
67 
72 -(void)setAttributes:(PangoAttrList *)attrs;
73 
78 -(PangoAttrList *)getAttributes;
79 
84 -(void)setLabel:(NSString *)str;
85 
90 -(void)setMarkup:(NSString *)str;
91 
96 -(void)setUseMarkup:(BOOL)setting;
97 
102 -(BOOL)getUseMarkup;
103 
108 -(void)setUseUnderline:(BOOL)setting;
109 
114 -(BOOL)getUseUnderline;
115 
120 -(void)setMarkupWithMnemonic:(NSString *)str;
121 
126 -(NSNumber *)getMnemonicKeyval;
127 
132 -(void)setMnemonicWidget:(CGTKWidget *)widget;
133 
138 -(CGTKWidget *)getMnemonicWidget;
139 
144 -(void)setTextWithMnemonic:(NSString *)str;
145 
150 -(void)setJustify:(GtkJustification)jtype;
151 
156 -(GtkJustification)getJustify;
157 
162 -(void)setEllipsize:(PangoEllipsizeMode)mode;
163 
168 -(PangoEllipsizeMode)getEllipsize;
169 
174 -(void)setWidthChars:(NSNumber *)nChars;
175 
180 -(NSNumber *)getWidthChars;
181 
186 -(void)setMaxWidthChars:(NSNumber *)nChars;
187 
192 -(NSNumber *)getMaxWidthChars;
193 
198 -(void)setPattern:(NSString *)pattern;
199 
204 -(void)setLineWrap:(BOOL)wrap;
205 
210 -(BOOL)getLineWrap;
211 
216 -(void)setLineWrapMode:(PangoWrapMode)wrapMode;
217 
222 -(PangoWrapMode)getLineWrapMode;
223 
228 -(void)setSelectable:(BOOL)setting;
229 
234 -(BOOL)getSelectable;
235 
240 -(void)setAngle:(NSNumber *)angle;
241 
246 -(NSNumber *)getAngle;
247 
252 -(void)selectRegionWithStartOffset:(NSNumber *)startOffset andEndOffset:(NSNumber *)endOffset;
253 
258 -(BOOL)getSelectionBoundsWithStart:(NSNumber **)start andEnd:(NSNumber **)end;
259 
264 -(PangoLayout *)getLayout;
265 
270 -(void)getLayoutOffsetsWithX:(NSNumber **)x andY:(NSNumber **)y;
271 
276 -(void)setSingleLineMode:(BOOL)singleLineMode;
277 
282 -(BOOL)getSingleLineMode;
283 
288 -(void)setTrackVisitedLinks:(BOOL)trackLinks;
289 
294 -(BOOL)getTrackVisitedLinks;
295 
300 -(NSString *)getLabel;
301 
306 -(NSString *)getCurrentUri;
307 
308 @end
Definition: CGTKLabel.h:34
Definition: CGTKWidget.h:50
Definition: CGTKMisc.h:34