GtkSocket::get_id

int get_id();

This method gets the window ID of a GtkSocket widget, which can then be used to create a client embedded inside the socket, for instance with GtkPlug. The GtkSocket must have already be added into a toplevel window before you can make this call. See also: add_id()