# File tk/lib/tk/tk_mac.rb, line 78
def self.CGAntialiasLimit(limit)
tk_call('::tk::mac::CGAntialiasLimit', limit)
nil
end
# File tk/lib/tk/tk_mac.rb, line 83
def self.antialiasedtext(num)
tk_call('::tk::mac::antialiasedtext', num)
nil
end
# File tk/lib/tk/tk_mac.rb, line 49
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 54
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 24
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 34
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 39
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 44
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 29
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 59
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 19
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 66
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.