module ClutterGtk

Constants

LOG_DOMAIN

Public Class Methods

const_missing(name) click to toggle source
Calls superclass method
# File lib/clutter-gtk.rb, line 26
def const_missing(name)
  init()
  if const_defined?(name)
    const_get(name)
  else
    super
  end
end
init(argv=[]) click to toggle source
# File lib/clutter-gtk.rb, line 35
def init(argv=[])
  class << self
    remove_method(:init)
    remove_method(:const_missing)
  end
  Gtk.init if Gtk.respond_to?(:init)
  loader = Loader.new(self, argv)
  loader.load
  Clutter.init(argv) if Clutter.respond_to?(:init)
end