EtsT_Nt_Object_Palette_Click_Callback

Note: Requires OPNET Development Kit

Abstract

Callback: Used to specify custom processing when the user clicks on an icon in an open network object palette.

Syntax

EtsT_Nt_Object_Palette_Click_Callback (obj_type, model_type, click_type, state_ptr)
Argument Type Description
obj_type EtsT_Obj_Type The type of object represented by the icon clicked on.
model_type char * The model represented by the icon clicked on.
click_type EtsT_Obj_Click_Type The mouse button that was clicked, given by one of the constants in Table 30 Network Callback Symbolic Constants.
state_ptr void * Client's own state pointer. This pointer is the value that was passed to Ets_Nt_Object_Palette_Click_Callback_Register().

Return Type

void

No return value.

ets_api_nt_cback.h

Details

This function is registered by Ets_Nt_Object_Palette_Click_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