Functions


tabViewController:validateDrop:proposedItemIndex:proposedDropOperation:
Validates a proposed drop operation.
tabViewController:acceptDrop:itemIndex:dropOperation:
Performs the drop.
tabViewController:menuForItemAtIndex:event:
Message sent to delegate when the tab view controller needs a context menu.

tabViewController:acceptDrop:itemIndex:dropOperation:

Performs the drop.
- ( BOOL ) tabViewController:
        (MOTabViewController *) tabViewController acceptDrop:
        (id ) info itemIndex:
        (int ) itemIndex dropOperation:
        (MOTabViewDropOperation ) op;

Performs the drop. !!!:mferris:20030505 needs more detail

Parameter Descriptions
tabViewController
The sender.
info
The NSDraggingInfo for the in-progress drag operation.
itemIndex
The drop index.
op
The drop operation.
function result
Whether the drop was completed successfully.

tabViewController:menuForItemAtIndex:event:

Message sent to delegate when the tab view controller needs a context menu.
- ( NSMenu *) tabViewController:
        (MOTabViewController *) tabViewController menuForItemAtIndex
        :
        (int ) itemIndex event:
        (NSEvent *) event;

Message sent to delegate when the tab view controller needs a context menu. This message is sent when the user right-clicks or control-clicks in the tab bar of a tab view. The delegate can return a menu to use as the context menu. This method covers the similar method from MOTabView exposing the ability to supply the context menu to the delegate of the controller.

Parameter Descriptions
tabViewController
The sender.
itemIndex
The index of the tab that the mouse is over, or -1 if the mouse is over the tab bar but not an actual tab.
event
The event.
function result
A menu to use as the context menu or nil if there should be no menu.

tabViewController:validateDrop:proposedItemIndex:proposedDropOperation:

Validates a proposed drop operation.
- ( NSDragOperation ) tabViewController:
        (MOTabViewController *) tabViewController validateDrop:
        (id ) info proposedItemIndex:
        (int ) itemIndex proposedDropOperation:
        (MOTabViewDropOperation ) op;

Validates a proposed drop operation. !!!:mferris:20030505 needs more detail

Parameter Descriptions
tabViewController
The sender.
info
The NSDraggingInfo for the in-progress drag operation.
itemIndex
The proposed drop index.
op
The proposed drop operation.
function result
The drag operation that would occur if the drop happened at the current point.

(Last Updated 3/20/2005)