Gjsify LogoGjsify Logo

Each key binding element of a binding sets binding list is represented by a GtkBindingEntry.

record

Hierarchy

  • BindingEntry

Index

Constructors

Properties

binding_set: Gtk.BindingSet

binding set this entry belongs to

field
destroyed: number

implementation detail

field
hash_next: Gtk.BindingEntry

implementation detail

field
in_emission: number

implementation detail

field
keyval: number

key value to match

field
marks_unbound: number

implementation detail

field
modifiers: Gdk.ModifierType

key modifiers to match

field
set_next: Gtk.BindingEntry

linked list of entries maintained by binding set

field

action signals of this entry

field
name: string

Methods

  • Parses a signal description from signal_desc and incorporates it into binding_set.

    Signal descriptions may either bind a key combination to one or more signals: |[ bind "key" { "signalname" (param, ...) ... }



    Or they may also unbind a key combination:
    |[
    unbind "key"

    Key combinations must be in a format that can be parsed by gtk_accelerator_parse().

    Parameters

    • binding_set: Gtk.BindingSet

      a #GtkBindingSet

    • signal_desc: string

      a signal description

    Returns GLib.TokenType

  • Override or install a new key binding for keyval with modifiers on binding_set.

    Parameters

    • binding_set: Gtk.BindingSet

      a #GtkBindingSet to add a signal to

    • keyval: number

      key value

    • modifiers: Gdk.ModifierType

      key modifier

    • signal_name: string

      signal name to be bound

    • binding_args: Gtk.BindingArg[]

      list of #GtkBindingArg signal arguments

    Returns void

  • Remove a binding previously installed via gtk_binding_entry_add_signal() on binding_set.

    Parameters

    • binding_set: Gtk.BindingSet

      a #GtkBindingSet to remove an entry of

    • keyval: number

      key value of binding to remove

    • modifiers: Gdk.ModifierType

      key modifier of binding to remove

    Returns void

  • Install a binding on binding_set which causes key lookups to be aborted, to prevent bindings from lower priority sets to be activated.

    Parameters

    • binding_set: Gtk.BindingSet

      a #GtkBindingSet to skip an entry of

    • keyval: number

      key value of binding to skip

    • modifiers: Gdk.ModifierType

      key modifier of binding to skip

    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