Functions

util_compute_checksum (image)

util_confirm_dialog (parent, action, msg)

util_empty_history (parent_window, client, settings, history)

util_show_win (application)

Details

GPasteGtk.util_compute_checksum(image)
Parameters:

image (GdkPixbuf.Pixbuf) – the GdkPixbuf.Pixbuf to checksum

Returns:

the newly allocated checksum

Return type:

str

Compute the checksum of an image

GPasteGtk.util_confirm_dialog(parent, action, msg)
Parameters:
Return type:

bool

Ask the user for confirmation

GPasteGtk.util_empty_history(parent_window, client, settings, history)
Parameters:

Empty history after prompting user for confirmation

GPasteGtk.util_show_win(application)
Parameters:

application (Gio.Application) – a Gtk.Application

Present the application’s window to user