Method

Gtk.Label.set_markup_with_mnemonic

Declaration [src]

void
gtk_label_set_markup_with_mnemonic (
  GtkLabel* self,
  const char* str
)

Description [src]

Sets the labels text, attributes and mnemonic from markup.

Parses str which is marked up with Pango markup (see pango_parse_markup()), setting the label’s text and attribute list based on the parse results. If characters in str are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic.

The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using method@Gtk.Label.set_mnemonic_widget].

Parameters

str const char*
 

a markup string

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