Материал из Module developer
IR.EVENT_ADD_WIDGET
Adding a widget
Синтаксис
module.AddListener(IR.EVENT_ADD_WIDGET, 0, function, [pointer]);
| Название | Пример | Описание |
| function | function(in_widget) | type: function unnamed function or a reference to a function
|
| pointer | type: object pointer to an object that services a function (optional) |
| На выходе |
-
Пример
module.AddListener(IR.EVENT_ADD_WIDGET, 0, function (in_widget) { IR.Log(in_widget.Name); });
