Its not really a vague question, but its not possible out of the box. Those handles are defined in tk2dGuiUtility - they don't use any editor specific code, but it does expect to be called from OnGUI or something similar. It is possible to modify the code to deal with it properly, but will require some modification to whats there already.
You do have some code to start with though...