Esempio n. 1
0
// stub
func modify_base(v unsafe.Pointer, color *gdk.GdkColor) {
	C.gtk_widget_modify_base((*_Ctype_GtkWidget)(v), C.GtkStateType(gtk.GTK_STATE_NORMAL), (*C.GdkColor)(unsafe.Pointer(&color.Color)))
}
Esempio n. 2
0
	STACK_TRANSITION_TYPE_SLIDE_UP_DOWN    = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN)
	STACK_TRANSITION_TYPE_OVER_UP          = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_OVER_UP)
	STACK_TRANSITION_TYPE_OVER_DOWN        = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_OVER_DOWN)
	STACK_TRANSITION_TYPE_OVER_LEFT        = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_OVER_LEFT)
	STACK_TRANSITION_TYPE_OVER_RIGHT       = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_OVER_RIGHT)
	STACK_TRANSITION_TYPE_UNDER_UP         = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_UNDER_UP)
	STACK_TRANSITION_TYPE_UNDER_DOWN       = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_UNDER_DOWN)
	STACK_TRANSITION_TYPE_UNDER_LEFT       = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_UNDER_LEFT)
	STACK_TRANSITION_TYPE_UNDER_RIGHT      = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT)
	STACK_TRANSITION_TYPE_OVER_UP_DOWN     = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN)
	STACK_TRANSITION_TYPE_OVER_DOWN_UP     = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP)
	STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT  = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT)
	STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT  = C.GtkStackTransitionType(C.GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT)

	// StateType
	STATE_NORMAL       = C.GtkStateType(C.GTK_STATE_NORMAL)
	STATE_ACTIVE       = C.GtkStateType(C.GTK_STATE_ACTIVE)
	STATE_PRELIGHT     = C.GtkStateType(C.GTK_STATE_PRELIGHT)
	STATE_SELECTED     = C.GtkStateType(C.GTK_STATE_SELECTED)
	STATE_INSENSITIVE  = C.GtkStateType(C.GTK_STATE_INSENSITIVE)
	STATE_INCONSISTENT = C.GtkStateType(C.GTK_STATE_INCONSISTENT)
	STATE_FOCUSED      = C.GtkStateType(C.GTK_STATE_FOCUSED)

	// TextBufferTargetInfo
	TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = C.GtkTextBufferTargetInfo(C.GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS)
	TEXT_BUFFER_TARGET_INFO_RICH_TEXT       = C.GtkTextBufferTargetInfo(C.GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT)
	TEXT_BUFFER_TARGET_INFO_TEXT            = C.GtkTextBufferTargetInfo(C.GTK_TEXT_BUFFER_TARGET_INFO_TEXT)

	// TextDirection
	TEXT_DIR_NONE = C.GtkTextDirection(C.GTK_TEXT_DIR_NONE)
	TEXT_DIR_LTR  = C.GtkTextDirection(C.GTK_TEXT_DIR_LTR)