Class

GcrUiUnlockOptionsWidget

Description [src]

final class GcrUi.UnlockOptionsWidget : Gtk.Bin {
  /* No available fields */
}

This widget displays a set of unlock options for the user to select.

The user can choose between keeping caching the unlock indefinitely, or for a given amount of time.

Each option has a different name, for example #GCR_UNLOCK_OPTION_ALWAYS. These names are used together with the various functions like gcr_unlock_options_widget_get_choice().

Ancestors

  • GtkBin
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkBuildable

Constructors

gcr_unlock_options_widget_new

Create a new GcrUnlockOptionsWidget.

Instance methods

gcr_unlock_options_widget_get_choice

Get the currently selected option, like GCR_UNLOCK_OPTION_ALWAYS.

gcr_unlock_options_widget_get_label

Get the label for one of the options. Use an option name like GCR_UNLOCK_OPTION_ALWAYS.

gcr_unlock_options_widget_get_sensitive

Get the sensitivity state for one of the options. Use an option name like GCR_UNLOCK_OPTION_ALWAYS.

gcr_unlock_options_widget_get_ttl

Get the timeout setting set for unlock options that have a timeout. This will also return a valid value if the currently selected option does not have a timeout.

gcr_unlock_options_widget_set_choice

Set the currently selected option. Use an option name like GCR_UNLOCK_OPTION_ALWAYS.

gcr_unlock_options_widget_set_label

Set the label for one of the options. Use an option name like GCR_UNLOCK_OPTION_ALWAYS.

gcr_unlock_options_widget_set_sensitive

Set the sensitivity state for one of the options. Use an option name like GCR_UNLOCK_OPTION_ALWAYS. The reason will be displayed as a tooltip.

gcr_unlock_options_widget_set_ttl

Set the current setting for the timeout. This can be set even when the currently selected option does not have a timeout.

Properties

GcrUi.UnlockOptionsWidget:choice
No description available.
GcrUi.UnlockOptionsWidget:ttl
No description available.

Class structure

struct GcrUiUnlockOptionsWidgetClass {
  /* no available fields */
}