package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/File_chooser_native/index.html
Module Wrappers.File_chooser_native
type t = [ `file_chooser_native | `native_dialog | `object_ ] Gobject.objval new_ :
string option ->
[ `window | `widget | `initially_unowned | `object_ ] Gobject.obj option ->
Gtk_enums.filechooseraction ->
string option ->
string option ->
tCreate a new FileChooserNative
val set_cancel_label : t -> string option -> unitSets the custom label text for the cancel button.
If characters in @label are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use “__” (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic.
Pressing Alt and that key should activate the button.
val set_accept_label : t -> string option -> unitSets the custom label text for the accept button.
If characters in @label are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use “__” (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic.
Pressing Alt and that key should activate the button.
val get_cancel_label : t -> string optionRetrieves the custom label text for the cancel button.
val get_accept_label : t -> string optionRetrieves the custom label text for the accept button.