Class Index | File Index

Classes


Class gtk.PopupWindowDefault


Extends gtk.Widget, gtk.Widget.

Defined in: jsgtk_merge_for_doc.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
gtk.PopupWindowDefault(title, textMessage)
PopupWindowDefault is a class to create pop-up window type Default
Field Summary
Field Attributes Field Name and Description
 
It allows user to connect to a registered signal event "closed" when click close button
 
It allows user to connect to a registered signal event "ok" when click OK button
Method Summary
Method Attributes Method Name and Description
 
A method to close/remove pop-up window
 
draw()
A method to display the pop-up window after it is instantiated
 
setBody(textMessage)
A method to set content to the body of the pop-up window
 
A method to set focus onto the pop-up window
 
setTitle(title)
A method to set title to the header of the pop-up window
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.PopupWindowDefault(title, textMessage)
PopupWindowDefault is a class to create pop-up window type Default
Parameters:
{String} title
The header title of the pop-up window
{String} textMessage
The body text/content of the pop-up window
Field Detail
POPUPWINDOWDEFAULT_CLOSED
It allows user to connect to a registered signal event "closed" when click close button

POPUPWINDOWDEFAULT_OK
It allows user to connect to a registered signal event "ok" when click OK button
Method Detail
close()
A method to close/remove pop-up window

draw()
A method to display the pop-up window after it is instantiated

setBody(textMessage)
A method to set content to the body of the pop-up window
Parameters:
{String} textMessage
The text content of the body of the pop-up window to be set type {String}

setFocus()
A method to set focus onto the pop-up window

setTitle(title)
A method to set title to the header of the pop-up window
Parameters:
{String} title
The title of the pop-up window to be set type {String}

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