~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to doc/docbook/src/introduction-itcl.html

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
2
2
<HTML
3
3
><HEAD
4
4
><TITLE
5
5
>Introduction to [incr Tcl]</TITLE
6
6
><META
7
7
NAME="GENERATOR"
8
 
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9
9
REL="HOME"
10
10
TITLE="The PLplot Plotting Library"
11
11
HREF="index.html"><LINK
56
56
WIDTH="80%"
57
57
ALIGN="center"
58
58
VALIGN="bottom"
59
 
>Chapter 11. Building an Extended WISH</TD
 
59
>Chapter 12. Building an Extended WISH</TD
60
60
><TD
61
61
WIDTH="10%"
62
62
ALIGN="right"
84
84
      Tcl].  [incr Tcl] is to Tcl what C++ is to C.  The analogy is very
85
85
      extensive.  Itcl provides an object oriented extension to Tcl
86
86
      supporting clustering of procedures and data into what is called an
87
 
      <VAR
88
 
CLASS="literal"
89
 
>itcl_class</VAR
90
 
>.  An <VAR
91
 
CLASS="literal"
92
 
>itcl_class</VAR
 
87
      <TT
 
88
CLASS="literal"
 
89
>itcl_class</TT
 
90
>.  An <TT
 
91
CLASS="literal"
 
92
>itcl_class</TT
93
93
> can
94
94
      have methods as well as instance data.  And they support inheritance.
95
95
      Essentially if you know how C++ relates to C, and if you know Tcl,
108
108
    </P
109
109
><P
110
110
>      This is exactly the sort of thing object orientation is intended to
111
 
      assist.  Using Itcl you can create an <VAR
 
111
      assist.  Using Itcl you can create an <TT
112
112
CLASS="literal"
113
113
>itcl_class
114
 
        FileSelector</VAR
 
114
        FileSelector</TT
115
115
> and then you can instantiate them freely as
116
116
      easily as:
117
117
    </P