itcl::component − define components for extendedclass, widget or widgetadaptor

Parts of this description are "borrowed" from Tcl extension [snit], as the functionality is mostly identical.


This is new functionality in [incr Tcl] where the API can still change!!


public component comp ?-inherit?
protected component
comp ?-inherit?
private component
comp ?-inherit? ___________________________


The component command is used inside an [incr Tcl] extendedclass/widget/widgetadaptor definition to define components.

Explicitly declares a component called comp, and automatically defines the component’s instance variable.

If the -inherit option is specified then all unknown methods and options will be delegated to this component. The name -inherit implies that instances of this new type inherit, in a sense, the methods and options of the component. That is, -inherit yes is equivalent to:

component mycomp
delegate option * to mycomp
delegate method * to mycomp


component, widget, widgetadaptor, extendedclass

More Linux Commands

gnutls_set_default_priority(3) - API function (Man Page)....
Sets some default priority on the ciphers, key exchange methods, macs and compression methods. THIS IS THE SAME AS CALLING gnutls_priority_set_direct (session,

fenv(3) - floating-point rounding and exception handling....
These eleven functions were defined in C99, and describe the handling of floating-point rounding and exceptions (overflow, zero-divide, etc.). Exceptions The di

print_description(3) - netsnmp_mib_api functions (Man Page)
The functions dealing with MIB modules fall into four groups - those dealing with initialisation and shutdown, with reading in and parsing MIB files, with searc

jpegtran(1) - lossless transformation of JPEG files.........
jpegtran performs various useful transformations of JPEG files. It can translate the coded representation from one variant of JPEG to another, for example from

odbcinst(1) An unixODBC tool for manipulating configuration
odbcinst is a command line tool which has been created for allowing people who are developing the install scripts/RPMs for Drivers to be able to easily create/r

XtConvert(3) - invoke resource converters - Linux man page
The XtConvert function looks up the type converter registered to convert from_type to to_type, computes any additional arguments needed, and then calls XtDirect

glClearStencil(3gl) - specify the clear value for the stenci
glClearStencil specifies the index used by glClear to clear the stencil buffer. s is masked with $2 sup m^-^1$, where $m$ is the number of bits in the stencil b

squid_radius_auth(8) - Squid RADIUS authentication helper...
This helper allows Squid to connect to a RADIUS server to validate the user name and password of Basic HTTP authentication. -f configfile Specifies the path to

TYPE_ENUM(3form) - form system global variables (Man Page)
These are building blocks for the form library, defining fields that can be created using set_fieldtype(3X). Each provides functions for field- and character-va

isspace(3) - character classification routines (Man Page)...
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T

glRasterPos3dv(3gl) - specify the raster position for pixel
The GL maintains a 3D position in window coordinates. This position, called the raster position, is used to position pixel and bitmap write operations. It is ma

Tcl_FindEnsemble(3) - manipulate ensemble commands (ManPage)
An ensemble is a command, bound to some namespace, which consists of a collection of subcommands implemented by other Tcl commands. The first argument to the en

We can't live, work or learn in freedom unless the software we use is free.