Constructor

GtkButtonnew_with_label

Declaration [src]

GtkWidget*
gtk_button_new_with_label (
  const gchar* label
)

Description [src]

Creates a GtkButton widget with a GtkLabel child containing the given text.

Parameters

label

Type: const gchar*

The text you want the GtkLabel to hold.

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

Return value

Type: GtkWidget

The newly created GtkButton widget.

The data is owned by the called function.