Gjsify LogoGjsify Logo

Hierarchy

  • ActionInfo

Index

Constructors

Properties

name: string

Methods

  • get_accels(): 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[]

  • get_action_name(): string
  • get_icon_name(): string
  • get_label(): string
  • get_tooltip(): string
  • set_accels(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

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

    Parameters

    • action_name: string

      the action name.

    Returns void

  • set_icon_name(icon_name: string): void
  • set_label(label: string): void
  • set_tooltip(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

    • info_entry: Gtef.ActionInfoEntry

      a #GtefActionInfoEntry.

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