module SDL::Mac::HIServices
Constants
- KProcessTransformToForegroundApplication
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