itclcomponent man page on Alpinelinux

Man page or keyword search:  
man Server   18016 pages
apropos Keyword Search (all sections)
Output format
Alpinelinux logo
[printable version]

component(n)			  [incr Tcl]			  component(n)

______________________________________________________________________________

NAME
       itcl::component	-  define components for extendedclass, widget or wid‐
       getadaptor

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

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

SYNOPSIS
       public component comp ?-inherit?
       protected component comp ?-inherit?
       private component comp ?-inherit?
_________________________________________________________________

DESCRIPTION
       The component command is used inside an	[incr Tcl]  extendedclass/wid‐
       get/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

KEYWORDS
       component, widget, widgetadaptor, extendedclass

itcl				      4.0			  component(n)
[top]

List of man pages available for Alpinelinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net