Class gtk.TextView
Object
|
+--gtk.Object
|
+--gtk.Widget
|
+--gtk.Container
|
+--gtk.TextView
- class
gtk.TextView
- extends gtk.Container
Defined in jsgtk_min.js
Constructor Summary |
gtk.TextView()
A widget that displays the contents of a gtk.TextBuffer.
|
Method Summary |
void
|
_render()
|
Object
|
getEditable()
Returns the value of the "editable" property
|
Object
|
getJustification()
Returns the value of the "justification" property.
|
void
|
resize(width, height)
|
void
|
setEditable(<boolean> setting)
Sets the "editable" property to the value of setting.
|
void
|
setJustification(justification)
Sets the "justification" property to the value of justification.
|
Methods inherited from class gtk.Widget |
setBoldTitle, getNode, show, hide, activate, setActivateSignal, getActivateSignal, setSizeRequest, setSize, setWidth, getWidth, setHeight, getHeight, getSizeRequest, sizeRequest, getSize, getMinWidthComposite, getMinHeightComposite, resetHeightComposite, resetWidthComposite
|
_editable
Object _editable
_focus
Object _focus
_justification
Object _justification
_minHeight
Object _minHeight
_minWidth
Object _minWidth
gtk.TextView
gtk.TextView()
A widget that displays the contents of a gtk.TextBuffer. A class inherit from gtk.Container
_render
void _render()
getEditable
Object getEditable()
Returns the value of the "editable" property
Returns:
True if text is editable by default
getJustification
Object getJustification()
Returns the value of the "justification" property. the default justification of paragraphs in text_view. The value of "justification" must be one of: gtk.JUSTIFY_LEFT, gtk.JUSTIFY_RIGHT, gtk.JUSTIFY_CENTER or gtk.JUSTIFY_FILL.
Returns:
The default justification
resize
void resize(width, height)
setEditable
void setEditable(<boolean> setting)
Sets the "editable" property to the value of setting. If setting is True the text in textview is editable by default
Parameters:
setting
- If True the text is editable by default
setJustification
void setJustification(justification)
Sets the "justification" property to the value of justification. The value of justification must be one of: gtk.JUSTIFY_LEFT, gtk.JUSTIFY_RIGHT, gtk.JUSTIFY_CENTER or gtk.JUSTIFY_FILL
Documentation generated by
JSDoc on Thu Jan 21 18:07:55 2010