EtsT_Nt_Object_Palette_List_Select_Callback
Note: Requires OPNET Development Kit
Abstract
Callback: Used to act on a selected object palette.
Syntax
EtsT_Nt_Object_Palette_List_Select_Callback (model_h, selection_text, state_ptr)
| Argument | Type | Description |
|---|---|---|
model_h |
EtsT_Model_Handle |
Network model containing the object palette. |
selection_text |
const char * |
Name of the selected object palette. |
state_ptr |
void * |
Arbitrary client state. This pointer is the value that was passed when the callback was registered. |
Return Type
int
EtsC_Nt_Object_Palette_List_Select_Handled if the callback handled the menu item and the application should not display the selected object palette); EtsC_Nt_Object_Palette_List_Select_Continue if application code should display the selected object palette.
Header
ets_api_nt_cback.h
Details
This function can be used to handle the selection of the object palette in alternative ways. It is registered by Ets_Nt_Object_Palette_List_Select_Callback_Register().