Property definitions

gtk $ GtkStack :: defaultinit
# Container with a single child visible at a time
extern class GtkStack `{ GtkStack * `}
	super GtkContainer

	new `{ return (GtkStack*)gtk_stack_new(); `}

	fun stack_add(child: GtkWidget, name: String) do native_stack_add(child, name.to_cstring)
	private fun native_stack_add(child: GtkWidget, name: CString) `{ gtk_stack_add_named(self, child, name); `}

	fun add_titled(child: GtkWidget, name, title: CString) `{ gtk_stack_add_titled(self, child, name, title); `}
	fun native_add_titled(child: GtkWidget, name, title: CString) `{ gtk_stack_add_titled(self, child, name, title); `}

	fun visible_child=(child: GtkWidget) `{ gtk_stack_set_visible_child(self, child); `}

	fun visible_child: GtkWidget `{ return gtk_stack_get_visible_child(self); `}

	fun visible_child_name=(name: Text) do native_visible_child_name = name.to_cstring
	fun native_visible_child_name=(name: CString) `{ gtk_stack_set_visible_child_name(self, name); `}

	fun visible_child_name: Text do return native_visible_child_name.to_s
	fun native_visible_child_name: CString `{ return (gchar *)gtk_stack_get_visible_child_name(self); `}

	fun set_visible_child_full(name: Text, transition: GtkStackTransitionType) do native_set_visible_child_full(name.to_cstring, transition)
	fun native_set_visible_child_full(name: CString, transition: GtkStackTransitionType) `{
		gtk_stack_set_visible_child_full(self, name, transition);
	`}

	fun homogeneous=(homogeneous: Bool) `{ gtk_stack_set_homogeneous(self, homogeneous); `}

	fun homogeneous: Bool `{ return gtk_stack_get_homogeneous(self); `}

	fun transition_duration=(duration: Int) `{ gtk_stack_set_transition_duration(self, duration); `}

	fun transition_duration: Int `{ return gtk_stack_get_transition_duration(self); `}

	fun transition_type=(transition: GtkStackTransitionType) `{ gtk_stack_set_transition_type(self, transition); `}

	fun transition_type: GtkStackTransitionType `{ return gtk_stack_get_transition_type(self); `}
end
lib/gtk/v3_10.nit:117,1--155,3