Functions¶
|
|
|
|
|
|
|
Details¶
- GPasteGtk.util_compute_checksum(image)¶
- Parameters:
image (
GdkPixbuf.Pixbuf
) – theGdkPixbuf.Pixbuf
to checksum- Returns:
the newly allocated checksum
- Return type:
Compute the checksum of an image
- GPasteGtk.util_confirm_dialog(parent, action, msg)¶
- Parameters:
parent (
Gtk.Window
orNone
) – the parentGtk.Window
action (
str
) –msg (
str
) – the message to display
- Return type:
Ask the user for confirmation
- GPasteGtk.util_empty_history(parent_window, client, settings, history)¶
- Parameters:
parent_window (
Gtk.Window
orNone
) – the parentGtk.Window
client (
GPaste.Client
) – aGPaste.Client
instancesettings (
GPaste.Settings
) – aGPaste.Settings
instancehistory (
str
) – the name of the history to empty
Empty history after prompting user for confirmation
- GPasteGtk.util_show_win(application)¶
- Parameters:
application (
Gio.Application
) – aGtk.Application
Present the application’s window to user