socket
Author: Peter G. Baum (peter@dr-baum.net)
Keywords: gnocl, Tcl, gtk, gnome

## NAME

socket - Create and manipulate a socket widget

## SYNOPSIS

socket ?-option optionVal ...?

## OPTIONS

## DESCRIPTION

A socket widget can be used to embed a window of another process. It works best with a plug widget on the other side.

## WIDGET COMMANDS

The socket command creates a new Tcl command whose name is an ID returned on widget creation. This command may be used to invoke various operations on the widget. It has the following general form:
ID option ?arg arg ...?
option and arg determine the exact behavior of the command. The following commands are possible for socket widgets:

ID getXID
  Returns the XID of the socket. This value is required for the plug widget.

## KEYWORDS

Copyright © 2001 - 2002 P. G. Baum