Created
June 10, 2016 15:37
-
-
Save ebassi/aa2554bbf89558f08f5e56cf2e360e40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let context = widget.get_style_context(); | |
let state = widget.get_state_flags(); | |
context.save(); | |
context.set_state(state); | |
padding = context.get_padding(context.get_state()); | |
context.restore(); | |
return padding; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment