Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more
# File tk/lib/tk/kinput.rb, line 37 def TkKinput.attribute_config(win, slot, value=None) if slot.kind_of? Hash tk_call('kanjiInput', 'attribute', win, *hash_kv(slot)) else tk_call('kanjiInput', 'attribute', win, "-#{slot}", value) end end
# File tk/lib/tk/kinput.rb, line 48 def TkKinput.attribute_info(win, slot=nil) if slot conf = tk_split_list(tk_call('kanjiInput', 'attribute', win, "-#{slot}")) conf[0] = conf[0][1..-1] conf else tk_split_list(tk_call('kanjiInput', 'attribute', win)).collect{|conf| conf[0] = conf[0][1..-1] conf } end end
# File tk/lib/tk/kinput.rb, line 65 def TkKinput.input_end(win) tk_call('kanjiInput', 'end', win) end
# File tk/lib/tk/kinput.rb, line 30 def TkKinput.input_start(win, keys=nil) tk_call('kanjiInput', 'start', win, *hash_kv(keys)) end
# File tk/lib/tk/kinput.rb, line 68 def kanji_input_end TkKinput.input_end(self) end
# File tk/lib/tk/kinput.rb, line 33 def kanji_input_start(keys=nil) TkKinput.input_start(self, keys) end
# File tk/lib/tk/kinput.rb, line 44 def kinput_attribute_config(slot, value=None) TkKinput.attribute_config(self, slot, value) end
# File tk/lib/tk/kinput.rb, line 61 def kinput_attribute_info(slot=nil) TkKinput.attribute_info(self, slot) end
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.