Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Class to help in Input Method management. More...
#include <ilviews/util/im.h>
Public Member Functions | |
IlvImValue () | |
Constructor. More... | |
IlvImValue (const char *name, IlAny value) | |
Constructor. More... | |
IlSymbol * | getName () const |
Returns the input context attribute. More... | |
IlAny | getValue () const |
Returns the input context attribute value. More... | |
void | set (const char *name, IlAny value) |
Sets the name and value. More... | |
Class to help in Input Method management.
Library: display
IlvImValue::IlvImValue | ( | ) |
Constructor.
Initializes a new, empty name/value pair for input context attributes.
IlvImValue::IlvImValue | ( | const char * | name, |
IlAny | value | ||
) |
Constructor.
Initializes a new name/value pair for input context attributes. The following names are supported:
imPoint
to set the position of the preedit window. In that case the value must be a pointer to an IlvPoint
and represents the point located at the baseline of the text where the start of input should take place. imArea
to set the size of the preedit window. In that case the value must be a pointer to an IlvRect
which represents the bounding box of the object. imFont
to set the font of the preedit string. In that case the value must be a pointer to an IlvFont
. imBackground
to set the background of the preedit window. In that case the value must be a pointer to an IlvColor
. imForeground
to set the foreground of the preedit window. In that case the value must be a pointer to an IlvColor
. name | The string representing the input context attribute. |
value | The value of the the input context attribute. |
IlSymbol* IlvImValue::getName | ( | ) | const |
Returns the input context attribute.
IlAny IlvImValue::getValue | ( | ) | const |
Returns the input context attribute value.
void IlvImValue::set | ( | const char * | name, |
IlAny | value | ||
) |
Sets the name and value.
name | The name of the input context attribute. |
value | A pointer to an input context attribute value. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.