Class: Gtk::LockButton

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#new(permission) ⇒ Gtk::Widget

Creates a new lock button which reflects the permission.

Parameters:

Returns:

#permissionGio::Permission

Returns permission.

Returns:

#permission=(permission) ⇒ Gio::Permission

Parameters:

Returns:

#text_lockString

Returns text-lock.

Returns:

  • (String)

    text-lock

#text_lock=(text_lock) ⇒ String

Parameters:

  • text_lock (String)

Returns:

  • (String)

    text-lock

  • (String)

    text-lock

#text_unlockString

Returns text-unlock.

Returns:

  • (String)

    text-unlock

#text_unlock=(text_unlock) ⇒ String

Parameters:

  • text_unlock (String)

Returns:

  • (String)

    text-unlock

  • (String)

    text-unlock

#tooltip_lockString

Returns tooltip-lock.

Returns:

  • (String)

    tooltip-lock

#tooltip_lock=(tooltip_lock) ⇒ String

Parameters:

  • tooltip_lock (String)

Returns:

  • (String)

    tooltip-lock

  • (String)

    tooltip-lock

#tooltip_not_authorizedString

Returns tooltip-not-authorized.

Returns:

  • (String)

    tooltip-not-authorized

#tooltip_not_authorized=(tooltip_not_authorized) ⇒ String

Parameters:

  • tooltip_not_authorized (String)

Returns:

  • (String)

    tooltip-not-authorized

  • (String)

    tooltip-not-authorized

#tooltip_unlockString

Returns tooltip-unlock.

Returns:

  • (String)

    tooltip-unlock

#tooltip_unlock=(tooltip_unlock) ⇒ String

Parameters:

  • tooltip_unlock (String)

Returns:

  • (String)

    tooltip-unlock

  • (String)

    tooltip-unlock