For example: When you are exporting an image there are many settings, like "File Settings" and whatnot. How can I trigger a command that will "collapse" or "minimize" that specific menu item? (This is the same function as clicking on the little black arrow near the title of the menu item).
I'd like to be able to do that in both export and plugin manager dialog boxes. But I don't know how either - I'm pretty sure you'll have to try and comb through Ag widget objects and what have you, maybe emit mouse gestures... (i.e. no straight-forward way to do it, e.g. using SDK).