UI Components interfaces
All the user interfaces are built from their XML
description. If you need to access a component from a command, you
name it using an 'id' attribute in your XML form. When a python
command is executed, variables are automagically defined for each
of your named components. The type of your variable is one of the
interface in this package. For example a button built with the
<button id="myButton"/> tag will expose the IButton
interface to your scripts. Downcasting the variable to its native
type will break the cross toolkit paradigm.
|