Creates a new gtk.Switch widget.
the newly created gtk.Switch instance
ConstructionException GTK+ fails to create the object.
3.0
Creates a new gtk.Switch widget.