Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Functions

Functions

  • easeOutCubic(t: number): number
  • Computes the ease out for t.

    Parameters

    • t: number

      the term

    Returns number

  • This is a default implementation of #HdyComboRowGetEnumValueNameFunc to be used with hdy_combo_row_set_for_enum(). If the enumeration has a nickname, it will return it, otherwise it will return its name.

    Parameters

    • value: Handy.EnumValueObject

      the value from the enum from which to get a name

    • userData: object

      unused user data

    Returns string

  • getEnableAnimations(widget: Gtk.Widget): boolean
  • Returns whether animations are enabled for that widget. This should be used when implementing an animated widget to know whether to animate it or not.

    Parameters

    Returns boolean

  • init(argv?: string[]): [boolean, string[] | null]
  • Call this function before using any other Handy functions in your GUI applications. If libhandy has already been initialized, the function will simply return without processing the new arguments.

    Parameters

    • Optional argv: string[]

      Address of the argv parameter of main(), or %NULL. Any options understood by Handy are stripped before return.

    Returns [boolean, string[] | null]

  • Separates rows by using #GtkSeparator as headers. The first row doesn't have a separator as there is no row above it.

    Parameters

    • row: Gtk.ListBoxRow

      the row to update

    • before: Gtk.ListBoxRow

      the row before row, or %NULL if it is first

    • unusedUserData: object

      unused user data

    Returns void

  • Computes the length of the string in utf-8 characters. See #g_utf8_strlen.

    Parameters

    Returns number

  • Cut of the end of the string string so that len utf8 characters remain.

    Parameters

    • string: GLib.String

      a #GString

    • len: number

      the new size of the string

    Returns GLib.String

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