534
edits
| Line 464: | Line 464: | ||
=== createElements() === | === createElements() === | ||
Creates, stores in the interface all the elements defined in the configuration.<br /> | |||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> | ||
Python 3.4.2 (default, Oct 19 2014, 13:31:11) | Python 3.4.2 (default, Oct 19 2014, 13:31:11) | ||
| Line 470: | Line 471: | ||
>>> from FGInterface import FGInterface as FGINT | >>> from FGInterface import FGInterface as FGINT | ||
>>> FGINT1 = FGINT('radiopanel.cfg', 0) | >>> FGINT1 = FGINT('radiopanel.cfg', 0) | ||
>>> FGINT1.createElements() | |||
>>> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
edits