Property definitions

gtk $ GtkSwitch :: defaultinit
# A "light switch" style toggle
# See: https://developer.gnome.org/gtk3/3.2/GtkSwitch.html
extern class GtkSwitch `{GtkSwitch *`}
	super GtkWidget

	new `{
		 return (GtkSwitch *)gtk_switch_new();
	`}

	fun active: Bool `{
		return gtk_switch_get_active(self);
	`}

	fun active=(is_active: Bool) `{
		return gtk_switch_set_active(self, is_active);
	`}
end
lib/gtk/v3_4/gtk_core.nit:1061,1--1077,3