Package wx :: Class Frame
[frames | no frames]

Type Frame

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
        TopLevelWindow --+
                         |
                        Frame

Known Subclasses:
AdvancedSplash, AuiMDIParentFrame, BalloonFrame, DocChildFrame, DocParentFrame, DocTabbedParentFrame, EventWatcher, FillingFrame, Frame, HtmlHelpFrame, InspectionFrame, MDIChildFrame, MDIParentFrame, MiniFrame, PreviewFrame, SizedFrame, SplashScreen, SplashScreen, TestFrame, ToasterBoxWindow

Proxy of C++ Frame class


Method Summary
Frame __init__(self, parent, id, title, pos, size, style, name)
bool Command(self, winid)
bool Create(self, parent, id, pos, size, style, name)
Create the GUI part of the Window for 2-phase creation mode.
StatusBar CreateStatusBar(self, number, style, winid, name)
wxToolBar CreateToolBar(self, style, winid, name)
  DoGiveHelp(self, text, show)
  DoMenuUpdates(self, menu)
VisualAttributes GetClassDefaultAttributes(variant)
Get the default attributes for this class. (Static method)
MenuBar GetMenuBar(self)
StatusBar GetStatusBar(self)
int GetStatusBarPane(self)
wxToolBar GetToolBar(self)
  PopStatusText(self, number)
bool ProcessCommand(self, winid)
  PushStatusText(self, text, number)
  SendSizeEvent(self)
  SetMenuBar(self, menubar)
  SetStatusBar(self, statBar)
  SetStatusBarPane(self, n)
  SetStatusText(self, text, number)
  SetStatusWidths(self, widths)
  SetToolBar(self, toolbar)

Property Summary
  MenuBar: See GetMenuBar and SetMenuBar
  StatusBar: See GetStatusBar and SetStatusBar
  StatusBarPane: See GetStatusBarPane and SetStatusBarPane
  thisown: The membership flag
  ToolBar: See GetToolBar and SetToolBar

Instance Method Details

Create(self, parent, id=-1, title=EmptyString, pos=DefaultPosition, size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr)

Create the GUI part of the Window for 2-phase creation mode.

Parameters:
parent
           (type=Window)

id
           (type=int)

pos
           (type=Point)

size
           (type=Size)

style
           (type=long)

name
           (type=String)

Returns:
bool
Overrides:
wx.Window.Create (inherited documentation)

Static Method Details

GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)

Get the default attributes for this class. This is useful if you want to use the same font or colour in your own control as in a standard control -- which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the user's system, especially if it uses themes.

The variant parameter is only relevant under Mac currently and is ignore under other platforms. Under Mac, it will change the size of the returned font. See wx.Window.SetWindowVariant for more about this.

Parameters:
variant
           (type=int)

Returns:
VisualAttributes

Property Details

MenuBar

See GetMenuBar and SetMenuBar

Get Method:
GetMenuBar(self)
Set Method:
SetMenuBar(self, menubar)

StatusBar

See GetStatusBar and SetStatusBar

Get Method:
GetStatusBar(self)
Set Method:
SetStatusBar(self, statBar)

StatusBarPane

See GetStatusBarPane and SetStatusBarPane

Get Method:
GetStatusBarPane(self)
Set Method:
SetStatusBarPane(self, n)

thisown

The membership flag

ToolBar

See GetToolBar and SetToolBar

Get Method:
GetToolBar(self)
Set Method:
SetToolBar(self, toolbar)

Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:52:04 2009 http://epydoc.sf.net