[Adium-devl] AIInterfaceController and opening (and moving) chat windows.
Matt Handley
applmak at gmail.com
Thu Jun 14 14:05:21 UTC 2007
Hi.
There are two operations that would come in handy for AppleScript
support: the ability to move a chat from a window to another window
or move a chat's position inside of a window, and make/delete a chat
at some location.
The first operation looks to already have code written for it:
[AIDualWindowInterfacePlugin moveChat:toContainerWithID:index:].
However, when I use this, the PSMTabBar control is not updated
correctly, or synchronized with the moved chat. What am I doing
wrong? What do I need to do to inform the control that the order of
its tabs needs to be different?
The second operation doesn't have code in AIInterfaceController (like
the more generic openChat:). I'm planning of writing my own openChat:
inContainerID: method (and adding it to the appropriate protocol),
unless someone can tell me if a similar method already exists. Any
suggestions?
Thank you!
Matt
More information about the devel
mailing list