Line 339: |
Line 339: |
| | | |
| return False; | | return False; |
| + | </pre> |
| + | |
| + | === How do i remove an specific button from the toolbar? === |
| + | |
| + | This is an example of the share button is removed: |
| + | |
| + | <pre> |
| + | activity_toolbar = toolbox.get_activity_toolbar() |
| + | activity_toolbar.remove(activity_toolbar.share) |
| + | activity_toolbar.share = None |
| </pre> | | </pre> |
| | | |