VkRadioSubMenu(3x)
VkRadioSubMenu - A menu pane with radio behavior
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME VkRadioSubMenu - A menu pane with radio behavior INHERITS FROM VkSubMenu : VkMenu : VkMenuItem : VkComponent : VkCallbackObject HEADER FILE #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 virtual const char *className(); VkMenuItemType menuType (); CLASS DESCRIPTION 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 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 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 Inherited from VkSubMenu pulldown() Inherited from VkMenu 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 show(), hide(), manageAll(), setLabel(), setPosition(), activate(), deactivate(), remove(), show(), _position, _isBuilt, _sensitive, _parentMenu, _label, _isHidden, _unmanagedWidgets, _numUnmanagedWidgets Inherited from VkComponent installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(), setDefaultResources(), getResources(), manage(), unmanage(), baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback Inherited from VkCallbackObject callCallbacks(), addCallback(), removeCallback(), removeAllCallbacks() SEE ALSO 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