Gjsify LogoGjsify Logo

Index

Functions

  • chooserAdvancedGet(advanced: Gtk.Widget, format: number, filter: number): boolean
  • Gets the selected archive format of the widget created by autoar_gtk_chooser_advanced_new().

    Parameters

    • advanced: Gtk.Widget

      a #GtkGrid returned by autoar_gtk_chooser_advanced_new()

    • format: number

      the place to store the #AutoarFormat selected by the user

    • filter: number

      the place to store the #AutoarFilter selected by the user

    Returns boolean

  • chooserSimpleGet(simple: Gtk.Widget, format: number, filter: number): boolean
  • Gets the selected archive format of the widget created by autoar_gtk_chooser_simple_new().

    Parameters

    • simple: Gtk.Widget

      a #GtkComboBox returned by autoar_gtk_chooser_simple_new()

    • format: number

      the place to store the #AutoarFormat selected by the user

    • filter: number

      the place to store the #AutoarFilter selected by the user

    Returns boolean

  • Create a #GtkComboBox with a list of common archive format. There is also an option called "Other format…", which will use autoar_gtk_chooser_advanced_new() and autoar_gtk_chooser_advanced_get() to select less common archive format. Arguments default_format and default_filter are the default archive format selected on the returned widget. You may want to get the preferred format of users using autoar_pref_get_default_format() and autoar_pref_get_default_filter(), or just set them to 1 to select the default archive format.

    Parameters

    Returns Gtk.Widget

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