Skip to content

drop_file_event_t

概述

文件拖入事件。

函数

函数名称说明
drop_file_event_cast把event对象转drop_file_event_t对象。
drop_file_event_init初始化事件。

属性

属性名称类型说明
filenameconst char*文件名。

drop_file_event_cast 函数

  • 函数功能:

把event对象转drop_file_event_t对象。

  • 函数原型:
drop_file_event_t* drop_file_event_cast (event_t* event);
  • 参数说明:
参数类型说明
返回值drop_file_event_t*event 对象。
eventevent_t*event对象。

drop_file_event_init 函数

  • 函数功能:

初始化事件。

  • 函数原型:
event_t* drop_file_event_init (drop_file_event_t* event, void* target, const char* filename);
  • 参数说明:
参数类型说明
返回值event_t*event对象。
eventdrop_file_event_t*event对象。
targetvoid*事件目标。
filenameconst char*文件名。

filename 属性

文件名。

  • 类型:const char*
特性是否支持
可直接读取
可直接修改
可脚本化