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

The input parameter of the method is in_Widget - an object, a popup, created in the editor before hand.
The output parameter of the method is True or False (successful or not).
For example, we have 3 lamps. Not to create a separate wiget for each lamp, use the ready template of a popup and clone it. Here is an example of creating wigets using the existing template with the help of the code.