Texts » History » Version 2
iri, 03/13/2011 06:47 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 | Return [[Api]] |