Functions

get_plugin_paths ()

get_resource ()

interface_create_header_button (header, button, icon_name, pack_type)

interface_error (title, reason, parent)

interface_error_blocking (title, reason, parent)

remote_command_quark ()

remote_setting_quark ()

Details

Totem.get_plugin_paths()
Returns:

a None-terminated array of paths to plugin directories

Return type:

[str]

Return a None-terminated array of paths to directories which can contain Totem plugins. This respects the Gio.Settings disable_user_plugins setting.

New in version 2.90.0.

Totem.get_resource()
Return type:

Gio.Resource

Totem.interface_create_header_button(header, button, icon_name, pack_type)
Parameters:
  • header (Gtk.Widget) – The header widget to put the button in

  • button (Gtk.Widget) – The button to use in the header

  • icon_name (str) – The icon name for the button image

  • pack_type (Gtk.PackType) – A Gtk.PackType to tell us where to include the button

Returns:

the button passed as input

Return type:

Gtk.Widget

Put the given icon_name into button, and pack button into header according to pack_type.

Totem.interface_error(title, reason, parent)
Parameters:
  • title (str) – the error title

  • reason (str) – the error reason (secondary text)

  • parent (Gtk.Window) – the error dialogue’s parent Gtk.Window

xlib.Display a modal error dialogue with title as its primary error text, and reason as its secondary text.

Totem.interface_error_blocking(title, reason, parent)
Parameters:
  • title (str) – the error title

  • reason (str) – the error reason (secondary text)

  • parent (Gtk.Window) – the error dialogue’s parent Gtk.Window

xlib.Display a modal error dialogue like Totem.interface_error() which blocks until the user has dismissed it.

Totem.remote_command_quark()
Return type:

int

Totem.remote_setting_quark()
Return type:

int