Constructor

GtkSwitchnew

Declaration [src]

GtkWidget*
gtk_switch_new (
  void
)

Description [src]

Creates a new GtkSwitch widget.

Return value

Type: GtkWidget

The newly created GtkSwitch instance.

The data is owned by the called function.