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

  • mobileProvidersSplit3gppMccMnc(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]

  • Returns secret flags corresponding to the selected password storage menu in the attached icon

    Parameters

    • passwdEntry: Gtk.Widget

      password #GtkEntry which the password icon/menu is attached to

    Returns NM.SettingSecretFlags

  • 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

    • passwdEntry: Gtk.Widget

      password #GtkEntry which the icon is attached to

    • initialFlags: NM.SettingSecretFlags

      initial secret flags to setup password menu from

    • setting: NM.Setting

      #NMSetting containing the password, or NULL

    • passwordFlagsName: string

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

    • withNotRequired: boolean

      whether to include "Not required" menu item

    • askMode: 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

    • passwdEntry: Gtk.Widget

      #GtkEntry with the password

    • secretFlags: NM.SettingSecretFlags

      secret flags to set

    • setting: NM.Setting

      #NMSetting containing the password, or NULL

    • passwordFlagsName: 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