On Wed, Dec 06, 2006 at 02:22:48PM +0100, Boris Faure (aka billiob) wrote:
> On 12/5/06, Karel Demeyer <[EMAIL PROTECTED]> wrote:
> > Well, it's definately great to see this. I think a month ago or
> > something I made a design for how the different steps should be made
> > (from my point of view).  This is different then what I coded.  DO you
> > know of this design or should I digg in the mailing list archive ?
> >
> >
> > Karel.
> 
> I think you're talking about this message :
> http://thread.gmane.org/gmane.network.instant-messaging.amsn.devel/6904/focus=6904
> 
> 
Yeah, I think that's what he was refering to

> On 12/6/06, Youness Alaoui <[EMAIL PROTECTED]> wrote:
> > Great initiative, thanks for starting working on the tasks you were 
> > assigned..
> I've started before :)
> 
> > Question, is it a full assistant or just a helper ? in other words, you do a
> > Assistant create .a
> > and you get all the assistanr or you do a
> > Assistante create .a
> > .a addPage ...
> > .a addStep ...
> > etc..
> > .a show
> It's more this way :
> 
> set assistant [assistant .wcassistantwindow $options...]
> set contentf [$assistant clearContentFrame]
> #add the Content
> label $contentf.text -text "This assistant ......"
> pack $contentf.text
> $assistant register "next" ::CamAssistant::Step1
> 
> proc Step1 {} {
>     $assistant setTitleText "Check for required extensions (Step 1 of 2)"
>     $assistant configure -curstep 1
>     $assistant register "back" ::CamAssistant::Step0
>     $assistant register "next" ::CamAssistant::Step2Ex
> 
ok, I see, well, that's what i was talking about (in a little less specific 
pseudo-code;)), as long as it's generic and can be 
reused, it's good :)

> My problem is that i don't know wheter it should be :
> with efficient configure methods in the snit widget
>     $assistant configure -titletext "Check for required extensions
> (Step 1 of 2)"
>     $assistant configure -curstep 1
> or :
>     $assistant setTitleText "Check for required extensions (Step 1 of 2)"
>     $assistant setStep 1
> 

Well, I don't know, I think it's a matter of choice/taste.. 
but I thing I noticed and I would suggest, it that you do a :
configure -steps 2
settitleText "Check for required extensions"
configure -curstep 1

and let the widget itself add the "(Step x of y)", as this is cleaner and is 
more an assistant thing rather than a title thing, 
and also is a lot easier if we want to add or remove a whole step.

> TODO :
> the options -displaystep and -displaystepfull should be used in
> setTitleText method.
> 
> What would be maybe better, would be to create a snit widget which
> would include the assistant widget as a component. And having snit
> widgets for every assistant we want.
> (hope you'll understand :s)
> 
Yeah, I understand, and it's cool :) I'm waiting to see that work done :)

> Anyway, the real assistant still needs to be done.
> 
> > p.s.: please remove the diff when forwarding from amsn-commits.
> sorry :s
> 
it's ok

p.s: Billiob take a look here when you have time please : 
http://www.amsn-project.net/forums/viewtopic.php?p=12770

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to