Package: gtk
Function gtk-style-context-property
Lambda Listgtk-style-context-property (context property state) ArgumentsReturn ValueThe value for the style property. Details
Gets a style property from the style context for the given state. Example
(setq context (gtk-style-context-new))
=> #<GTK-STYLE-CONTEXT {100687D223}>
(gtk-style-context-property context "color" :normal)
=> #S(GDK-RGBA :RED 1.0d0 :GREEN 1.0d0 :BLUE 1.0d0 :ALPHA 1.0d0)
(gtk-style-context-property context "opacity" :normal)
=> 1.0d0
(gtk-style-context-property context "font" :normal)
=> #<PANGO-FONT-DESCRIPTION {100687E0B3}>
(pango-font-description-to-string *)
=> "Ubuntu 11" | See also |
2021-11-26