Use set_toolbar_box() in example code.
The set_toolbox() method is obsolete, so let's not advertise it. Signed-off-by: Bernie Innocenti <bernie@codewiz.org>
This commit is contained in:
parent
e2ab351b36
commit
e90fccfd37
@ -336,7 +336,7 @@ class ActivityToolbox(Toolbox):
|
||||
... your code, inserting all other toolbars you need, like EditToolbar
|
||||
|
||||
# Add the toolbox to the activity frame:
|
||||
self.set_toolbox(toolbox)
|
||||
self.set_toolbar_box(toolbox)
|
||||
# And make it visible:
|
||||
toolbox.show()
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user