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.

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().

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com