Skip to content

Commit

Permalink
Merge pull request conformal#86 from twstrike/style-priority
Browse files Browse the repository at this point in the history
Add GTK_STYLE_PROVIDER_PRIORITY_*
  • Loading branch information
juniorz committed Feb 6, 2016
2 parents d2c0e38 + 2af40fe commit 91ffc14
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gtk/style.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 91ffc14

Please sign in to comment.