VkwindowMainWindow.h
Go to the documentation of this file.
1 
3 //
4 // Header file for VkwindowMainWindow
5 //
6 // This class is a subclass of VkWindow
7 //
8 // Normally, very little in this file should need to be changed.
9 // Create/add/modify menus using RapidApp.
10 //
11 // Restrict changes to those sections between
12 // the "//--- Start/End editable code block" markers
13 // Doing so will allow you to make changes using RapidApp
14 // without losing any changes you may have made manually
15 //
17 #ifndef VKWINDOWMAINWINDOW_H
18 #define VKWINDOWMAINWINDOW_H
19 #include <Vk/VkWindow.h>
20 
21 
22 class VkMenuItem;
23 class VkMenuToggle;
24 class VkMenuConfirmFirstAction;
25 class VkSubMenu;
26 class VkRadioSubMenu;
27 
28 //---- Start editable code block: headers and declarations
29 
30 
31 //---- End editable code block: headers and declarations
32 
33 
34 //---- VkwindowMainWindow class declaration
35 
36 class VkwindowMainWindow: public VkWindow {
37 
38  public:
39 
40  VkwindowMainWindow( const char * name,
41  ArgList args = NULL,
42  Cardinal argCount = 0 );
44  const char *className();
45  virtual Boolean okToQuit();
46 
47  //---- Start editable code block: VkwindowMainWindow public
48 
49  class SoXtExaminerViewer *viewer();
50 
51  //---- End editable code block: VkwindowMainWindow public
52 
53 
54  protected:
55 
56 
57 
58  // Classes created by this class
59 
60  class Hpaned *_hpaned;
61 
62 
63  // Widgets created by this class
64 
65 
66  // Menu items created by this class
67  VkSubMenu *_filePane;
68  VkMenuItem *_openButton;
69  VkMenuItem *_separator1;
70  VkMenuItem *_exitButton;
71 
72  // Member functions called from callbacks
73 
74  virtual void openFile ( Widget, XtPointer );
75  virtual void quit ( Widget, XtPointer );
76 
77 
78  //---- Start editable code block: VkwindowMainWindow protected
79 
80 
81  //---- End editable code block: VkwindowMainWindow protected
82 
83 
84  private:
85 
86 
87  // Callbacks to interface with Motif
88 
89  static void openFileCallback ( Widget, XtPointer, XtPointer );
90  static void quitCallback ( Widget, XtPointer, XtPointer );
91 
93 
94 
95  //---- Start editable code block: VkwindowMainWindow private
96 
97 
98  //---- End editable code block: VkwindowMainWindow private
99 
100 
101 };
102 //---- Start editable code block: End of generated code
103 
104 
105 //---- End editable code block: End of generated code
106 
107 #endif
class SoXtExaminerViewer * viewer()
VkwindowMainWindow(const char *name, ArgList args=NULL, Cardinal argCount=0)
png_infop png_charpp name
static void openFileCallback(Widget, XtPointer, XtPointer)
static String _defaultVkwindowMainWindowResources[]
class Hpaned * _hpaned
virtual void openFile(Widget, XtPointer)
VkMenuItem * _openButton
Definition: Hpaned.h:34
virtual Boolean okToQuit()
VkMenuItem * _separator1
VkMenuItem * _exitButton
static void quitCallback(Widget, XtPointer, XtPointer)
const char * className()
virtual void quit(Widget, XtPointer)


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:51