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

Type Frame

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

Known Subclasses:
ACCustomizationFrame, DocChildFrame, DocParentFrame, DocTabbedParentFrame, FillingFrame, Frame, HtmlHelpFrame, MDIChildFrame, MDIParentFrame, MiniFrame, PreviewFrame, ProgressDialog, SplashScreen, SplashScreen, TestFrame

Proxy of C++ Frame class
Method Summary
Frame __init__(self, parent, id, title, pos, size, style, name)
  __repr__(self)
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)
Point GetClientAreaOrigin(self)
Get the origin of the client area of the window relative to the window's top left corner (the client area may be shifted because of the borders, scrollbars, other decorations...)
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)

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)

GetClientAreaOrigin(self)

Get the origin of the client area of the window relative to the window's top left corner (the client area may be shifted because of the borders, scrollbars, other decorations...)
Returns:
Point
Overrides:
wx.Window.GetClientAreaOrigin

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

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:35 2005 http://epydoc.sf.net