Dazzle.Preferences

g Dazzle.Preferences Dazzle.Preferences GObject.GInterface GObject.GInterface GObject.GInterface->Dazzle.Preferences

Implementations:

Dazzle.PreferencesView

Methods

add_custom (page_name, group_name, widget, keywords, priority)

add_file_chooser (page_name, group_name, schema_id, key, path, title, subtitle, action, keywords, priority)

add_font_button (page_name, group_name, schema_id, key, title, keywords, priority)

add_group (page_name, group_name, title, priority)

add_list_group (page_name, group_name, title, mode, priority)

add_page (page_name, title, priority)

add_radio (page_name, group_name, schema_id, key, path, variant_string, title, subtitle, keywords, priority)

add_spin_button (page_name, group_name, schema_id, key, path, title, subtitle, keywords, priority)

add_switch (page_name, group_name, schema_id, key, path, variant_string, title, subtitle, keywords, priority)

get_widget (widget_id)

remove_id (widget_id)

set_page (page_name, map)

Virtual Methods

do_add_custom (page_name, group_name, widget, keywords, priority)

do_add_file_chooser (page_name, group_name, schema_id, key, path, title, subtitle, action, keywords, priority)

do_add_font_button (page_name, group_name, schema_id, key, title, keywords, priority)

do_add_group (page_name, group_name, title, priority)

do_add_list_group (page_name, group_name, title, mode, priority)

do_add_page (page_name, title, priority)

do_add_radio (page_name, group_name, schema_id, key, path, variant_string, title, subtitle, keywords, priority)

do_add_spin_button (page_name, group_name, schema_id, key, path, title, subtitle, keywords, priority)

do_add_switch (page_name, group_name, schema_id, key, path, variant_string, title, subtitle, keywords, priority)

do_get_widget (widget_id)

do_remove_id (widget_id)

do_set_page (page_name, map)

Properties

None

Signals

None

Fields

None

Class Details

class Dazzle.Preferences
Bases:

GObject.GInterface

Structure:

Dazzle.PreferencesInterface

add_custom(page_name, group_name, widget, keywords, priority)
Parameters:
  • page_name (str) –

  • group_name (str) –

  • widget (Gtk.Widget) –

  • keywords (str or None) – Optional keywords for search

  • priority (int) –

Return type:

int

add_file_chooser(page_name, group_name, schema_id, key, path, title, subtitle, action, keywords, priority)
Parameters:
Return type:

int

add_font_button(page_name, group_name, schema_id, key, title, keywords, priority)
Parameters:
  • page_name (str) –

  • group_name (str) –

  • schema_id (str) –

  • key (str) –

  • title (str) –

  • keywords (str) –

  • priority (int) –

Return type:

int

add_group(page_name, group_name, title, priority)
Parameters:
  • page_name (str) –

  • group_name (str) –

  • title (str) –

  • priority (int) –

add_list_group(page_name, group_name, title, mode, priority)
Parameters:
add_page(page_name, title, priority)
Parameters:
  • page_name (str) –

  • title (str) –

  • priority (int) –

add_radio(page_name, group_name, schema_id, key, path, variant_string, title, subtitle, keywords, priority)
Parameters:
  • page_name (str) –

  • group_name (str) –

  • schema_id (str) –

  • key (str) –

  • path (str or None) – An optional path

  • variant_string (str or None) – An optional gvariant string

  • title (str or None) – An optional title

  • subtitle (str or None) – An optional subtitle

  • keywords (str or None) – Optional keywords for search

  • priority (int) –

Return type:

int

add_spin_button(page_name, group_name, schema_id, key, path, title, subtitle, keywords, priority)
Parameters:
  • page_name (str) –

  • group_name (str) –

  • schema_id (str) –

  • key (str) –

  • path (str) –

  • title (str) –

  • subtitle (str) –

  • keywords (str) –

  • priority (int) –

Return type:

int

add_switch(page_name, group_name, schema_id, key, path, variant_string, title, subtitle, keywords, priority)
Parameters:
  • page_name (str) –

  • group_name (str) –

  • schema_id (str) –

  • key (str) –

  • path (str or None) – An optional path

  • variant_string (str or None) – An optional gvariant string

  • title (str or None) – An optional title

  • subtitle (str or None) – An optional subtitle

  • keywords (str or None) – Optional keywords for search

  • priority (int) –

Return type:

int

get_widget(widget_id)
Parameters:

widget_id (int) –

Returns:

A Gtk.Widget or None.

Return type:

Gtk.Widget or None

remove_id(widget_id)
Parameters:

widget_id (int) –

Return type:

bool

set_page(page_name, map)
Parameters:
do_add_custom(page_name, group_name, widget, keywords, priority) virtual
Parameters:
  • page_name (str) –

  • group_name (str) –

  • widget (Gtk.Widget) –

  • keywords (str or None) – Optional keywords for search

  • priority (int) –

Return type:

int

do_add_file_chooser(page_name, group_name, schema_id, key, path, title, subtitle, action, keywords, priority) virtual
Parameters:
Return type:

int

do_add_font_button(page_name, group_name, schema_id, key, title, keywords, priority) virtual
Parameters:
  • page_name (str) –

  • group_name (str) –

  • schema_id (str) –

  • key (str) –

  • title (str) –

  • keywords (str) –

  • priority (int) –

Return type:

int

do_add_group(page_name, group_name, title, priority) virtual
Parameters:
  • page_name (str) –

  • group_name (str) –

  • title (str) –

  • priority (int) –

do_add_list_group(page_name, group_name, title, mode, priority) virtual
Parameters:
do_add_page(page_name, title, priority) virtual
Parameters:
  • page_name (str) –

  • title (str) –

  • priority (int) –

do_add_radio(page_name, group_name, schema_id, key, path, variant_string, title, subtitle, keywords, priority) virtual
Parameters:
  • page_name (str) –

  • group_name (str) –

  • schema_id (str) –

  • key (str) –

  • path (str or None) – An optional path

  • variant_string (str or None) – An optional gvariant string

  • title (str or None) – An optional title

  • subtitle (str or None) – An optional subtitle

  • keywords (str or None) – Optional keywords for search

  • priority (int) –

Return type:

int

do_add_spin_button(page_name, group_name, schema_id, key, path, title, subtitle, keywords, priority) virtual
Parameters:
  • page_name (str) –

  • group_name (str) –

  • schema_id (str) –

  • key (str) –

  • path (str) –

  • title (str) –

  • subtitle (str) –

  • keywords (str) –

  • priority (int) –

Return type:

int

do_add_switch(page_name, group_name, schema_id, key, path, variant_string, title, subtitle, keywords, priority) virtual
Parameters:
  • page_name (str) –

  • group_name (str) –

  • schema_id (str) –

  • key (str) –

  • path (str or None) – An optional path

  • variant_string (str or None) – An optional gvariant string

  • title (str or None) – An optional title

  • subtitle (str or None) – An optional subtitle

  • keywords (str or None) – Optional keywords for search

  • priority (int) –

Return type:

int

do_get_widget(widget_id) virtual
Parameters:

widget_id (int) –

Returns:

A Gtk.Widget or None.

Return type:

Gtk.Widget or None

do_remove_id(widget_id) virtual
Parameters:

widget_id (int) –

Return type:

bool

do_set_page(page_name, map) virtual
Parameters: