Constructor

Gtk.Switch.new

Declaration [src]

GtkWidget*
gtk_switch_new (
  void
)

Description [src]

Creates a new GtkSwitch widget.

Return value

Returns: GtkWidget

the newly created GtkSwitch instance

Ownership is not transferred to the caller