Package vwidget :: Module notebook
[hide private]
[frames] | no frames]

Module notebook

source code

A suite of tools for dealing with notebooks...

Functions [hide private]
 
prepNotebook(notebook=None, group=1)
Setup a notebook for use in vwindows/vviews.
source code
 
appendToNotebook(notebook, view, totop=True)
Add the specified view to the given notebook which has been prep'd with prepNotebook.
source code
 
removeFromNotebook(notebook, page) source code
 
createTabLabel(page, notebook) source code
 
closeTabButton(button, page, notebook) source code
 
createNotebookWindow(notebook, page, x=400, y=300)
Snap the given page out of the notebook and create a new window for it...
source code
 
createWindowForPage(page, x=300, y=400)
x and y are the position for the new window
source code
 
notebookWindowPageRemoved(notebook, child, pagenum, window)
When a tab is removed from a popped up window, check if it is the last.
source code
Variables [hide private]
  __package__ = 'vwidget'
Function Details [hide private]

appendToNotebook(notebook, view, totop=True)

source code 

Add the specified view to the given notebook which has been prep'd with prepNotebook. It gives you a bunch of junk for free.