| Description: |
The documentation does not specify much in the way of usage. I
bumped into some confusion when I tried to pack the separate pages
returned by [add]. Apparently this is not the correct usage. Only
widgets inside the pages are GMed separately, as well as the
PagesManager itself. In addition, it was not totally clear that [page]
takes a new identifier as an argument, not the path of an existing
widget. Perhaps it should state something like the following:
Add a new page identified by 'page', which is an arbitrary identifier.
The pathname of the new page is returned and widgets for the page
should be created with this as the parent or ancestor. However,
PagesManager manages its own geometry. [pack], [grid] or an
equivalent should not be used with the pathname returned by [add].
It also does not explain that no page is raised on creation and this
must be done with a call to [raise] to view any page.
|