VPane: Difference between revisions
Created page with "The <tt>vPane</tt> class serves as a base class for various pane objects contained by the <tt>[vcmdwin.htm vCmdWindow]</tt> class. There are no methods or services provided by th..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
The <tt>vPane</tt> class serves as a base class for various pane objects contained by the <tt> | The <tt>vPane</tt> class serves as a base class for various pane objects contained by the <tt>vCmdWindow</tt> class. There are no methods or services provided by the <tt>vPane</tt> class that you need to use directly, but the class is used extensively by '''''V''''' internally, and understanding its concepts are important to using '''''V'''''. | ||
There are four types of panes used by '''''V''''' in a <tt>vCmdWindow</tt>, including menu panes, canvas panes, command panes and status panes. To add a pane to a window, you will first define the contents of the pane (menu, commands, status info) using static arrays, then construct an instance of the pane with <tt>new vWhateverPane</tt>. Then you add the instance to the window using <tt>AddPane</tt>. | There are four types of panes used by '''''V''''' in a <tt>vCmdWindow</tt>, including menu panes, canvas panes, command panes and status panes. To add a pane to a window, you will first define the contents of the pane (menu, commands, status info) using static arrays, then construct an instance of the pane with <tt>new vWhateverPane</tt>. Then you add the instance to the window using <tt>AddPane</tt>. | ||
Note that using the canvas panes is described in the [ | Note that using the canvas panes is described in the [Drawing] page of the tutorial. The commands used with a command pane are described in the [commands] page, while menus and status bars are covered in <tt>vMenu</tt> and <tt>vStatus</tt>. | ||
==Canvas Pane== | ==Canvas Pane== | ||
; '''Header:''' | ; '''Header:''' | ||
: <tt> | : <tt><v/vcanvas.h></tt> | ||
; '''Class name:''' | ; '''Class name:''' | ||
: vCanvasPane | : vCanvasPane | ||
Line 24: | Line 23: | ||
==Menu Pane== | ==Menu Pane== | ||
; '''Header:''' | ; '''Header:''' | ||
: <tt> | : <tt><v/vmenu.h></tt> | ||
; '''Class name:''' | ; '''Class name:''' | ||
: vMenuPane | : vMenuPane | ||
Line 33: | Line 31: | ||
==Status Pane== | ==Status Pane== | ||
; '''Header:''' | ; '''Header:''' | ||
: <tt> | : <tt><v/vstatusp.h></tt> | ||
; '''Class name:''' | ; '''Class name:''' | ||
: vStatusPane | : vStatusPane | ||
Line 42: | Line 39: | ||
==See Also== | ==See Also== | ||
CommandObject, vCanvasPane, vCmdWindow, vCommandPane, vMenu, vStatus | |||
[[Category:V C++ GUI Framework]] | |||
[[Category: |
Revision as of 18:32, 1 March 2017
The vPane class serves as a base class for various pane objects contained by the vCmdWindow class. There are no methods or services provided by the vPane class that you need to use directly, but the class is used extensively by V internally, and understanding its concepts are important to using V.
There are four types of panes used by V in a vCmdWindow, including menu panes, canvas panes, command panes and status panes. To add a pane to a window, you will first define the contents of the pane (menu, commands, status info) using static arrays, then construct an instance of the pane with new vWhateverPane. Then you add the instance to the window using AddPane.
Note that using the canvas panes is described in the [Drawing] page of the tutorial. The commands used with a command pane are described in the [commands] page, while menus and status bars are covered in vMenu and vStatus.
Canvas Pane
- Header:
- <v/vcanvas.h>
- Class name:
- vCanvasPane
- Constructor:
- userCanvasPane()
Command Pane
- Header:
- <v/vcmdpane.h>
- Class name:
- vCommandPane
- Constructor:
- vCommandPane(CommandObject* cmdbar)
Menu Pane
- Header:
- <v/vmenu.h>
- Class name:
- vMenuPane
- Constructor:
- vMenuPane(vMenu* menubar)
Status Pane
- Header:
- <v/vstatusp.h>
- Class name:
- vStatusPane
- Constructor:
- vStatusPane(vStatus* sbar)
See Also
CommandObject, vCanvasPane, vCmdWindow, vCommandPane, vMenu, vStatus