In Files

  • tk/lib/tk/tk_mac.rb

Class/Module Index [+]

Quicksearch

Tk::Mac

Public Class Methods

CGAntialiasLimit(limit) click to toggle source
 
               # File tk/lib/tk/tk_mac.rb, line 79
def self.CGAntialiasLimit(limit)
  tk_call('::tk::mac::CGAntialiasLimit', limit)
  nil
end
            
antialiasedtext(num) click to toggle source
 
               # File tk/lib/tk/tk_mac.rb, line 84
def self.antialiasedtext(num)
  tk_call('::tk::mac::antialiasedtext', num)
  nil
end
            
def_OnHide(cmd=Proc.new) click to toggle source
 
               # 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
            
def_OnShow(cmd=Proc.new) click to toggle source
 
               # 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
            
def_OpenApplication(cmd=Proc.new) click to toggle source
 
               # 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
            
def_OpenDocument(cmd=Proc.new) click to toggle source
 
               # 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
            
def_PrintDocument(cmd=Proc.new) click to toggle source
 
               # 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
            
def_Quit(cmd=Proc.new) click to toggle source
 
               # 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
            
def_ReopenApplication(cmd=Proc.new) click to toggle source
 
               # 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
            
def_ShowHelp(cmd=Proc.new) click to toggle source
 
               # 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
            
def_ShowPreferences(cmd=Proc.new) click to toggle source

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
            
standardAboutPanel() click to toggle source

additional dialogs

 
               # File tk/lib/tk/tk_mac.rb, line 67
def self.standardAboutPanel
  tk_call('::tk::mac::standardAboutPanel')
  nil
end
            
useCompatibilityMetrics(mode) click to toggle source

system configuration

 
               # File tk/lib/tk/tk_mac.rb, line 74
def self.useCompatibilityMetrics(mode)
  tk_call('::tk::mac::useCompatibilityMetrics', mode)
  nil
end
            
useThemedToplevel(mode) click to toggle source
 
               # File tk/lib/tk/tk_mac.rb, line 89
def self.useThemedToplevel(mode)
  tk_call('::tk::mac::useThemedToplevel', mode)
  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.