Frame Class Reference

A frame is a window whose size and position can (usually) be changed by the user. It usually has thick borders and a title bar, and can optionally contain a menu bar, toolbar and status bar. A frame can contain any window that is not a frame or dialog. More...

Inheritance diagram for Frame:

Window EvtHandler wxObject IDisposable MDIChildFrame MDIParentFrame MiniFrame PreviewFrame SplashScreen

List of all members.

Public Member Functions

 this (IntPtr wxobj)
 this ()
 this (Window parent, int id, string title, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=wxDEFAULT_FRAME_STYLE, string name=wxFrameNameStr)
 this (Window parent, string title, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=wxDEFAULT_FRAME_STYLE, string name=wxFrameNameStr)
bool Create (Window parent, int id, string title, inout Point pos, inout Size size, int style, string name)
 this (string title, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=wxDEFAULT_FRAME_STYLE)
bool ShowFullScreen (bool show, int style)
bool ShowFullScreen (bool show)
bool IsFullScreen ()
StatusBar CreateStatusBar ()
StatusBar CreateStatusBar (int number)
StatusBar CreateStatusBar (int number, int style)
StatusBar CreateStatusBar (int number, int style, int id)
StatusBar CreateStatusBar (int number, int style, int id, string name)
StatusBar statusBar ()
void statusBar (StatusBar value)
int StatusBarPane ()
void StatusBarPane (int value)
void SendSizeEvent ()
void icon (Icon value)
void menuBar (MenuBar value)
MenuBar menuBar ()
void StatusText (string value)
void SetStatusText (string text)
void SetStatusText (string text, int number)
void StatusWidths (int[] value)
void SetStatusWidths (int n, int[] widths)
ToolBar CreateToolBar ()
ToolBar CreateToolBar (int style)
ToolBar CreateToolBar (int style, int id)
ToolBar CreateToolBar (int style, int id, string name)
ToolBar toolBar ()
void toolBar (ToolBar value)
bool Iconized ()
void Iconized (bool value)
bool Maximized ()
void Maximized (bool value)
override Point ClientAreaOrigin ()

Public Attributes

const int wxFULLSCREEN_NOMENUBAR = 0x0001
const int wxFULLSCREEN_NOTOOLBAR = 0x0002
const int wxFULLSCREEN_NOSTATUSBAR = 0x0004
const int wxFULLSCREEN_NOBORDER = 0x0008
const int wxFULLSCREEN_NOCAPTION = 0x0010
const int wxFULLSCREEN_ALL
const string wxFrameNameStr = "frame"


Detailed Description

A frame is a window whose size and position can (usually) be changed by the user. It usually has thick borders and a title bar, and can optionally contain a menu bar, toolbar and status bar. A frame can contain any window that is not a frame or dialog.

Constructor & Destructor Documentation

this ( IntPtr  wxobj  ) 

Reimplemented from Window.

Reimplemented in MDIParentFrame, MDIChildFrame, MiniFrame, and SplashScreen.

this (  ) 

Reimplemented in MDIParentFrame, MDIChildFrame, and MiniFrame.

public this ( Window  parent,
int  id,
string  title,
Point  pos = wxDefaultPosition,
Size  size = wxDefaultSize,
int  style = wxDEFAULT_FRAME_STYLE,
string  name = wxFrameNameStr 
)

Constructor, creating the window.

Parameters:
parent The window parent. This may be NULL. If it is non-NULL, the frame will always be displayed on top of the parent window on Windows.
id The window identifier. It may take a value of -1 to indicate a default value.
title The caption to be displayed on the frame's title bar.
pos The window position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxWidgets, depending on platform.
size The window size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform.
style The window style. See wxFrame.
name The name of the window. This parameter is used to associate a name with the item, allowing the application user to set Motif resource values for individual windows.

Reimplemented in MDIParentFrame.

this ( Window  parent,
string  title,
Point  pos = wxDefaultPosition,
Size  size = wxDefaultSize,
int  style = wxDEFAULT_FRAME_STYLE,
string  name = wxFrameNameStr 
)

Reimplemented in MDIParentFrame.

this ( string  title,
Point  pos = wxDefaultPosition,
Size  size = wxDefaultSize,
int  style = wxDEFAULT_FRAME_STYLE 
)

Reimplemented in MiniFrame.


Member Function Documentation

bool Create ( Window  parent,
int  id,
string  title,
inout Point  pos,
inout Size  size,
int  style,
string  name 
)

Reimplemented in MDIParentFrame.

bool ShowFullScreen ( bool  show,
int  style 
)

bool ShowFullScreen ( bool  show  ) 

bool IsFullScreen (  ) 

StatusBar CreateStatusBar (  ) 

StatusBar CreateStatusBar ( int  number  ) 

StatusBar CreateStatusBar ( int  number,
int  style 
)

StatusBar CreateStatusBar ( int  number,
int  style,
int  id 
)

StatusBar CreateStatusBar ( int  number,
int  style,
int  id,
string  name 
)

StatusBar statusBar (  ) 

void statusBar ( StatusBar  value  ) 

int StatusBarPane (  ) 

void StatusBarPane ( int  value  ) 

void SendSizeEvent (  ) 

void icon ( Icon  value  ) 

void menuBar ( MenuBar  value  ) 

MenuBar menuBar (  ) 

void StatusText ( string  value  ) 

void SetStatusText ( string  text  ) 

void SetStatusText ( string  text,
int  number 
)

void StatusWidths ( int[]  value  ) 

void SetStatusWidths ( int  n,
int[]  widths 
)

ToolBar CreateToolBar (  ) 

ToolBar CreateToolBar ( int  style  ) 

ToolBar CreateToolBar ( int  style,
int  id 
)

ToolBar CreateToolBar ( int  style,
int  id,
string  name 
)

ToolBar toolBar (  ) 

void toolBar ( ToolBar  value  ) 

bool Iconized (  ) 

void Iconized ( bool  value  ) 

bool Maximized (  ) 

void Maximized ( bool  value  ) 

override Point ClientAreaOrigin (  ) 

Reimplemented from Window.


Member Data Documentation

const int wxFULLSCREEN_NOMENUBAR = 0x0001

const int wxFULLSCREEN_NOTOOLBAR = 0x0002

const int wxFULLSCREEN_NOSTATUSBAR = 0x0004

const int wxFULLSCREEN_NOBORDER = 0x0008

const int wxFULLSCREEN_NOCAPTION = 0x0010

const int wxFULLSCREEN_ALL

Initial value:

const string wxFrameNameStr = "frame"


The documentation for this class was generated from the following files:
Generated on Sun Feb 1 21:30:24 2009 for wxD by  doxygen 1.5.4