Re: [Activetcl] Procedure of creating Itcl Class library into a namespace package
by Tom SAVELL other posts by this author
Jul 7 2008 3:24PM messages near this date
view in the new Beta List Site
[Activetcl] Procedure of creating Itcl Class library into a namespace package
|
[Activetcl] Length of multi-line strings
<br> <font size=2 face="sans-serif">Hi Sushil,</font>
<br>
<br> <font size=2 face="sans-serif">I have created many packages of an Itcl
class definition.</font>
<br>
<br> <font size=2 face="sans-serif">All you need to do is declare the class
and methods. In that file, put a "package provide" statement.
Then, create a pkgIndex.tcl file that includes a "package ifneeded"
statement, which will cause the file with the class definition to be sourced.</font>
<br>
<br> <font size=2 face="sans-serif">In order for it to be completely useful,
you'll need to create objects of the class, which become commands. You
can certainly create the objects within a namespace such that your test
automation software GUI will be able to import them as commands.</font>
<br>
<br> <font size=2 face="sans-serif">-Tom<br>
</font>
<br>
<hr> <font size=3 face="Arial"><b>Notice</b> </font>
<br> <font size=1 color=#202020 face="Times New Roman">The information in
this message is confidential and may be legally privileged. It is
intended solely for the addressee. Access to this message by anyone
else is unauthorized. If you are not the intended recipient, any
disclosure, copying or distribution of the message, or any
action taken by you in reliance on it, is prohibited and may be unlawful.
If you have received this message in error, please delete it
and contact the sender immediately. Thank you.</font>
<br> <font size=2 face="sans-serif"><br>
</font>
<br>
<table width=100%>
<tr valign=top>
<td width=40%> <font size=1 face="sans-serif"><b>"Sushil Rai"
<raisushil@gmail.com></b> </font>
<br> <font size=1 face="sans-serif">Sent by: activetcl-bounces@[...].com</font>
<p> <font size=1 face="sans-serif">07/03/2008 09:34 PM</font>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right> <font size=1 face="sans-serif">To</font></div>
<td valign=top> <font size=1 face="sans-serif">ActiveTcl@[...].com</font>
<tr>
<td>
<div align=right> <font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right> <font size=1 face="sans-serif">Subject</font></div>
<td valign=top> <font size=1 face="sans-serif">[Activetcl] Procedure of
creating Itcl Class library into a namespace
package</font> </table>
<br>
<table>
<tr valign=top>
<td>
<td> </table>
<br> </table>
<br>
<br>
<br> <font size=3>Greetings to All,</font>
<br> <font size=3> </font>
<br> <font size=3>Is there any way of creating package of Itcl Class. <br>
<br>
I am trying to use a test automation software where tcl namespace packages
can be imported and the GUI will show to all the procedures available in
the package in a drop down menu.<br>
<br>
Please suggest</font>
<p> <font size=3>Thanks<br>
-- <br>
Sushil Rai </font> <tt><font size=2>_______________________________________________<br>
ActiveTcl mailing list<br>
ActiveTcl@[...].com<br>
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs<br>
</font> </tt>
<br> <font size=2 color=white face="sans-serif">ForwardSourceID:NT00047D4A
</font>
Thread:
Sushil Rai
Tom SAVELL
|