wxFrame
Implements methods from the following classes
wxTopLevelWindow
Methods
wxFrame
Default constructor.
Centre
Centres the frame on the display.
Create
Used in two-step frame construction.
CreateStatusBar
Creates a status bar at the bottom of the frame.
CreateToolBar
Creates a toolbar at the top or left of the frame.
GetClientAreaOrigin
Returns the origin of the frame client area (in client coordinates).
GetMenuBar
Returns a pointer to the menubar currently associated with the frame (if any).
GetStatusBar
Returns a pointer to the status bar currently associated with the frame (if any).
GetStatusBarPane
Returns the status bar pane used to display menu and toolbar help.
GetToolBar
Returns a pointer to the toolbar currently associated with the frame (if any).
OnCreateStatusBar
Virtual function called when a status bar is requested by CreateStatusBar().
OnCreateToolBar
Virtual function called when a toolbar is requested by CreateToolBar().
PopStatusText
ProcessCommand
Simulate a menu command.
PushStatusText
SetMenuBar
Tells the frame to show the given menu bar.
SetStatusBar
Associates a status bar with the frame.
SetStatusBarPane
Set the status bar pane used to display menu and toolbar help.
SetStatusText
Sets the status bar text and redraws the status bar.
SetStatusWidths
Sets the widths of the fields in the status bar.
SetToolBar
Associates a toolbar with the frame.
Static Methods
wxFrame
wxFrame
( )
Default constructor.
wxFrame
(
wxWindow
&
$parent
,
integer
$id
,
string
$title
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
=
wxDEFAULT_FRAME_STYLE
,
string
$name
=
wxFrameNameStr
)
Constructor, creating the window.
Centre
Centre
(
integer
$direction
=
wxBOTH
)
Centres the frame on the display.
Create
bool
Create
(
wxWindow
&
$parent
,
integer
$id
,
string
$title
,
wxPoint
$pos
=
wxDefaultPosition
,
wxSize
$size
=
wxDefaultSize
,
integer
$style
=
wxDEFAULT_FRAME_STYLE
,
string
$name
=
wxFrameNameStr
)
Used in two-step frame construction.
CreateStatusBar
wxStatusBar
&
CreateStatusBar
(
integer
$number
=
1
,
integer
$style
=
wxSTB_DEFAULT_STYLE
,
integer
$id
,
string
$name
=
wxStatusBarNameStr
)
Creates a status bar at the bottom of the frame.
CreateToolBar
wxToolBar
&
CreateToolBar
(
integer
$style
=
wxTB_DEFAULT_STYLE
,
integer
$id
=
wxID_ANY
,
string
$name
=
wxToolBarNameStr
)
Creates a toolbar at the top or left of the frame.
GetClientAreaOrigin
wxPoint
GetClientAreaOrigin
( )
Returns the origin of the frame client area (in client coordinates).
GetMenuBar
wxMenuBar
&
GetMenuBar
( )
Returns a pointer to the menubar currently associated with the frame (if any).
GetStatusBar
wxStatusBar
&
GetStatusBar
( )
Returns a pointer to the status bar currently associated with the frame (if any).
GetStatusBarPane
integer
GetStatusBarPane
( )
Returns the status bar pane used to display menu and toolbar help.
GetToolBar
wxToolBar
&
GetToolBar
( )
Returns a pointer to the toolbar currently associated with the frame (if any).
OnCreateStatusBar
wxStatusBar
&
OnCreateStatusBar
(
integer
$number
,
integer
$style
,
integer
$id
,
string
$name
)
Virtual function called when a status bar is requested by CreateStatusBar().
OnCreateToolBar
wxToolBar
&
OnCreateToolBar
(
integer
$style
,
integer
$id
,
string
$name
)
Virtual function called when a toolbar is requested by CreateToolBar().
PopStatusText
PopStatusText
(
integer
$number
)
ProcessCommand
bool
ProcessCommand
(
integer
$id
)
Simulate a menu command.
PushStatusText
PushStatusText
(
string
$text
,
integer
$number
)
SetMenuBar
SetMenuBar
(
wxMenuBar
&
$menuBar
)
Tells the frame to show the given menu bar.
SetStatusBar
SetStatusBar
(
wxStatusBar
&
$statusBar
)
Associates a status bar with the frame.
SetStatusBarPane
SetStatusBarPane
(
integer
$n
)
Set the status bar pane used to display menu and toolbar help.
SetStatusText
SetStatusText
(
string
$text
,
integer
$number
)
Sets the status bar text and redraws the status bar.
SetStatusWidths
SetStatusWidths
(
integer
$n
,
array
$widths_field
)
Sets the widths of the fields in the status bar.
SetToolBar
SetToolBar
(
wxToolBar
&
$toolBar
)
Associates a toolbar with the frame.