back to gui 

wxTopLevelWindow

generated from ../src/mod_gui/control/toplevel.cpp

wxTopLevelWindow is the prototype class for wxDialog and wxFrame.

Constants

wxFullScreen

Name Description
NOMENUBAR
NOTOOLBAR
NOSTATUSBAR
NOBORDER
NOCAPTION
ALL

wxFullScreen is ported to wxJS as a separate class

Properties

Name Type Description
active read only Boolean Is the window active?
defaultItem wxWindow
fullScreen Boolean Get/Set fullscreen mode
icon wxIcon Get/Set icon
iconized Boolean Get/Set iconized mode
icons wxIconBundle Not yet implemented
maximized Boolean Get/Set maximized mode
title String Get/Set the title

Methods

setSizeHints

setSizeHints(MinWidth = -1, 
             MinHeight = -1, 
             MaxWidth = -1, 
             MaxHeight = -1, 
             IncWidth = -1, 
             IncHeight = -1)
 
Name Type Default Description
MinWidth Integer -1 The minimum width of the window.
MinHeight Integer -1 The minimum height of the window.
MaxWidth Integer -1 The maximum width of the window.
MaxHeight Integer -1 The maximum height of the window.
IncWidth Integer -1 The increment for resizing the width (Motif/Xt only).
IncHeight Integer -1 The increment for resizing the height (Motif/Xt only).

Allows specification of minimum and maximum window sizes, and window size increments. If a pair of values is not set (or set to -1), the default values will be used. If this function is called, the user will not be able to size the window outside the given bounds.

The resizing increments are only significant under Motif or Xt.

showFullScreen

showFullScreen(Show, 
               Style= = wxFullScreen.ALL) : Boolean
 
Name Type Default Description
Show Boolean Show the frame in full screen when true, restore when false.
Style= Integer wxFullScreen.ALL Use one of wxFullScreen.

Shows the frame in full screen or restores the frame.



SourceForge.net Logo Support This Project

Table of Contents

Prototype

wxWindow

Properties

active
defaultItem
fullScreen
icon
iconized
icons
maximized
title

Methods

setSizeHints
showFullScreen


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.