Package: gtk

Function gtk-style-context-style-property

Lambda List

gtk-style-context-style-property (context widget property)

Arguments

context -- a gtk-style-context object
widget -- a gtk-widget object the style property is looked up for
property -- a string with the name of the widget style property

Return Value

Returns the value of the style property.

Details

Gets the value for a widget style property.

Example

(setq message (make-instance 'gtk-message-dialog))
=> #<GTK-MESSAGE-DIALOG {100577F4A3}>
(setq context (gtk-widget-style-context message))
=> #<GTK-STYLE-CONTEXT {10057DE323}>
(gtk-style-context-style-property context message "message-border")
=> 12    
 

See also

2021-11-26