How can I pop up Webkit's Web Inspector from my WebView object programmatically?

I succeed [to enable Webkit's Web Inspector](https://stackoverflow.com/questions/695038/is-there-a-way-to-use-the-webkit-web-inspector-from-a-cocoa-webview-object) on my WebView.
It's working well, and now I can pop it up by clicking "Inspect Element" on context menu.
And I want to do this with my push button. But I couldn't find a proper way to do this.
My DOM knowledge is 10 years old, very newbie on HTML DOM of nowadays.
Is there any way to do this?

I found a class document: [InspectorController](http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/WebKitDOMRef/InspectorController_idl/Classes/InspectorController/index.html). I think this is a kind of key. But I cannot know what object exposes and how can I use this.

Environment:

* Mac OS X 10.6
* Xcode 3.2.1 (iPhone SDK, no plug-in)