Expander.getLabel

Fetches the text from a label widget.

This is including any embedded underlines indicating mnemonics and Pango markup, as set by gtk.expander.Expander.setLabel. If the label text has not been set the return value will be null. This will be the case if you create an empty button with gtk.button.Button.new_ to use as a container.

class Expander
string
getLabel
()

Return Value

Type: string

The text of the label widget. This string is owned by the widget and must not be modified or freed.