Gjsify LogoGjsify Logo

Hierarchy

  • ActionInfo

Index

Constructors

Properties

name: string

Methods

  • getAccels(): string[]
  • Returns the accelerators. This function never returns %NULL, it always returns a %NULL-terminated array, to be suitable for gtk_application_set_accels_for_action().

    Returns string[]

  • getActionName(): string
  • getIconName(): string
  • getLabel(): string
  • getTooltip(): string
  • setAccels(accels: string[]): void
  • A function similar to gtk_application_set_accels_for_action().

    accels must not be %NULL, it must be a %NULL-terminated array, to be consistent with gtk_application_set_accels_for_action().

    Parameters

    • accels: string[]

      a %NULL-terminated array of accelerators in the format understood by gtk_accelerator_parse().

    Returns void

  • setActionName(actionName: string): void
  • Sets the action name, for example "win.save".

    Parameters

    • actionName: string

      the action name.

    Returns void

  • setIconName(iconName: string): void
  • setLabel(label: string): void
  • setTooltip(tooltip: string): void
  • unref(): void
  • Decrements the reference count of info by one. If the reference count drops to 0, info is freed.

    Returns void

  • Creates a new #GtefActionInfo from a #GtefActionInfoEntry.

    If translation_domain is not %NULL, g_dgettext() is used to translate the label and tooltip before setting them to the #GtefActionInfo.

    Parameters

    • infoEntry: Gtef.ActionInfoEntry

      a #GtefActionInfoEntry.

    • translationDomain: string

      a gettext domain, or %NULL.

    Returns Gtef.ActionInfo

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