Constructor

Gtk.Expander.new_with_mnemonic

Declaration [src]

GtkWidget*
gtk_expander_new_with_mnemonic (
  const char* label
)

Description [src]

Creates a new expander using label as the text of the label.

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.

Parameters

label const char*
 

the text of the label with an underscore in front of the mnemonic character

 Can be NULL
 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string

Return value

Returns: GtkWidget

a new GtkExpander widget.

Ownership is not transferred to the caller