Header Interface
Gadget used to manage the application header
- notifyLoading
- Start the loading spinner
- notifyLoaded
- Stop the loading spinner
- notifyChange
- Show the 'not saved content' warning
- notifySubmitting
- Start the submit spinner
- notifySubmitted
- Remove the 'not saved content' warning
- notifyError
- Activate all warning!
- setButtonTitle
- Activate a main button on the panel (to reduce maximize state for example)
- option_dict
-
- icon: button icon
- action: button name. Used to know which kind of action to do when clicking it
- render
- Render the header
- option_dict
-
- page_title: main title
- page_icon: surcharge the default icon if needed
- XXX_url: activate a link with this URL on the header if present (front_url, selection_url, ...)
- panel_action: activate the panel menu button
- extra_class: a dictionnary to extend the button/link rendering