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 should activate the button.

Parameters

cancel_label const char*
 

Custom label.

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