GEOS SDK TechDocs
|
|
2.1 GenInteraction Visibility
|
2.3 GenInteraction Types
ATTR_GEN_INTERACTION_GROUP_TYPE, GenInteractionGroupType
Often you will set up standard menus such as the File menu, the Window menu, the Edit menu, and the View menu. You can set these menus up very simply, with the attribute
ATTR_GEN_INTERACTION_GROUP_TYPE
.
This attribute specifies the type of menu the GenInteraction is via a value of type
GenInteractionGroupType
. This can be any of the following:
Each of the above types will set up the proper GenInteraction attributes and other generic objects to complete the interactions. Thus, by setting up a GenInteraction like this:
@object GenInteractionClass MyEditMenu = {
GI_comp = MyEditControl;
GII_visibility = GIV_POPUP;
ATTR_GEN_INTERACTION_GROUP_TYPE =
(GIGT_EDIT_MENU);
}
you can have a complete Edit menu in your program. (Of course, you must also supply the GenEditControl object that would be MyEditControl in the example.)
GEOS SDK TechDocs
|
|
2.1 GenInteraction Visibility
|
2.3 GenInteraction Types