PageView
class that is used when the view is navigatable. Plugins can choose to extend this class if they don't want to load extensions for a fixed page view.
Inherited from PageView
:
Method | __init__ |
Constructor @param notebook: the Notebook object @param navigation: NavigationModel object |
Method | activate_link |
Undocumented |
Method | apply_format_bullet_list |
Menu action to format selection as bullet list |
Method | apply_format_checkbox_list |
Menu action to format selection as checkbox list |
Method | apply_format_numbered_list |
Menu action to format selection as numbered list |
Method | attach_file |
Menu action to show the AttachFileDialog @param file: optional file to suggest in the dialog |
Method | autoselect |
Auto select either a word or a line. |
Method | clear_formatting |
Menu item to remove formatting from current (auto-)selection |
Method | clear_heading_format |
Menu item to remove heading |
Method | clear_list_format |
Menu action to remove list formatting |
Method | copy |
Menu action for copy to clipboard |
Method | copy_current_line |
Menu action to copy the current line to the clipboard |
Method | cut |
Menu action for cut to clipboard |
Method | delete |
Menu action for delete |
Method | do_activate_link |
Undocumented |
Method | do_mark_set |
@emits link-caret-enter @emits link-caret-leave |
Method | do_populate_popup |
Undocumented |
Method | do_textstyle_changed |
Undocumented |
Method | do_toggle_format_action |
Handler that catches all actions to apply and/or toggle formats |
Method | do_toggle_format_action_alt |
Undocumented |
Method | edit_object |
Menu action to trigger proper edit dialog for the current object at the cursor |
Method | find |
Find some string in the text, scroll there and select it |
Method | find_next |
Menu action to skip to next match |
Method | find_previous |
Menu action to go back to previous match |
Method | get_cursor_pos |
Get the cursor position in the buffer |
Method | get_scroll_pos |
Undocumented |
Method | get_selection |
Convenience method to get the text of the current selection. |
Method | get_word |
Convenience method to get the word that is under the cursor |
Method | grab_focus |
Undocumented |
Method | hide_find |
Hide the FindBar widget |
Method | insert_bullet_list |
Menu action insert a bullet item at the cursor |
Method | insert_checkbox_list |
Menu action insert an open checkbox at the cursor |
Method | insert_date |
Menu action to insert a date, shows the InsertDateDialog |
Method | insert_image |
Insert a image @param file: the image file to insert. If file does not exist or isn't an image, a "broken image" icon will be shown |
Method | insert_line |
Menu action to insert a line at the cursor position |
Method | insert_link |
Menu item to show the InsertLinkDialog |
Method | insert_links |
Non-interactive method to insert one or more links |
Method | insert_new_file |
Undocumented |
Method | insert_numbered_list |
Menu action insert a numbered list item at the cursor |
Method | insert_object |
Undocumented |
Method | insert_object_model |
Undocumented |
Method | insert_text_from_file |
Menu action to show a InsertTextFromFileDialog |
Method | migrate_checkbox |
Menu action to toggle checkbox at the cursor or in current selected text |
Method | navigate_to_anchor |
Navigate to an anchor on the current page. @param name: The name of the anchor to navigate to @param select_line: Select the whole line after |
Method | on_insertedobjecttypemap_changed |
Undocumented |
Method | on_link_enter |
Undocumented |
Method | on_link_leave |
Undocumented |
Method | on_modified_changed |
Undocumented |
Method | on_preferences_changed |
Undocumented |
Method | on_text_style_changed |
(Re-)intializes properties for TextView, TextBuffer and TextTags based on the properties in the style config. |
Method | open_file_templates_folder |
Menu action to open the templates folder |
Method | paste |
Menu action for paste from clipboard |
Method | redo |
Menu action to redo a single step |
Method | reload_page |
Menu action to reload the current page. Will first try to save any unsaved changes, then reload the page from disk. |
Method | remove_link |
Menu action to remove link object at the current cursor position |
Method | replace_selection |
Undocumented |
Method | save_changes |
Save contents of the widget back to the page object and synchronize it with the notebook. |
Method | save_page |
Menu action to save the current page. |
Method | scroll_cursor_on_screen |
Undocumented |
Method | set_cursor_pos |
Set the cursor position in the buffer and scroll the TextView to show it |
Method | set_edit_bar_visible |
Undocumented |
Method | set_page |
Set the current page to be displayed in the pageview |
Method | set_readonly |
Set the widget read-only or not |
Method | set_scroll_pos |
Undocumented |
Method | show_find |
Show the FindBar widget |
Method | show_find_and_replace |
Menu action to show the FindAndReplaceDialog |
Method | show_insert_image |
Menu action to insert an image, shows the InsertImageDialog @param file: optional file to suggest in the dialog |
Method | show_word_count |
Menu action to show the WordCountDialog |
Method | toggle_checkbox |
Menu action to toggle checkbox at the cursor or in current selected text |
Method | toggle_format |
Toggle the format for the current (auto-)selection or new insertions at the current cursor position |
Method | transmigrate_checkbox |
Menu action to toggle checkbox at the cursor or in current selected text |
Method | uncheck_checkbox |
Undocumented |
Method | undo |
Menu action to undo a single step |
Method | xtoggle_checkbox |
Menu action to toggle checkbox at the cursor or in current selected text |
Method | zoom_in |
Menu action to increase the font size |
Method | zoom_out |
Menu action to decrease the font size |
Method | zoom_reset |
Menu action to reset the font size |
Class Variable | __gsignals__ |
Undocumented |
Class Variable | __signals__ |
Undocumented |
Instance Variable | edit_bar |
Undocumented |
Instance Variable | find_bar |
the FindBar child widget |
Instance Variable | navigation |
Undocumented |
Instance Variable | notebook |
Undocumented |
Instance Variable | overlay |
Undocumented |
Instance Variable | page |
Page object for the current page displayed in the widget |
Instance Variable | preferences |
a ConfigDict with preferences |
Instance Variable | readonly |
True when the widget is read-only, see set_readonly() for details |
Instance Variable | swindow |
Undocumented |
Instance Variable | text_style |
a ConfigSectionsDict with style properties. Although this is a class attribute loading the data from the config file is delayed till the first object is constructed |
Instance Variable | textview |
Undocumented |
Instance Variable | ui_is_initialized |
Undocumented |
Instance Variable | view |
the TextView child object |
Method | _apply_bullet |
Undocumented |
Method | _checkbox_do_populate_popup |
Undocumented |
Method | _connect_focus_event |
Undocumented |
Method | _create_textbuffer |
Undocumented |
Method | _default_do_populate_popup |
Undocumented |
Method | _do_activate_link |
Undocumented |
Method | _hack_on_inserted_tree |
Undocumented |
Method | _set_edit_bar_visible |
Undocumented |
Method | _set_menuitems_sensitive |
Batch update global menu sensitivity while respecting sensitivities set due to cursor position, readonly state etc. |
Method | _start_bullet |
Undocumented |
Method | _update_new_file_submenu |
Undocumented |
Method | _update_readonly |
Undocumented |
Method | _zoom_increase_decrease_font_size |
Undocumented |
Instance Variable | _buffer_signals |
Undocumented |
Instance Variable | _caret_link |
Undocumented |
Instance Variable | _edit_bar_visible |
Undocumented |
Instance Variable | _hack_hbox |
Undocumented |
Instance Variable | _hack_label |
Undocumented |
Instance Variable | _insertedobject_manager |
Undocumented |
Instance Variable | _overlay_label |
Undocumented |
Instance Variable | _readonly_set |
Undocumented |
Instance Variable | _readonly_set_error |
Undocumented |
Instance Variable | _save_page_handler |
Undocumented |
Instance Variable | _undo_history_queue |
Undocumented |
Inherited from GSignalEmitterMixin
(via PageView
):
Method | connect |
Undocumented |
Method | connect_after |
Undocumented |
Method | disconnect |
Undocumented |
Method | emit_return_first |
Undocumented |
Method | emit_return_iter |
Undocumented |
Instance Variable | _signal_hooks |
Undocumented |
Instance Variable | _signals_inner |
Undocumented |