int id()
Returns the window id, to be sent to the application providing the plug. You must realize this widget before calling this function.