NSWindow(GenieEffect) Category Reference

Provides a Cocoa interface to Carbon's TransitionWindow() function, enabling the use of the "Genie Effect.". More...

#import <NSWindow+MBGenieEffect.h>


Public Member Functions

Normal Windows
(void) - orderFront:usingGenieTransitionFromRect:
 Shows the window using the "Genie Effect.".
(void) - makeKeyAndOrderFront:usingGenieTransitionFromRect:
 Shows the window using the "Genie Effect" and makes it the key window.
(void) - orderOut:usingGenieTransitionToRect:
 Hides the window using the "Genie Effect.".
Child Windows
(void) - addChildWindow:ordered:usingGenieTransitionFromRect:
 Adds a given window as a child window and shows it using the "Genie Effect.".
(void) - removeChildWindow:usingGenieTransitionToRect:
 Detaches a given child window from receiver using the "Genie Effect.".


Detailed Description

Provides a Cocoa interface to Carbon's TransitionWindow() function, enabling the use of the "Genie Effect.".

Author:
Matthew Ball

Member Function Documentation

- (void) orderFront: (id)  sender
usingGenieTransitionFromRect: (NSRect)  originFrame 

Shows the window using the "Genie Effect.".

Parameters:
sender Message originator
originFrame The frame from which to originate the transition

- (void) makeKeyAndOrderFront: (id)  sender
usingGenieTransitionFromRect: (NSRect)  originFrame 

Shows the window using the "Genie Effect" and makes it the key window.

Parameters:
sender Message originator
originFrame The frame from which to originate the transition

- (void) orderOut: (id)  sender
usingGenieTransitionToRect: (NSRect)  finalFrame 

Hides the window using the "Genie Effect.".

Parameters:
sender Message originator
finalFrame The frame to transition to
Bug:
After the transition, the window is briefly shown again in its original position.

- (void) addChildWindow: (NSWindow *)  childWindow
ordered: (NSWindowOrderingMode)  orderingMode
usingGenieTransitionFromRect: (NSRect)  originFrame 

Adds a given window as a child window and shows it using the "Genie Effect.".

Parameters:
childWindow Child window to order
orderingMode NSWindowAbove: The receiver is ordered immediately in front of the receiver NSWindowBelow: The receiver is placed immediately behind the receiver
originFrame The frame from which to originate the transition

- (void) removeChildWindow: (NSWindow *)  childWindow
usingGenieTransitionToRect: (NSRect)  finalFrame 

Detaches a given child window from receiver using the "Genie Effect.".

Parameters:
childWindow Child window to detach
finalFrame The frame to transition to
Bug:
After the transition, the window is briefly shown again in its original position.


The documentation for this category was generated from the following file:

Generated on Sun Feb 17 16:33:42 2008 for Genie Effect by  doxygen 1.5.5