wx.Panel Class Reference

Inheritance diagram for wx.Panel:

wx.Window wx.EvtHandler wx.Object wx.ColourCtrl wx.DateTimeCtrl wx.FontCtrl wx.GridCtrl.Extended.Grid wx.Html.HtmlWindowWithSearch wx.PreviewControlBar wx.ScrolledWindow wx.VScrolledWindow wx.WizardPage

List of all members.

Public Member Functions

bool Create (Window parent, int id, Point pos, Size size, wx.WindowStyles style, wxString name)
bool Create (Window parent, int id, Point pos, Size size, wx.WindowStyles style, string name)
 Panel (Window parent, Point pos, Size size, wx.WindowStyles style, string name)
 Panel (Window parent, Point pos, Size size, wx.WindowStyles style)
 Panel (Window parent, Point pos, Size size)
 Panel (Window parent, int id, Point pos, Size size, wx.WindowStyles style, wxString name)
 Panel (Window parent, int id, Point pos, Size size, wx.WindowStyles style, string name)
 Panel (Window parent, int id, Point pos, Size size, wx.WindowStyles style)
 Panel (Window parent, int id, Point pos, Size size)
 Panel (Window parent, int id)
 Panel (Window parent)
 Panel ()
 Panel (IntPtr wxObject)
override void SetFocus ()
override void SetFocusFromKbd ()


Detailed Description

A panel is a window on which controls are placed. It is usually placed within a frame. It contains minimal extra functionality over and above its parent class wx.Window; its main purpose is to be similar in appearance and functionality to a dialog, but with the flexibility of having any window as a parent.

Note: if not all characters are being intercepted by your OnKeyDown or OnChar handler, it may be because you are using the wx.WindowStyles.TAB_TRAVERSAL style, which grabs some keypresses for use by child controls.


Constructor & Destructor Documentation

wx.Panel.Panel ( IntPtr  wxObject  ) 

wx.Panel.Panel (  ) 

wx.Panel.Panel ( Window  parent  ) 

wx.Panel.Panel ( Window  parent,
int  id 
)

wx.Panel.Panel ( Window  parent,
int  id,
Point  pos,
Size  size 
)

wx.Panel.Panel ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

Do not forget to use style wx.WindowStyles.TAB_TRAVERSAL if you want this panel to be traversal.

wx.Panel.Panel ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)

Do not forget to use style wx.WindowStyles.TAB_TRAVERSAL if you want this panel to be traversal.

wx.Panel.Panel ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style,
wxString  name 
)

Do not forget to use style wx.WindowStyles.TAB_TRAVERSAL if you want this panel to be traversal.

wx.Panel.Panel ( Window  parent,
Point  pos,
Size  size 
)

wx.Panel.Panel ( Window  parent,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

Do not forget to use style wx.WindowStyles.TAB_TRAVERSAL if you want this panel to be traversal.

wx.Panel.Panel ( Window  parent,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)

Do not forget to use style wx.WindowStyles.TAB_TRAVERSAL if you want this panel to be traversal.


Member Function Documentation

bool wx.Panel.Create ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style,
wxString  name 
)

Do not forget to use style wx.WindowStyles.TAB_TRAVERSAL if you want this panel to be traversal.

Reimplemented in wx.Html.HtmlWindow, wx.VListBox, and wx.VScrolledWindow.

bool wx.Panel.Create ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)

Do not forget to use style wx.WindowStyles.TAB_TRAVERSAL if you want this panel to be traversal.

Reimplemented in wx.Html.HtmlWindow, wx.Html.HtmlWindowWithSearch, wx.HtmlListBox, wx.VListBox, and wx.VScrolledWindow.

override void wx.Panel.SetFocus (  )  [virtual]

This sets the window to receive keyboard input. Please note, that this method cannot be overridden from any class. Currently, inheritors of wx.Panel and wx.Dialog can override this.

Reimplemented from wx.Window.

override void wx.Panel.SetFocusFromKbd (  )  [virtual]

This function is called by wxWidgets keyboard navigation code when the user gives the focus to this window from keyboard (e.g. using TAB key). By default this method simply calls SetFocus but can be overridden to do something in addition to this in the derived classes. Please note, that this method cannot be overridden from any class. Currently, inheritors of wx.Panel and wx.Dialog can override this.

Reimplemented from wx.Window.


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads