VkRadioSubMenu(3x) VkRadioSubMenu(3x)
VkRadioSubMenu - A menu pane with radio behavior
VkSubMenu : VkMenu : VkMenuItem : VkComponent : VkCallbackObject
#include <Vk/VkRadioSubMenu.h>
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
VkRadioSubMenu(const char *name,
VkMenuDesc *desc = NULL,
XtPointer defaultClientData = 0);
VkRadioSubMenu(Widget parent,
const char *name,
VkMenuDesc *desc = NULL,
XtPointer defaultClientData = 0);
~VkRadioSubMenu();
Access Functions [Toc] [Back]
virtual const char *className();
VkMenuItemType menuType ();
This class is similar to VkSubMenu, but the XmRowColumn widget used as a
menu pane is set to exhibit radio behavior. This class is intended to
support one-of-many collections of VkToggleItem objects.
FUNCTION DESCRIPTIONS [Toc] [Back] VkRadioSubMenu
VkRadioSubMenu(const char *name,
VkMenuDesc *desc = NULL,
XtPointer defaultClientData = 0);
VkRadioSubMenu(Widget parent,
const char *name,
VkMenuDesc *desc = NULL,
XtPointer defaultClientData = 0);
The VkRadioSubMenu constructor initializes a VkRadioSubmenu object.
If the second form, which takes a widget as the first argument, is
used, the widgets used in the menu are built immediately. Otherwise,
the widgets in the menu are created at some later time. Both forms
of the constructor support a defaultClientData argument which can be
used to supply a clientData argument for use with menu items added
Page 1
VkRadioSubMenu(3x) VkRadioSubMenu(3x)
to the pane whose callbacks do not specify clientData. This allows
menus to be specified statically, while still allowing an instance
pointer to be used with callbacks. Both forms of the constructor
also accept an optional array of VkMenuDesc structures that
statically describe the contents of the menu.
It is seldom necessary to directly create a VkRadioSubMenu object.
RadioSubMenus can be added to any VkMenuBar, VkPopupMenu, or
VkSubMenu by calling those classes's addRadioSubmenu() member
function. Menu panes can also be added to a VkWindow by calling
VkWindow::addRadioMenuPane().
~VkRadioSubMenu
~VkRadioSubMenu();
This method is empty. See the VkSubMenu destructor for more
information.
className
virtual const char *className();
Returns the string "VkRadioSubMenu".
VkMenuItemType menuType ();
Returns VkMenuItem::RADIOSUBMENU.
INHERITED MEMBER FUNCTIONS [Toc] [Back] Inherited from VkSubMenu
pulldown()
Inherited from VkMenu [Toc] [Back]
isContainer(), addAction(), addActionWidget(),
addConfirmFirstAction(), addSeparator(), addLabel(),
addToggle(),add(), addSubmenu(), addRadioSubmenu(),
registerSubmenu(), findNamedItem(), removeItem(), activateItem(),
deactivateItem(), replace(), getItemPosition(), getItemPosition(),
getItemPosition(), operator[](), numItems(), _contents, _nItems,
_maxItems,
Inherited from VkMenuItem [Toc] [Back]
show(), hide(), manageAll(), setLabel(), setPosition(), activate(),
deactivate(), remove(), show(), _position, _isBuilt, _sensitive,
_parentMenu, _label, _isHidden, _unmanagedWidgets,
_numUnmanagedWidgets
Page 2
VkRadioSubMenu(3x) VkRadioSubMenu(3x)
Inherited from VkComponent [Toc] [Back]
installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
setDefaultResources(), getResources(), manage(), unmanage(),
baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback
Inherited from VkCallbackObject [Toc] [Back]
callCallbacks(), addCallback(), removeCallback(),
removeAllCallbacks()
VkSubMenu, VkMenu, VkMenuItem, VkComponent, VkCallbackObject
ViewKit Programmer's Guide
The X Window System, DEC Press, Bob Sheifler and Jim Gettys
The X Window System Toolkit, DEC Press, Paul Asente and Ralph Swick
The OSF/Motif Programmers Reference, Prentice Hall, OSF
PPPPaaaaggggeeee 3333 [ Back ]
|