Class Index | File Index

Classes


Class gtk.Dom


Extends gtk.Widget.

Defined in: jsgtk_merge_for_doc.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
gtk.Dom(width, height)
Dom is a class to create a text or an HTML container.
Field Summary
Field Attributes Field Name and Description
 
'clicked' signal
 
'doubleclicked' signal
 
'mouseout' signal
 
'mouseover' signal
 
'mouseup' signal
Method Summary
Method Attributes Method Name and Description
 
Append the child widget to gtk.Dom
 
Return HTML string
 
setAttribute(attribute)
Set style or apply attribute
 
setInnerHTML(value)
Accept any HTML string
Methods borrowed from class gtk.Widget:
activate, disable, enable, getActivateSignal, getHeight, getMinHeightComposite, getMinWidthComposite, getNode, getParent, getSize, getSizeRequest, getTag, getWidth, hide, hideLoading, hideTooltip, isHidden, refresh, resetHeightComposite, resetMinHeight, resetMinSize, resetMinWidth, resetWidthComposite, resizeHeightComposite, resizeWidthComposite, setActivateSignal, setBoldTitle, setEnable, setHeight, setParent, setSize, setSizeRequest, setTag, setTooltip, setWidth, show, showLoading, showTooltip, sizeRequest
Methods borrowed from class gobject.GObject:
connect, disconnect, emit
Class Detail
gtk.Dom(width, height)
Dom is a class to create a text or an HTML container. It can contain any HTML string value.
Parameters:
{Integer} width
The integer width value in pixel to be set
{Integer} height
The integer height value in pixel to be set
Field Detail
DOM_CLICKED
'clicked' signal

DOM_DOUBLECLICKED
'doubleclicked' signal

DOM_MOUSEOUT
'mouseout' signal

DOM_MOUSEOVER
'mouseover' signal

DOM_MOUSEUP
'mouseup' signal
Method Detail
appendChild(dom)
Append the child widget to gtk.Dom
Parameters:
{gtk.Widget} dom
The Dom object to be added

{String} getValue()
Return HTML string
Returns:
{String} The HTML string value inside the Dom

setAttribute(attribute)
Set style or apply attribute
Parameters:
{Object} attribute
A collection of object literal of styles

setInnerHTML(value)
Accept any HTML string
Parameters:
{String} value
The HTML value to be set

Documentation generated by JsDoc Toolkit 2.1.0 on Tue Jul 06 2010 11:13:54 GMT+0700 (ICT)