Triggers occur when you carry out an action on a widget. You usually place them on a button or menu item. You can have more than one trigger assigned to a function to catch multiple callbacks. The trigger could call a customised function or call a bond api call.
One thing to be aware of is that, if the parent window is closed by an api call trigger, no further triggers on any children of that window will be ran. So, for example, the following pseudo-code will have only the "close" trigger run, not the messagebox trigger. <window name="window"> <button> <trigger> <api call="close"> <widget>window</widget> </api> </trigger> <trigger> <api call="messagebox" /> </trigger> </button> </window>
ATTRIBUTES
CONTENT DECLARATION
Top Elements
All Elements
Tree