Gjsify LogoGjsify Logo

Index

Variables

BAR_CODE_SIZE: string
BAR_CODE_TEXT: string
BAR_CODE_WIDGET_CONNECTION: string
MAJOR_VERSION: number

Evaluates to the major version number of NetworkManager which this source is compiled against.

MICRO_VERSION: number

Evaluates to the micro version number of NetworkManager which this source compiled against.

MINOR_VERSION: number

Evaluates to the minor version number of NetworkManager which this source is compiled against.

Functions

  • mobile_providers_split_3gpp_mcc_mnc(mccmnc: string): [boolean, string, string]
  • Splits the input MCCMNC string into separate MCC and MNC strings.

    Parameters

    • mccmnc: string

      input MCCMNC string.

    Returns [boolean, string, string]

  • utils_setup_password_storage(passwd_entry: Gtk.Widget, initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string, with_not_required: boolean, ask_mode: boolean): void
  • Adds a secondary icon and creates a popup menu for password entry. The active menu item is set up according to initial_flags, or from setting/``password_flags_name (if they are not NULL). If the setting/``password_flags_name are not NULL, secret flags will be automatically updated in the setting when menu is changed.

    Parameters

    • passwd_entry: Gtk.Widget

      password #GtkEntry which the icon is attached to

    • initial_flags: NM.SettingSecretFlags

      initial secret flags to setup password menu from

    • setting: NM.Setting

      #NMSetting containing the password, or NULL

    • password_flags_name: string

      name of the secret flags (like psk-flags), or NULL

    • with_not_required: boolean

      whether to include "Not required" menu item

    • ask_mode: boolean

      %TRUE if the entry is shown in ASK mode. That means, while prompting for a password, contrary to being inside the editor mode. If %TRUE, the entry should be sensivive on selected "always-ask" icon (this is e.f. for nm-applet asking for password), otherwise not. If %FALSE, it shall not be possible to select a different storage, because we only prompt for a password, we cannot change the password location.

    Returns void

  • Updates secret flags in the password storage popup menu and also in the setting (if setting and password_flags_name are not NULL).

    Parameters

    • passwd_entry: Gtk.Widget

      #GtkEntry with the password

    • secret_flags: NM.SettingSecretFlags

      secret flags to set

    • setting: NM.Setting

      #NMSetting containing the password, or NULL

    • password_flags_name: string

      name of the secret flags (like psk-flags), or NULL

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method