VkPrefText(3x)
VkPrefText - Text input preference field
As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.
NAME VkPrefText - Text input preference field INHERITS FROM VkPrefItem : VkComponent : VkCallbackObject HEADER FILE #include <Vk/VkPrefItem.h> PUBLIC PROTOCOL SUMMARY Constructor/Destructor VkPrefText(const char* name, int columns = 5); virtual void ~VkPrefText(void); Setting and getting Values void setValue(char* str); char* getValue(void); CLASS DESCRIPTION VkPrefText is a text preference object. The user can type a character string into the object. See VkPrefItem for more generic information about preference objects. FUNCTION DESCRIPTIONS VkPrefText() VkPrefText(const char* name, int columns = 5); virtual void ~VkPrefText(void); Creates a Motif XmText widget as its base, using the name suffixed by "Base". A label widget is created using the name suffixed by "Label". setValue() void setValue(char* str); Changes the text object's current and real value. getValue() char* getValue(void); Copies the text object's current value to the real value, and returns a reference to it. The returned value is an internal pointer and should not be freed. INHERITED MEMBER FUNCTIONS Inherited from VkPrefItem VkPrefItem(), ~VkPrefItem(), activate(), deleteChildren(), labelHeight(), baseHeight(), setLabelHeight(), setBaseHeight(), activateCallback(), installDestroyHandlers(), labelWidget(), buildLabel(), getHeight(), setHeight(), _labelWidget, _baseName, _labelName, _activated, _homogeneous, 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 VkPrefItem, VkComponent 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