Project

General

Profile

Texts » History » Version 3

iri, 03/14/2011 08:41 PM

1 1 iri
h1. Texts
2
3
Widget that displays a text string, typically on multi lines.
4
!>http://library.gnome.org/devel/gtk/2.21/multiline-text.png!
5
6
h2. _gtkTextView
7
8
Create a new text object.
9
10
Prototype : *fun [Chn ObjGtkWidget S] [ObjGtkWidgetObjGtkWidget]*
11
12
table.
13
|*channel*|Chn|a channel. Can not be nil|
14
|*buffer*|ObjGtkWidget|a text buffer object. It can be nil; in this case, a default buffer will be created|
15
|*content*|S|an initial content. It can be nil|
16
17
+Return+ : [ObjGtkWidget ObjGtkWidget] : the new text object and the buffer text object. If _buffer_ was not nil, this will be the same, otherwise, it will be a new buffer text object too.
18 2 iri
19 3 iri
h2. _gtkTextGetBuffer
20
21
Return the current buffer object.
22
23
Prototype : *fun [ObjGtkWidget] ObjGtkWidget*
24
Text object -> buffer object.
25
26 2 iri
Return [[Api]]