Class: Gtk::StyleContext

Inherits:
GObject show all
Defined in:
lib/gtk/style_context.rb

Instance Attribute Summary

Attributes inherited from GObject

#native, #type

Instance Method Summary collapse

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