From 2af40fec695ed2c575c4ad618c53ece00718b5c4 Mon Sep 17 00:00:00 2001 From: Reinaldo de Souza Jr Date: Sat, 6 Feb 2016 08:54:15 -0500 Subject: [PATCH] Add GTK_STYLE_PROVIDER_PRIORITY_* --- gtk/style.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gtk/style.go b/gtk/style.go index 0fcb505..8eab60a 100644 --- a/gtk/style.go +++ b/gtk/style.go @@ -12,6 +12,16 @@ import ( "github.com/gotk3/gotk3/glib" ) +type StyleProviderPriority int + +const ( + STYLE_PROVIDER_PRIORITY_FALLBACK StyleProviderPriority = C.GTK_STYLE_PROVIDER_PRIORITY_FALLBACK + STYLE_PROVIDER_PRIORITY_THEME = C.GTK_STYLE_PROVIDER_PRIORITY_THEME + STYLE_PROVIDER_PRIORITY_SETTINGS = C.GTK_STYLE_PROVIDER_PRIORITY_SETTINGS + STYLE_PROVIDER_PRIORITY_APPLICATION = C.GTK_STYLE_PROVIDER_PRIORITY_APPLICATION + STYLE_PROVIDER_PRIORITY_USER = C.GTK_STYLE_PROVIDER_PRIORITY_USER +) + /* * GtkStyleContext */