- public async void @delete (string uuid) throws Error
Delete an item from the GPasteDaemon
- public async void about () throws Error
Display the about dialog
- public void about_sync () throws Error
Display the about dialog
- public async void add (string text) throws Error
Add an item to the GPasteDaemon
- public async void add_file (string file) throws Error
Add the file contents to the GPasteDaemon
- public void add_file_sync (string file) throws Error
Add the file contents to the GPasteDaemon
- public async void add_password (string name, string password) throws Error
Add the password to the GPasteDaemon
- public void add_password_sync (string name, string password) throws Error
Add the password to the GPasteDaemon
- public void add_sync (string text) throws Error
Add an item to the GPasteDaemon
- public async void backup_history (string history, string backup) throws Error
Backup the current history
- public void backup_history_sync (string history, string backup) throws Error
Backup the current history
- public void delete_history_sync (string name) throws Error
Delete a history
- public async void delete_password (string name) throws Error
Delete the password from the GPasteDaemon
- public void delete_password_sync (string name) throws Error
Delete the password from the GPasteDaemon
- public void delete_sync (string uuid) throws Error
Delete an item from the GPasteDaemon
- public void empty_history_sync (string name) throws Error
Empty the history from the GPasteDaemon
- public async string get_element (string uuid) throws Error
Get an item from the GPasteDaemon
- public async ClientItem get_element_at_index (uint64 index) throws Error
Get an item from the GPasteDaemon
- public ClientItem get_element_at_index_sync (uint64 index) throws Error
Get an item from the GPasteDaemon
- public async ItemKind get_element_kind (string uuid) throws Error
Get the kind of an item from the GPasteDaemon
- public ItemKind get_element_kind_sync (string uuid) throws Error
Get the kind of an item from the GPasteDaemon
- public string get_element_sync (string uuid) throws Error
Get an item from the GPasteDaemon
- public async List<ClientItem> get_elements (string[] uuids) throws Error
Get some items from the GPasteDaemon
- public List<ClientItem> get_elements_sync (string[] uuids) throws Error
Get some items from the GPasteDaemon
- public async List<ClientItem> get_history () throws Error
Get the history from the GPasteDaemon
- public async string get_history_name () throws Error
Get the name of the history from the GPasteDaemon
- public string get_history_name_sync () throws Error
Get the name of the history from the GPasteDaemon
- public async uint64 get_history_size (string name) throws Error
Get the history isize from the GPasteDaemon
- public uint64 get_history_size_sync (string name) throws Error
Get the history size from the GPasteDaemon
- public List<ClientItem> get_history_sync () throws Error
Get the history from the GPasteDaemon
- public async string get_raw_element (string uuid) throws Error
Get an item from the GPasteDaemon
- public string get_raw_element_sync (string uuid) throws Error
Get an item from the GPasteDaemon
- public async List<ClientItem> get_raw_history () throws Error
Get the history from the GPasteDaemon
- public List<ClientItem> get_raw_history_sync () throws Error
Get the history from the GPasteDaemon
- public string get_version ()
Get the version of the running gpaste daemon
- public bool is_active ()
Check if the daemon is active
- public async string[] list_histories () throws Error
List all available hisotries
- public string[] list_histories_sync () throws Error
List all available hisotries
- public async void merge (string? decoration, string? separator, string[] uuids) throws Error
Merge some history entries
- public void merge_sync (string? decoration, string? separator, string[] uuids) throws Error
Merge some history entries
- public async void on_extension_state_changed (bool state) throws Error
Call this when the extension changes its state
- public void on_extension_state_changed_sync (bool state) throws Error
Call this when the extension changes its state
- public async void reexecute () throws Error
Reexecute the GPasteDaemon
- public void reexecute_sync () throws Error
Reexecute the GPasteDaemon
- public async void rename_password (string old_name, string new_name) throws Error
Rename the password in the GPasteDaemon
- public void rename_password_sync (string old_name, string new_name) throws Error
Rename the password in the GPasteDaemon
- public async void replace (string uuid, string contents) throws Error
Replace the contents of an item
- public void replace_sync (string uuid, string contents) throws Error
Replace the contents of an item
- public async string[] search (string pattern) throws Error
Search for items matching pattern in history
- public string[] search_sync (string pattern) throws Error
Search for items matching pattern in history
- public async void select (string uuid) throws Error
Select an item from the GPasteDaemon
- public void select_sync (string uuid) throws Error
Select an item from the GPasteDaemon
- public async void set_password (string uuid, string name) throws Error
Set the item as password
- public void set_password_sync (string uuid, string name) throws Error
Set the item as password
- public void show_history_sync () throws Error
Emit the ShowHistory signal
- public void switch_history_sync (string name) throws Error
Switch to another history
- public async void track (bool state) throws Error
Change the tracking state of the GPasteDaemon
- public void track_sync (bool state) throws Error
Change the tracking state of the GPasteDaemon
- public async void upload (string uuid) throws Error
Upload an item to a pastebin service
- public void upload_sync (string uuid) throws Error
Upload an item to a pastebin service