Trees | Index | Help |
|
---|
Package wx :: Module _windows :: Class Frame |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |TopLevelWindow
--+ | Frame
XrcWiz
Method Summary | |
---|---|
__init__(self, Window parent, int id=-1, String title=EmptyString, ... | |
__repr__(self)
| |
ProcessCommand(self, int winid) -> bool | |
Create(self, Window parent, int id=-1, String title=EmptyString, ... | |
CreateStatusBar(self, int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, ... | |
CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar | |
DoGiveHelp(self, String text, bool show) | |
DoMenuUpdates(self, Menu menu=None) | |
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes (Static method) | |
GetClientAreaOrigin(self) -> Point | |
GetMenuBar(self) -> MenuBar | |
GetStatusBar(self) -> StatusBar | |
GetStatusBarPane(self) -> int | |
GetToolBar(self) -> wxToolBar | |
PopStatusText(self, int number=0) | |
ProcessCommand(self, int winid) -> bool | |
PushStatusText(self, String text, int number=0) | |
SendSizeEvent(self) | |
SetMenuBar(self, MenuBar menubar) | |
SetStatusBar(self, StatusBar statBar) | |
SetStatusBarPane(self, int n) | |
SetStatusText(self, String text, int number=0) | |
SetStatusWidths(self, int widths, int widths_field) | |
SetToolBar(self, wxToolBar toolbar) | |
Inherited from TopLevelWindow | |
GetIcon(self) -> Icon | |
GetTitle(self) -> String | |
Iconize(self, bool iconize=True) | |
IsActive(self) -> bool | |
IsFullScreen(self) -> bool | |
IsIconized(self) -> bool | |
IsMaximized(self) -> bool | |
MacGetMetalAppearance(self) -> bool | |
MacSetMetalAppearance(self, bool on) | |
Maximize(self, bool maximize=True) | |
RequestUserAttention(self, int flags=USER_ATTENTION_INFO) | |
Restore(self) | |
SetIcon(self, Icon icon) | |
SetIcons(self, wxIconBundle icons) | |
SetShape(self, Region region) -> bool | |
SetTitle(self, String title) | |
ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -> bool | |
Inherited from Window | |
AcceptsFocus(self) -> bool | |
AcceptsFocusFromKeyboard(self) -> bool | |
AddChild(self, Window child) | |
AssociateHandle(self, long handle) | |
CaptureMouse(self) | |
Center(self, int direction=BOTH) | |
CenterOnParent(self, int dir=BOTH) | |
CenterOnScreen(self, int dir=BOTH) | |
Center(self, int direction=BOTH) | |
CenterOnParent(self, int dir=BOTH) | |
CenterOnScreen(self, int dir=BOTH) | |
ClearBackground(self) | |
ClientToScreen(self, Point pt) -> Point | |
ClientToScreenXY(int x, int y) -> (x,y) | |
Close(self, bool force=False) -> bool | |
ConvertDialogPointToPixels(self, Point pt) -> Point | |
ConvertDialogSizeToPixels(self, Size sz) -> Size | |
ConvertPixelPointToDialog(self, Point pt) -> Point | |
ConvertPixelSizeToDialog(self, Size sz) -> Size | |
Destroy(self) -> bool | |
DestroyChildren(self) -> bool | |
Disable(self) -> bool | |
DissociateHandle(self) | |
DLG_PNT(self, Point pt) -> Point | |
DLG_SZE(self, Size sz) -> Size | |
Enable(self, bool enable=True) -> bool | |
FindFocus() -> Window (Static method) | |
FindWindowById(self, long winid) -> Window | |
FindWindowByName(self, String name) -> Window | |
Fit(self) | |
FitInside(self) | |
Freeze(self) | |
GetAcceleratorTable(self) -> AcceleratorTable | |
GetAdjustedBestSize(self) -> Size | |
GetAutoLayout(self) -> bool | |
GetBackgroundColour(self) -> Colour | |
GetBackgroundStyle(self) -> int | |
GetBestFittingSize(self) -> Size | |
GetBestSize(self) -> Size | |
GetBestSizeTuple() -> (width, height) | |
GetBestVirtualSize(self) -> Size | |
GetBorder(self, long flags) -> int GetBorder(self) -> int | |
GetCapture() -> Window (Static method) | |
GetCaret(self) -> Caret | |
GetCharHeight(self) -> int | |
GetCharWidth(self) -> int | |
GetChildren(self) -> PyObject | |
GetClientRect(self) -> Rect | |
GetClientSize(self) -> Size | |
GetClientSizeTuple() -> (width, height) | |
GetConstraints(self) -> LayoutConstraints | |
GetContainingSizer(self) -> Sizer | |
GetCursor(self) -> Cursor | |
GetDefaultAttributes(self) -> VisualAttributes | |
GetDefaultItem(self) -> Window | |
GetDropTarget(self) -> DropTarget | |
GetEventHandler(self) -> EvtHandler | |
GetExtraStyle(self) -> long | |
GetFont(self) -> Font | |
GetForegroundColour(self) -> Colour | |
GetFullTextExtent(String string, Font font=None) -> (width, height, descent, externalLeading) Get the width, height, decent and leading of the text using the current or specified font. | |
GetGrandParent(self) -> Window | |
GetHandle(self) -> long | |
GetHelpText(self) -> String | |
GetId(self) -> int | |
GetLabel(self) -> String | |
GetMaxHeight(self) -> int | |
GetMaxSize(self) -> Size | |
GetMaxWidth(self) -> int | |
GetMinHeight(self) -> int | |
GetMinSize(self) -> Size | |
GetMinWidth(self) -> int | |
GetName(self) -> String | |
GetParent(self) -> Window | |
GetPosition(self) -> Point | |
GetPositionTuple() -> (x,y) | |
GetRect(self) -> Rect | |
GetScrollPos(self, int orientation) -> int | |
GetScrollRange(self, int orientation) -> int | |
GetScrollThumb(self, int orientation) -> int | |
GetSize(self) -> Size | |
GetSizer(self) -> Sizer | |
GetSizeTuple() -> (width, height) | |
GetTextExtent(String string) -> (width, height) | |
GetThemeEnabled(self) -> bool | |
GetToolTip(self) -> ToolTip | |
GetUpdateClientRect(self) -> Rect | |
GetUpdateRegion(self) -> Region | |
GetValidator(self) -> Validator | |
GetVirtualSize(self) -> Size | |
GetVirtualSizeTuple() -> (width, height) | |
GetWindowStyleFlag(self) -> long | |
GetWindowStyleFlag(self) -> long | |
GetWindowVariant(self) -> int | |
HasCapture(self) -> bool | |
HasFlag(self, int flag) -> bool | |
HasScrollbar(self, int orient) -> bool | |
Hide(self) -> bool | |
HitTest(self, Point pt) -> int | |
HitTestXY(self, int x, int y) -> int | |
InheritAttributes(self) | |
InitDialog(self) | |
InvalidateBestSize(self) | |
IsBeingDeleted(self) -> bool | |
IsEnabled(self) -> bool | |
IsExposed(self, int x, int y, int w=1, int h=1) -> bool | |
IsExposedPoint(self, Point pt) -> bool | |
IsExposedRect(self, Rect rect) -> bool | |
IsRetained(self) -> bool | |
IsShown(self) -> bool | |
IsTopLevel(self) -> bool | |
Layout(self) -> bool | |
LineDown(self) -> bool | |
LineUp(self) -> bool | |
Lower(self) | |
MakeModal(self, bool modal=True) | |
Move(self, Point pt, int flags=SIZE_USE_EXISTING) | |
MoveAfterInTabOrder(self, Window win) | |
MoveBeforeInTabOrder(self, Window win) | |
MoveXY(self, int x, int y, int flags=SIZE_USE_EXISTING) | |
Navigate(self, int flags=NavigationKeyEvent.IsForward) -> bool | |
NewControlId() -> int (Static method) | |
NextControlId(int winid) -> int (Static method) | |
PageDown(self) -> bool | |
PageUp(self) -> bool | |
PopEventHandler(self, bool deleteHandler=False) -> EvtHandler | |
PopupMenu(self, Menu menu, Point pos=DefaultPosition) -> bool | |
PopupMenuXY(self, Menu menu, int x=-1, int y=-1) -> bool | |
Phase 3 of the 2-phase create <wink!> Call this method after precreating the window with the 2-phase create method. | |
PrepareDC(self, DC dc) | |
PrevControlId(int winid) -> int (Static method) | |
PushEventHandler(self, EvtHandler handler) | |
Raise(self) | |
Refresh(self, bool eraseBackground=True, Rect rect=None) | |
RefreshRect(self, Rect rect) | |
RegisterHotKey(self, int hotkeyId, int modifiers, int keycode) -> bool | |
ReleaseMouse(self) | |
RemoveChild(self, Window child) | |
RemoveEventHandler(self, EvtHandler handler) -> bool | |
Reparent(self, Window newParent) -> bool | |
ScreenToClient(self, Point pt) -> Point | |
ScreenToClientXY(int x, int y) -> (x,y) | |
ScrollLines(self, int lines) -> bool | |
ScrollPages(self, int pages) -> bool | |
ScrollWindow(self, int dx, int dy, Rect rect=None) | |
SetAcceleratorTable(self, AcceleratorTable accel) | |
SetAutoLayout(self, bool autoLayout) | |
SetBackgroundColour(self, Colour colour) -> bool | |
SetBackgroundStyle(self, int style) -> bool Returns the background style of the window. | |
SetBestFittingSize(self, Size size=DefaultSize) | |
SetCaret(self, Caret caret) | |
SetClientRect(self, Rect rect) | |
SetClientSize(self, Size size) | |
SetClientSizeWH(self, int width, int height) | |
SetConstraints(self, LayoutConstraints constraints) | |
SetContainingSizer(self, Sizer sizer) | |
SetCursor(self, Cursor cursor) -> bool | |
SetDefaultItem(self, Window child) -> Window | |
SetDimensions(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO) | |
SetDropTarget(self, DropTarget dropTarget) | |
SetEventHandler(self, EvtHandler handler) | |
SetExtraStyle(self, long exStyle) | |
SetFocus(self) | |
SetFocusFromKbd(self) | |
SetFont(self, Font font) -> bool | |
SetForegroundColour(self, Colour colour) -> bool | |
SetHelpText(self, String text) | |
SetHelpTextForId(self, String text) | |
SetId(self, int winid) | |
SetLabel(self, String label) | |
SetMaxSize(self, Size maxSize) | |
SetMinSize(self, Size minSize) | |
SetName(self, String name) | |
SetOwnBackgroundColour(self, Colour colour) | |
SetOwnFont(self, Font font) | |
SetOwnForegroundColour(self, Colour colour) | |
Move(self, Point pt, int flags=SIZE_USE_EXISTING) | |
SetRect(self, Rect rect, int sizeFlags=SIZE_AUTO) | |
SetScrollbar(self, int orientation, int position, int thumbSize, int range, bool refresh=True) Sets the scrollbar properties of a built-in scrollbar. | |
SetScrollPos(self, int orientation, int pos, bool refresh=True) | |
SetSize(self, Size size) | |
SetSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, int incH=-1) Allows specification of minimum and maximum window sizes, and window size increments. | |
SetSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize) | |
SetSizer(self, Sizer sizer, bool deleteOld=True) | |
SetSizerAndFit(self, Sizer sizer, bool deleteOld=True) | |
SetSizeWH(self, int width, int height) | |
SetThemeEnabled(self, bool enableTheme) This function tells a window if it should use the system's "theme" code to draw the windows' background instead if its own background drawing code. | |
SetTmpDefaultItem(self, Window win) | |
SetToolTip(self, ToolTip tip) | |
SetToolTipString(self, String tip) | |
SetValidator(self, Validator validator) | |
SetVirtualSize(self, Size size) | |
SetVirtualSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1) | |
SetVirtualSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize) | |
SetVirtualSizeWH(self, int w, int h) | |
SetWindowStyleFlag(self, long style) | |
SetWindowStyleFlag(self, long style) | |
SetWindowVariant(self, int variant) | |
ShouldInheritColours(self) -> bool | |
Show(self, bool show=True) -> bool | |
Thaw(self) | |
TransferDataFromWindow(self) -> bool | |
TransferDataToWindow(self) -> bool | |
UnregisterHotKey(self, int hotkeyId) -> bool | |
Update(self) | |
UpdateWindowUI(self, long flags=UPDATE_UI_NONE) | |
Validate(self) -> bool | |
WarpPointer(self, int x, int y) | |
Inherited from EvtHandler | |
_setOORInfo(self, PyObject _self) | |
AddPendingEvent(self, Event event) | |
Bind an event to an event handler. | |
Connect(self, int id, int lastId, int eventType, PyObject func) | |
Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool | |
GetEvtHandlerEnabled(self) -> bool | |
GetNextHandler(self) -> EvtHandler | |
GetPreviousHandler(self) -> EvtHandler | |
ProcessEvent(self, Event event) -> bool | |
ProcessPendingEvents(self) | |
SetEvtHandlerEnabled(self, bool enabled) | |
SetNextHandler(self, EvtHandler handler) | |
SetPreviousHandler(self, EvtHandler handler) | |
Disconencts the event handler binding for event from self. | |
Inherited from Object | |
GetClassName(self) -> String | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
Inherited from Window | |
Implements |
__implemented__ = <implementedBy wx._core.Window>
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Inherited from Object | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
Instance Method Details |
---|
__init__(self,
*args,
**kwargs)
|
Command(*args, **kwargs)ProcessCommand(self, int winid) -> bool |
Create(*args, **kwargs)Create(self, Window parent, int id=-1, String title=EmptyString, Point pos=DefaultPosition, Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
|
CreateStatusBar(*args, **kwargs)CreateStatusBar(self, int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, int winid=0, String name=StatusLineNameStr) -> StatusBar |
CreateToolBar(*args, **kwargs)CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -> wxToolBar |
DoGiveHelp(*args, **kwargs)DoGiveHelp(self, String text, bool show) |
DoMenuUpdates(*args, **kwargs)DoMenuUpdates(self, Menu menu=None) |
GetClientAreaOrigin(*args, **kwargs)GetClientAreaOrigin(self) -> Point 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...)
|
GetMenuBar(*args, **kwargs)GetMenuBar(self) -> MenuBar |
GetStatusBar(*args, **kwargs)GetStatusBar(self) -> StatusBar |
GetStatusBarPane(*args, **kwargs)GetStatusBarPane(self) -> int |
GetToolBar(*args, **kwargs)GetToolBar(self) -> wxToolBar |
PopStatusText(*args, **kwargs)PopStatusText(self, int number=0) |
ProcessCommand(*args, **kwargs)ProcessCommand(self, int winid) -> bool |
PushStatusText(*args, **kwargs)PushStatusText(self, String text, int number=0) |
SendSizeEvent(*args, **kwargs)SendSizeEvent(self) |
SetMenuBar(*args, **kwargs)SetMenuBar(self, MenuBar menubar) |
SetStatusBar(*args, **kwargs)SetStatusBar(self, StatusBar statBar) |
SetStatusBarPane(*args, **kwargs)SetStatusBarPane(self, int n) |
SetStatusText(*args, **kwargs)SetStatusText(self, String text, int number=0) |
SetStatusWidths(*args, **kwargs)SetStatusWidths(self, int widths, int widths_field) |
SetToolBar(*args, **kwargs)SetToolBar(self, wxToolBar toolbar) |
Static Method Details |
---|
GetClassDefaultAttributes(*args, **kwargs)GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes 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. |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:24 2005 | http://epydoc.sf.net |