Widget to select a zim page path as a namespace
Use this instead of PageEntry
when you want to allow selecting a namespace. E.g. this will be allowed to select ":" or empty string for the root namespace, which is not allowed in PageEntry.
Class Variable | _allow_select_root |
Undocumented |
Inherited from PageEntry
:
Method | __init__ |
Constructor |
Method | get_path |
No summary |
Method | set_path |
Set the path to be shown in the entry. If you have the link as a string, use set_text() instead |
Method | set_use_relative_paths |
Set the notebook and path to be used for relative paths. |
Method | update_completion |
Undocumented |
Method | update_input_valid |
Undocumented |
Instance Variable | existing_only |
Undocumented |
Instance Variable | notebook |
Undocumented |
Instance Variable | notebookpath |
Undocumented |
Instance Variable | subpaths_only |
Undocumented |
Method | _fill_completion_any |
Undocumented |
Method | _fill_completion_for_anchor |
Undocumented |
Inherited from InputEntry
(via PageEntry
):
Method | clear |
Clear the text in the entry |
Method | do_input_valid_changed |
Undocumented |
Method | get_input_valid |
Get the valid state. @returns: True if the input is valid |
Method | get_text |
Get the text from the widget. Like Gtk.Entry.get_text() but with UTF-8 decoding and whitespace stripped. @returns: string |
Method | set_check_func |
Set a function to check whether input is valid or not @param check_func: the function |
Method | set_icon |
Add an icon in the entry widget behind the text |
Method | set_icon_to_clear |
Adds a "clear" icon in the entry widget |
Method | set_input_valid |
No summary |
Constant | ERROR_COLOR |
Undocumented |
Class Variable | __gsignals__ |
Undocumented |
Instance Variable | allow_empty |
Undocumented |
Instance Variable | allow_whitespace |
Undocumented |
Instance Variable | check_func |
Undocumented |
Instance Variable | show_empty_invalid |
Undocumented |
Instance Variable | _input_valid |
Undocumented |
Instance Variable | _normal_color |
Undocumented |