module Gtk::Lib
Public Class Methods
attach_method(method, args, ret)
click to toggle source
# File lib/gtk.rb, line 23 def self.attach_method method, args, ret attached_methods[method] = { :name => method, :args => args, :ret => ret } attach_function method,args.map{ |arg| arg.respond_to?(:superclass) && arg.superclass == Enums ? :long : arg },ret end
attached_methods()
click to toggle source
# File lib/gtk.rb, line 19 def self.attached_methods @attached_methods ||= {} end