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
CGTKTextView.h
1 /*
2 * CGTKTextView.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/CGTKContainer.h"
33
34 @interface CGTKTextView : CGTKContainer
35 {
36
37 }
38
39
43 -(id)init;
44 -(id)initWithBuffer:(GtkTextBuffer*) buffer;
45
50 -(GtkTextView*)TEXTVIEW;
51
58 -(void)addChildAtAnchorWithChild:(CGTKWidget*) child andAnchor:(GtkTextChildAnchor*) anchor;
59
68 -(void)addChildInWindowWithChild:(CGTKWidget*) child andWhichWindow:(GtkTextWindowType) whichWindow andXpos:(gint) xpos andYpos:(gint) ypos;
69
76 -(BOOL)backwardDisplayLine:(GtkTextIter*) iter;
77
84 -(BOOL)backwardDisplayLineStart:(GtkTextIter*) iter;
85
95 -(void)bufferToWindowCoordsWithWin:(GtkTextWindowType) win andBufferX:(gint) bufferX andBufferY:(gint) bufferY andWindowX:(gint*) windowX andWindowY:(gint*) windowY;
96
103 -(BOOL)forwardDisplayLine:(GtkTextIter*) iter;
104
111 -(BOOL)forwardDisplayLineEnd:(GtkTextIter*) iter;
112
118 -(BOOL)getAcceptsTab;
119
126 -(gint)getBorderWindowSize:(GtkTextWindowType) type;
127
133 -(GtkTextBuffer*)getBuffer;
134
142 -(void)getCursorLocationsWithIter:(const GtkTextIter*) iter andStrong:(GdkRectangle*) strong andWeak:(GdkRectangle*) weak;
143
149 -(BOOL)getCursorVisible;
150
156 -(GtkTextAttributes*)getDefaultAttributes;
157
163 -(BOOL)getEditable;
164
170 -(GtkAdjustment*)getHadjustment;
171
177 -(gint)getIndent;
178
184 -(GtkInputHints)getInputHints;
185
191 -(GtkInputPurpose)getInputPurpose;
192
200 -(void)getIterAtLocationWithIter:(GtkTextIter*) iter andX:(gint) x andY:(gint) y;
201
210 -(void)getIterAtPositionWithIter:(GtkTextIter*) iter andTrailing:(gint*) trailing andX:(gint) x andY:(gint) y;
211
218 -(void)getIterLocationWithIter:(const GtkTextIter*) iter andLocation:(GdkRectangle*) location;
219
225 -(GtkJustification)getJustification;
226
232 -(gint)getLeftMargin;
233
241 -(void)getLineAtYWithTargetIter:(GtkTextIter*) targetIter andY:(gint) y andLineTop:(gint*) lineTop;
242
250 -(void)getLineYrangeWithIter:(const GtkTextIter*) iter andY:(gint*) y andHeight:(gint*) height;
251
257 -(BOOL)getOverwrite;
258
264 -(gint)getPixelsAboveLines;
265
271 -(gint)getPixelsBelowLines;
272
278 -(gint)getPixelsInsideWrap;
279
285 -(gint)getRightMargin;
286
292 -(PangoTabArray*)getTabs;
293
299 -(GtkAdjustment*)getVadjustment;
300
306 -(void)getVisibleRect:(GdkRectangle*) visibleRect;
307
314 -(GdkWindow*)getWindow:(GtkTextWindowType) win;
315
322 -(GtkTextWindowType)getWindowType:(GdkWindow*) window;
323
329 -(GtkWrapMode)getWrapMode;
330
337 -(BOOL)imContextFilterKeypress:(GdkEventKey*) event;
338
346 -(void)moveChildWithChild:(CGTKWidget*) child andXpos:(gint) xpos andYpos:(gint) ypos;
347
354 -(BOOL)moveMarkOnscreen:(GtkTextMark*) mark;
355
363 -(BOOL)moveVisuallyWithIter:(GtkTextIter*) iter andCount:(gint) count;
364
370 -(BOOL)placeCursorOnscreen;
371
376 -(void)resetImContext;
377
383 -(void)scrollMarkOnscreen:(GtkTextMark*) mark;
384
395 -(BOOL)scrollToIterWithIter:(GtkTextIter*) iter andWithinMargin:(gdouble) withinMargin andUseAlign:(BOOL) useAlign andXalign:(gdouble) xalign andYalign:(gdouble) yalign;
396
406 -(void)scrollToMarkWithMark:(GtkTextMark*) mark andWithinMargin:(gdouble) withinMargin andUseAlign:(BOOL) useAlign andXalign:(gdouble) xalign andYalign:(gdouble) yalign;
407
413 -(void)setAcceptsTab:(BOOL) acceptsTab;
414
421 -(void)setBorderWindowSizeWithType:(GtkTextWindowType) type andSize:(gint) size;
422
428 -(void)setBuffer:(GtkTextBuffer*) buffer;
429
435 -(void)setCursorVisible:(BOOL) setting;
436
442 -(void)setEditable:(BOOL) setting;
443
449 -(void)setIndent:(gint) indent;
450
456 -(void)setInputHints:(GtkInputHints) hints;
457
463 -(void)setInputPurpose:(GtkInputPurpose) purpose;
464
470 -(void)setJustification:(GtkJustification) justification;
471
477 -(void)setLeftMargin:(gint) leftMargin;
478
484 -(void)setOverwrite:(BOOL) overwrite;
485
491 -(void)setPixelsAboveLines:(gint) pixelsAboveLines;
492
498 -(void)setPixelsBelowLines:(gint) pixelsBelowLines;
499
505 -(void)setPixelsInsideWrap:(gint) pixelsInsideWrap;
506
512 -(void)setRightMargin:(gint) rightMargin;
513
519 -(void)setTabs:(PangoTabArray*) tabs;
520
526 -(void)setWrapMode:(GtkWrapMode) wrapMode;
527
534 -(BOOL)startsDisplayLine:(const GtkTextIter*) iter;
535
545 -(void)windowToBufferCoordsWithWin:(GtkTextWindowType) win andWindowX:(gint) windowX andWindowY:(gint) windowY andBufferX:(gint*) bufferX andBufferY:(gint*) bufferY;
546
547 @end
CGTKTextView
Definition: CGTKTextView.h:34
CGTKContainer
Definition: CGTKContainer.h:34
CGTKWidget
Definition: CGTKWidget.h:34