SDL::Mac::HIServices

Public Class Methods

make_current_front() click to toggle source

Does the magic to make the current process a front process.

# File lib/ruby-sdl-ffi/sdl/mac.rb, line 434
def self.make_current_front
  current = ProcessSerialNumber.new( [0, 0] )
  GetCurrentProcess( current )
  TransformProcessType(current,KProcessTransformToForegroundApplication)
  SetFrontProcess( current )
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.