Method

GtkFileChooserNativeset_cancel_label

Declaration [src]

void
gtk_file_chooser_native_set_cancel_label (
  GtkFileChooserNative* self,
  const char* cancel_label
)

Description [src]

Sets 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 activates the button.

Available since:3.20

Parameters

cancel_label

Type: const char*

Custom label or NULL for the default.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.