# File tk/lib/tk/tk_mac.rb, line 79
def self.CGAntialiasLimit(limit)
tk_call('::tk::mac::CGAntialiasLimit', limit)
nil
end
# File tk/lib/tk/tk_mac.rb, line 84
def self.antialiasedtext(num)
tk_call('::tk::mac::antialiasedtext', num)
nil
end
# File tk/lib/tk/tk_mac.rb, line 50
def self.def_OnHide(cmd=Proc.new)
ip_eval("proc ::tk::mac::OnHide {} { #{install_cmd(cmd)} }")
nil
end
# File tk/lib/tk/tk_mac.rb, line 55
def self.def_OnShow(cmd=Proc.new)
ip_eval("proc ::tk::mac::OnShow {} { #{install_cmd(cmd)} }")
nil
end
# File tk/lib/tk/tk_mac.rb, line 25
def self.def_OpenApplication(cmd=Proc.new)
ip_eval("proc ::tk::mac::OpenApplication {} { #{install_cmd(cmd)} }")
nil
end
# File tk/lib/tk/tk_mac.rb, line 35
def self.def_OpenDocument(cmd=Proc.new)
ip_eval("proc ::tk::mac::OpenDocument {args} { eval #{install_cmd(cmd)} $args }")
nil
end
# File tk/lib/tk/tk_mac.rb, line 40
def self.def_PrintDocument(cmd=Proc.new)
ip_eval("proc ::tk::mac::PrintDocument {args} { eval #{install_cmd(cmd)} $args }")
nil
end
# File tk/lib/tk/tk_mac.rb, line 45
def self.def_Quit(cmd=Proc.new)
ip_eval("proc ::tk::mac::Quit {} { #{install_cmd(cmd)} }")
nil
end
# File tk/lib/tk/tk_mac.rb, line 30
def self.def_ReopenApplication(cmd=Proc.new)
ip_eval("proc ::tk::mac::ReopenApplication {} { #{install_cmd(cmd)} }")
nil
end
# File tk/lib/tk/tk_mac.rb, line 60
def self.def_ShowHelp(cmd=Proc.new)
ip_eval("proc ::tk::mac::ShowHelp {} { #{install_cmd(cmd)} }")
nil
end
event handler callbacks
# File tk/lib/tk/tk_mac.rb, line 20
def self.def_ShowPreferences(cmd=Proc.new)
ip_eval("proc ::tk::mac::ShowPreferences {} { #{install_cmd(cmd)} }")
nil
end
additional dialogs
# File tk/lib/tk/tk_mac.rb, line 67
def self.standardAboutPanel
tk_call('::tk::mac::standardAboutPanel')
nil
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.