Constructor

Gtk.Button.new_with_label

Declaration [src]

GtkWidget*
gtk_button_new_with_label (
  const char* label
)

Description [src]

Creates a GtkButton widget with a GtkLabel child.

Parameters

label const char*
 

The text you want the GtkLabel to hold

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

Return value

Returns: GtkWidget

The newly created GtkButton widget

The data is owned by the called function