Class: Gtk::StyleContext
Instance Attribute Summary
Attributes inherited from GObject
Instance Method Summary collapse
-
#initialize(pointer) ⇒ StyleContext
constructor
A new instance of StyleContext.
Methods inherited from GObject
#method_missing, #signal_connect, type_register, #unref
Constructor Details
#initialize(pointer) ⇒ StyleContext
Returns a new instance of StyleContext.
10 11 12 13 |
# File 'lib/gtk/style_context.rb', line 10 def initialize(pointer) raise "hell" unless pointer.is_a?(FFI::Pointer) @native = pointer end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Gtk::GObject