connection

connection() Instance Public methods Retrieve the connection associated with the current thread, or call checkout to obtain one if necessary. connection can be called any number of times; the connection is held in a hash keyed by the thread id.

rewind

rewind() Instance Public methods

invoke

invoke(idx=nil) Instance Public methods

find_attr_comment

find_attr_comment(var_name, attr_name, read = nil, write = nil) Instance Public methods Finds a comment for rb_define_attr, rb_attr or Document-attr. var_name is the C class variable the attribute is defined on. attr_name is the attribute's name. read and write are the read/write flags ('1' or '0'). Either both or neither must be provided.

test_association_stuff

test_association_stuff() Instance Public methods

next_mark

next_mark(index) Instance Public methods Alias for: mark_next

size

size() Instance Public methods

**

big ** exponent â numeric Instance Public methods Raises big to the exponent power (which may be an integer, float, or anything that will coerce to a number). The result may be a Fixnum, Bignum, or Float 123456789 ** 2 #=> 15241578750190521 123456789 ** 1.2 #=> 5126464716.09932 123456789 ** -2 #=> 6.5610001194102e-17 power!

install_bind

install_bind(cmd, *args) Instance Public methods

new

new(src_menu, *args) Class Public methods def initialize(parent, type=None) widgetname = nil if parent.kind_of? Hash keys = _symbolkey2str(parent) parent = keys.delete('parent') widgetname = keys.delete('widgetname') type = keys.delete('type'); type = None unless type end #unless parent.kind_of?(TkMenu) # fail ArgumentError, "parent must be TkMenu" #end @parent = parent install_win(@parent.path, widgetname) tk_call_without_enc(@parent.path, 'clone', @path, type) end