Notebooks » History » Revision 2
Revision 1 (iri, 03/03/2011 08:07 PM) → Revision 2/10 (iri, 03/03/2011 08:58 PM)
h1. Notebooks A tabbed notebook container. container {{toc}} h2. _gtkNotebookNew Create a new Notebook. Prototype : *fun [Chn] ObjGtkWidget* Return the new object or nil if error. h2. _gtkNotebookAddPage Add/insert a new tab. Prototype : *fun [ObjGtkWidget ObjGtkWidget S I] [ObjGtkWidget ObjGtkWidget ObjGtkWidget I]* table. |*notebook*|ObjGtkWidget|any notebook already created| |*child*|ObjGtkWidget|any widget to include in the tab. Can be nil.| |*title*|S|a title for the tab. If nil, the title will be "Page N" (N the number of the pages)| |*pos*|I|the position where the tab is inserted. If nil, the tab will be added to the end, if negative, it will be inserted from the end, if positive, it is inserted from the begin.| +Return :+ table. |*notebook*|ObjGtkWidget|the same notebook| |*label*|ObjGtkWidget|the label object (the title of the tab). So it can be modified ...| |*child*|ObjGtkWidget|the child of the tab. By default, it's a text (GtkTextView)| |*id*|I|the index (starting from 0) of the inserted page in the notebook| Return [[Api]]