Class: Gtk::StyleProperties

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk3/style-properties.rb

Instance Method Summary collapse

Instance Method Details

#get_property(key, state) ⇒ Object


20
21
22
23
24
25
26
27
# File 'lib/gtk3/style-properties.rb', line 20

def get_property(key, state)
  found, property = get_property_raw(key, state)
  if found
    property.value
  else
    nil
  end
end

#get_property_rawObject


19
# File 'lib/gtk3/style-properties.rb', line 19

alias_method :get_property_raw, :get_property