Sorry, I was going to reply but didn't get a chance. I was the 1 that
implemented the frame type, I think when I wrote it I sent an email to the
mailing list with its usages but don't think I put it on the wiki?

Anyway, I used it in the POP3 plugin (get latest from cvs), and it saves
complex stuff in the config, so maybe you want to read it and try to use the
way I did it. Although I'm not sure I recommend it for newbs, the code was
probably more complex than most plugins would need (although it does show
that it can be quite powerful).

PS now that you know how all the different types work, including the frame
type, maybe you want to document it on the wiki :).


Lio.

----- Original Message ----- 
From: "Youness Alaoui" <[EMAIL PROTECTED]>
To: <amsn-devel@lists.sourceforge.net>
Sent: Monday, October 17, 2005 5:54 PM
Subject: Re: [Amsn-devel] dbus-monitor plugin


ok good...
glad you figured it out on your own... I personnaly didn't know how it
worked!
good job ;)
now.. when is your plugin going to be available for all and is there a
howto/doc and what can be achieved with this plugin.. because I still
don't fully understand what it does.. is it for RPC/IPC ? (Remote
Procedure Call/Inter-Process Communication)

KaKaRoTo

On Mon, 17 Oct 2005 03:44:49 -0400, Jonne Zutt <[EMAIL PROTECTED]>
wrote:

> Never mind this question, I figured it out already.
> The list element at the question marks should be a procedure to call.
> So [list frame ::mypluginspace::mycommand] calls mycommand and passes
> frame $confwin.$i as parameter.
> That's nice :)
>
>>   set ::DbusViewer::configlist [list \
>>       [list bool "Do you like this plugin" likeit] \
>>       [list bool "Do you love this plugin" loveit] \
>>       [list str  "\tWhy do you love it?" reason] \
>>       [list frame ???] \
>>     ]
>>
>> I have problems with the
>> [lindex $confitem 1] $confwin.$i
>> What command should that become?
>> My guess is it should be something with 'pack' or 'place'
>> to add a frame that I create to $confwin.$i. But how
>> can that be done?
>>
>> #frame {
>> #  frame $confwin.$i
>> #  [lindex $confitem 1] $confwin.$i
>> #  if { "[lindex $confitem 2]" != "" } {
>> #    lappend saveframelist "[lindex $confitem 2] $confwin.$i"
>> #  }
>> #  pack $confwin.$i -fill x -anchor w
>> #}



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to