Home You are here: Home > Support > Reference v1.0

Change language: German

XmMemberStateCx Class Reference

Inheritance diagram for XmMemberStateCx:

XmPathInfo XmParamAccess XmMemberState List of all members.

Detailed Description

Context class used in XmObject::MemberState() to set the appearance of object members.

The context class is parameter in XmObject::MemberState() to handle the appearance and behavior of member data and member functions in the user interface. For example members can be enabled/disabled, checked/unchecked or appear with user defined names. To determine the appearance, you have the possibility to retrieve information about parent objects via XmPathInfo. To get parameters of member functions use the class XmParamAccess.

More information in section User interface specific features.


Public Member Functions

const XmDialogGetDlg () const
 Return the associated dialog, in which the member state should be calculated.
const XmMemberPropGetProp () const
 Return the reference of the member state.
void SetMemState (bool enable, const XmString *str=NULL, int icon=-1)
 Set all attributes of member data or member function.
void SetMemEnabled (bool enabled)
 Enable/Disable the usage of a data member or a member function.
void SetMemCheck (CHECK check)
 Set the appearance checked/unchecked/intermediate.
void SetMemLabel (XmString const *str)
 Set the label which appear for a member in the user interface.
void SetMemIcon (int icon)
 Set the icon id which appear for a member in the user interface.
void CallDeeperMem ()
 Give the sub object the possibility to handle the member state.

Copyright © 2006 Praetz Software Development - www.exomware.com