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 78
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 83
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 49
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 54
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 24
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 34
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 39
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 44
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 29
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 59
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 19
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 66
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 73
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 88
def self.useThemedToplevel(mode)
  tk_call('::tk::mac::useThemedToplevel', mode)
  nil
end