Class: Gtk::FileChooserNative

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#accept_labelString

The text used for the label on the accept button in the dialog, or nil to use the default text.

Returns:

  • (String)

    accept-label

#accept_label=(accept_label) ⇒ String

The text used for the label on the accept button in the dialog, or nil to use the default text.

Parameters:

  • accept_label (String)

Returns:

  • (String)

    accept-label

  • (String)

    accept-label

#cancel_labelString

The text used for the label on the cancel button in the dialog, or nil to use the default text.

Returns:

  • (String)

    cancel-label

#cancel_label=(cancel_label) ⇒ String

The text used for the label on the cancel button in the dialog, or nil to use the default text.

Parameters:

  • cancel_label (String)

Returns:

  • (String)

    cancel-label

  • (String)

    cancel-label

#new(title, parent, action, accept_label, cancel_label) ⇒ Gtk::FileChooserNative

Creates a new Gtk::FileChooserNative.

Parameters:

  • title (String)

    Title of the native, or nil

  • parent (Gtk::Window)

    Transient parent of the native, or nil

  • action (Gtk::FileChooserAction)

    Open or save mode for the dialog

  • accept_label (String)

    text to go in the accept button, or nil for the default

  • cancel_label (String)

    text to go in the cancel button, or nil for the default

Returns: