Материал из Module developer
Перейти к: навигация, поиск

IR.EVENT_REMOVED_WIDGET

Deleting a widget

Синтаксис

module.AddListener(IR.EVENT_REMOVED_WIDGET, 0, function, [pointer]);

Название Пример Описание
function function(in_widgetID) type: function
unnamed function or a reference to a function
  • The coming parameter to a function is widget ID.
pointer type: object
pointer to an object that services a function (optional)
На выходе

-


Пример

module.AddListener(IR.EVENT_REMOVED_WIDGET, 0, function (in_widgetID)
{
    IR.Log(in_widgetID); 
});