VkPrefText(3x) VkPrefText(3x)
VkPrefText - Text input preference field
VkPrefItem : VkComponent : VkCallbackObject
#include <Vk/VkPrefItem.h>
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
VkPrefText(const char* name, int columns = 5);
virtual void ~VkPrefText(void);
Setting and getting Values [Toc] [Back]
void setValue(char* str);
char* getValue(void);
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 [Toc] [Back] 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.
Page 1
VkPrefText(3x) VkPrefText(3x)
INHERITED MEMBER FUNCTIONS [Toc] [Back] 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 [Toc] [Back]
installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
setDefaultResources(), getResources(), manage(), unmanage(),
baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback
Inherited from VkCallbackObject [Toc] [Back]
callCallbacks(), addCallback(), removeCallback(),
removeAllCallbacks()
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
PPPPaaaaggggeeee 2222 [ Back ]
|