The GtkTextView class is the class for instantiating text view widgets.
The class heirarchy
Object +---GtkWidget +---GtkContainer +---GtkTextView |
The methods for the GtkTextView class are documented below.
This method creates and initializes the widget.
This is a example of how to create a new text view widget.
mytextview = .GtkTextView~new() |
None.
The new text view widget.
This method makes the widget editable by the user.
This is a example of how to make the widget editable.
state = .true mytextview~editable = state |
None.
This method put the contents of an OREXX array into the widget.
This is a example of how to set the contents of a text view widget.
myarray = .aaray~new() myarray[1] = 'First line' myarray[2] = 'Second line' myarray[3] = 'Third line' mytextview = .GtkTextView~new() mytextview~fromarray(myarray) |
None.
This method puts the text of the widget into an OREXX variable.
This is a example of how to put the text of the widget into a variable.
text = mytextview~text() |
None.
This method puts the contents of a variable into the widget.
This is a example of how to put the contents of a variable into the widget.
text = 'First line' || '0A'x text = text || 'Second line' || '0A'x text = text || 'Third line' || '0A'x mytextview~text = text |
None.
This method puts the text of the widget into an OREXX array.
This is a example of how to put the text of the widget into an array.
myarray = mytextview~toarray() |
None.
This method sets the line warp mode of the widget.
This is a example of how to set the line wrap mode.
state = .true mytextview~wrapmode = state |
None.