Class Index | File Index

Classes


Class gtk.Window


Extends gtk.WindowBase, gtk.WindowBase.

Defined in: jsgtk_merge_for_doc.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
gtk.Window(type)
Window is a class to create window which can contain a child widget
Method Summary
Method Attributes Method Name and Description
 
appendChild(childWidget)
A method to append or add or replace child into its body
 
draw()
A method to draw or show the window after instantiated
 
A method to draw a modal layer
 
A method to set maximized the window
 
A method to set minimized the window
 
A method to restore window to its previous state
Methods borrowed from class gtk.WindowBase:
close, disableCloseButton, disableControl, disableMaximizeButton, disableMinimizeButton, disableResize, enableCloseButton, enableControl, enableMaximizeButton, enableMinimizeButton, enableResize, getState, hideMinimizeButton, move, setBoldTitle, setCloseButton, setPosition, setState, setTitle, showMaximizedHeader, showMinimizedHeader, showRestoredHeader
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, setEnable, setHeight, setParent, setSize, setSizeRequest, setTag, setTooltip, setWidth, show, showLoading, showTooltip, sizeRequest
Methods borrowed from class gobject.GObject:
connect, disconnect, emit
Class Detail
gtk.Window(type)
Window is a class to create window which can contain a child widget
Parameters:
{String} type
A constant variable value to define type of window.
The type of window is optional.
These are the constant values to be passed:
- gtk.WINDOW_TOPLEVEL The flag constant value to define as top level or top most
- gtk.WINDOW_POPUP The flag constant value to define as window popup
See:
gtk.WindowBase
Method Detail
appendChild(childWidget)
A method to append or add or replace child into its body
Parameters:
{Dom} childWidget
The child widget or Dom object to be passed

draw()
A method to draw or show the window after instantiated

drawModal()
A method to draw a modal layer

maximize()
A method to set maximized the window

minimize()
A method to set minimized the window

restore()
A method to restore window to its previous state

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