GOffice.Editor¶
Fields¶
None
Methods¶
| class | 
 | 
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | 
Details¶
- class GOffice.Editor¶
- Embeds a notebook containing all the pages added to the editor. - classmethod new()¶
- Returns:
- a new - GOffice.Editorobject, which is used to store a collection of property edition widgets (pages). The returned object must be freed using go_editor_free.
- Return type:
 
 - add_page(widget, label)¶
- Parameters:
 - Adds a page to self. 
 - free()¶
- Frees a - GOffice.Editorobject.
 - get_notebook()¶
- Returns:
- a - Gtk.Notebookfrom the widget collection stored in self.
- Return type:
 
 - get_page(name)¶
- Parameters:
- name ( - str) – page name
- Returns:
- the page with name as name if any 
- Return type:
- Gtk.Widgetor- None
 
 - get_registered_widget(name)¶
- Parameters:
- name ( - str) – the name of the registered widget
- Returns:
- a widget previously registered using go_editor_register_widget. 
- Return type:
 
 - register_widget(widget)¶
- Parameters:
- widget ( - Gtk.Widget) – a- Gtk.Widget
 - Registers a widget that then can be retrieved later using go_editor_get_registered_widget. The main use of this function is to provide the ability to extend a page.