<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hi, <BR>
&nbsp;<BR>
I have some questions on it:<BR>
1. Any performancing problem when import the 'window' classes should have ?<BR>
<BR>2. I think the prepro code style should be following:<BR>
=================== SNIP =====================<BR>
&nbsp;&nbsp;&nbsp; from window import * <BR>
&nbsp;&nbsp;&nbsp; class Gedit(Window): <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = '*gedit' <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; btncopy = Window.PushButton('btncopy', name)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; btncut = Window.PushButton('btncut', name)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; def class mnuEdit():<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = '*mnuEdit'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mnuChangeCase = Window.MenuItem('mnuChangeCase', name)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mnuAllLowerCase = Window.MenuItem('mnuAllLowerCase', name)<BR>
=================== SNIP =====================<BR>
So, then we can call like this <BR>&nbsp;&nbsp;&nbsp; Gedit.mnuEdit.mnuChangeCase.pick()<BR>&nbsp; also same as:<BR>&nbsp;&nbsp;&nbsp; Gedit('*gedit').mnuEdit('*mnuEdit').mnuChangeCase('mnuChangeCase').pick()<BR>
3. There are more then 150 APIs in ldtp.py, Is that a well way to maintain that wraps all of those APIs?<BR>I mean in realy situation they just do a jumping to directly invoke the original function.<BR>
<BR>Thanks<BR><BR>

<HR id=stopSpelling>
<BR>
&gt; Date: Fri, 28 Jul 2006 15:44:38 +0530<BR>&gt; From: anagappan@novell.com<BR>&gt; To: thanika_1999@yahoo.com<BR>&gt; Subject: Re: [LDTP-Dev] OOLDTP introduction<BR>&gt; CC: Hao.Yu@palmsource.com; ldtp-dev@lists.freedesktop.org<BR>&gt; <BR>&gt; Hi&nbsp;Thanika,<BR>&gt; Welcome&nbsp;back&nbsp;!!!<BR>&gt; <BR>&gt; Ya&nbsp;I&nbsp;could&nbsp;notice&nbsp;one&nbsp;important&nbsp;issue&nbsp;with&nbsp;this&nbsp;approach&nbsp;!<BR>&gt; <BR>&gt; Its&nbsp;same&nbsp;as,&nbsp;'create&nbsp;application&nbsp;map&nbsp;before&nbsp;executing&nbsp;the&nbsp;scripts'.<BR>&gt; Maybe&nbsp;we&nbsp;can&nbsp;fine&nbsp;tune&nbsp;it&nbsp;:)<BR>&gt; <BR>&gt; Thanks<BR>&gt; Nagappan<BR>&gt; <BR>&gt; Thanikachalam&nbsp;S&nbsp;wrote:<BR>&gt; &gt;&nbsp;Excellent.&nbsp;The&nbsp;changes&nbsp;w.r.to&nbsp;the&nbsp;current&nbsp;format&nbsp;looks<BR>&gt; &gt;&nbsp;syntactical,&nbsp;but&nbsp;a&nbsp;<BR>&gt; &gt;&nbsp;worthy&nbsp;alternative.<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;Nags,&nbsp;do&nbsp;you&nbsp;see&nbsp;any&nbsp;issue&nbsp;with&nbsp;this&nbsp;approach?<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;-&nbsp;Thanika<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;-----&nbsp;Original&nbsp;Message&nbsp;-----&nbsp;<BR>&gt; &gt;&nbsp;From:&nbsp;"Hao&nbsp;Yu&nbsp;-&nbsp;??"&nbsp;&lt;Hao.Yu@palmsource.com&gt;<BR>&gt; &gt;&nbsp;To:&nbsp;&lt;ldtp-dev@lists.freedesktop.org&gt;<BR>&gt; &gt;&nbsp;Sent:&nbsp;Friday,&nbsp;July&nbsp;28,&nbsp;2006&nbsp;12:57&nbsp;PM<BR>&gt; &gt;&nbsp;Subject:&nbsp;[LDTP-Dev]&nbsp;OOLDTP&nbsp;introduction<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;Hi,&nbsp;all<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;Here&nbsp;I&nbsp;created&nbsp;a&nbsp;demo&nbsp;for&nbsp;show&nbsp;you&nbsp;how&nbsp;OOLDTP&nbsp;works,<BR>&gt; &gt;&nbsp;please&nbsp;see&nbsp;here&nbsp;for&nbsp;<BR>&gt; &gt;&nbsp;details:<BR>&gt; &gt;&nbsp;http://ldtp.freedesktop.org/wiki/Object_2dOriented_20LDTP<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;Thanks!<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;--------------------------------------------------------------------------------<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;<BR>&gt; &gt;&gt;&nbsp;_______________________________________________<BR>&gt; &gt;&gt;&nbsp;LDTP-dev&nbsp;mailing&nbsp;list<BR>&gt; &gt;&gt;&nbsp;LDTP-dev@lists.freedesktop.org<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; &gt;&nbsp;http://lists.freedesktop.org/mailman/listinfo/ldtp-dev<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;&nbsp;__________________________________________________<BR>&gt; &gt;&nbsp;Do&nbsp;You&nbsp;Yahoo!?<BR>&gt; &gt;&nbsp;Tired&nbsp;of&nbsp;spam?&nbsp;&nbsp;Yahoo!&nbsp;Mail&nbsp;has&nbsp;the&nbsp;best&nbsp;spam&nbsp;protection&nbsp;around&nbsp;<BR>&gt; &gt;&nbsp;http://mail.yahoo.com&nbsp;<BR>&gt; &gt;&nbsp;_______________________________________________<BR>&gt; &gt;&nbsp;LDTP-dev&nbsp;mailing&nbsp;list<BR>&gt; &gt;&nbsp;LDTP-dev@lists.freedesktop.org<BR>&gt; &gt;&nbsp;http://lists.freedesktop.org/mailman/listinfo/ldtp-dev<BR>&gt; &gt;&nbsp;&nbsp;&nbsp;<BR>&gt; <BR>&gt; --&nbsp;<BR>&gt; Nagappan&nbsp;A&nbsp;&lt;anagappan@novell.com&gt;<BR>&gt; Novell&nbsp;Software&nbsp;Development&nbsp;(I)&nbsp;Pvt.&nbsp;Ltd.<BR>&gt; Linux&nbsp;Desktop&nbsp;Testing&nbsp;Project&nbsp;-&nbsp;http://ldtp.freedesktop.org<BR>&gt; http://nagappanal.blogspot.com/<BR>&gt; <BR>&gt; Novell,&nbsp;Inc.<BR>&gt; SUSE®&nbsp;Linux&nbsp;Enterprise&nbsp;10<BR>&gt; Your&nbsp;Linux&nbsp;is&nbsp;ready™<BR>&gt; http://www.novell.com/linux<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; LDTP-dev&nbsp;mailing&nbsp;list<BR>&gt; LDTP-dev@lists.freedesktop.org<BR>&gt; http://lists.freedesktop.org/mailman/listinfo/ldtp-dev<BR><BR><br /><hr />Windows Live Safety Center 为您的计算机提供免费的安全扫描服务。 <a href='http://safety.live.com/site/ZH-CN/default.htm' target='_new'>它是免费的!</a></body>
</html>