Class Index | File Index

Classes


Class gtk.Popup


Extends gtk.Widget.

Defined in: jsgtk_merge_for_doc.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
gtk.Popup(obj)
Popup is a class to create a popup as the top most of the screen
Field Summary
Field Attributes Field Name and Description
 
It allows user to connect to a registered signal event "closed" when click close button
Method Summary
Method Attributes Method Name and Description
 
addContent(domObj)
A method to add a div container to popup
 
A method to close/remove the popup from the window
 
A method to show a progress bar, then append image to the content after image is completely loaded
 
A method to remove the content from the popup
 
setTitle(title)
A method to set the title of popup
 
show()
A method to set display/show the popup
 
A method to show left header given a Boolean value true or false
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, resetMinWidth, resetWidthComposite, resizeHeightComposite, resizeWidthComposite, setActivateSignal, setBoldTitle, setEnable, setHeight, setParent, setSize, setSizeRequest, setTag, setTooltip, setWidth, showLoading, showTooltip, sizeRequest
Methods borrowed from class gobject.GObject:
connect, disconnect, emit
Class Detail
gtk.Popup(obj)
Popup is a class to create a popup as the top most of the screen
Parameters:
{Object} obj
The obj which contains properties and is required to create popup. Posible obj properties: node, url, title, footer, leftHeaderHeight
Field Detail
POPUP_CLOSED
It allows user to connect to a registered signal event "closed" when click close button
Method Detail
addContent(domObj)
A method to add a div container to popup
Parameters:
{Dom} domObj
The dom content which is to add to popup

close()
A method to close/remove the popup from the window

loadContent(obj)
A method to show a progress bar, then append image to the content after image is completely loaded
Parameters:
{Object} obj
The object which content URL of image & Title of popup

removeContent()
A method to remove the content from the popup

setTitle(title)
A method to set the title of popup
Parameters:
{String} title
The string title is set to popup

show()
A method to set display/show the popup

showLeftHeader(isShow)
A method to show left header given a Boolean value true or false
Parameters:
{Boolean} isShow
The boolean value to show or not

Documentation generated by JsDoc Toolkit 2.1.0 on Tue Jun 29 2010 13:22:58 GMT+0700 (ICT)