Method | __init__ |
Constructor. |
Instance Variable | action |
Undocumented |
Instance Variable | file_type_hint |
Undocumented |
Inherited from FSPathEntry
:
Method | get_path |
Get the file path for this entry @returns: a File or Folder object (depending on sub-class) |
Method | popup_dialog |
Run a dialog to browse for a file or folder. Used by the 'browse' button in input forms. |
Method | set_path |
Set the file path for this entry @param path: a File or Folder object |
Method | set_use_relative_paths |
Set the notebook and path to be used for relative paths. |
Instance Variable | notebook |
Undocumented |
Instance Variable | notebookpath |
Undocumented |
Inherited from InputEntry
(via FSPathEntry
):
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 |
Method | update_input_valid |
Undocumented |
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 |
zim.gui.widgets.FSPathEntry.__init__
zim.gui.widgets.LinkEntry
Parameters | |
file | a File object |
new | if True the intention is a new file (e.g. output file), or to overwrite an existing file. If False only existing files can be selected. |