$self Configure [$hull cget -width]Tom Jenkins wrote:
Tom Jenkins wrote:
Arieh Schneier wrote:
- when selecting in the menus the main amsn program 'loses focus'
Ok, I fixed this problem by making the menu a 'transient'.
Thanks!
- For starters, why is it using so much ram?
While looking at the code, I also noticed that you actually create
all the
windows at create time, then when posting/unposting you just
unhide/hide. I
think that is probably why it uses soooo much memory. Wouldn't it be
a lot
more efficient just to store the list of menu items, then when
posting/unposting you create/destroy the (window for the) menu?
I figured that'd be really slow... I'll try it though.
That's gonna be more difficult than I thought when I replied... the
list of items is stored in the same snit object as the canvas....so if
you destroy the canvas, you destroy the whole thing really.... what I
could do is make it delete the images when it's unposted, then
re-create them when it's posted again...
Bleh, this is tricker than I thought....the menu wasn't really written
to work this way :( I did make some changes to scalable-bg though, that
might have reduced the amount of ram used a little bit.
Btw, about popup menus not unposting, they work fine for me...
Lio.
----- Original Message From: "Arieh Schneier" -----
umm, just select a menu and voila.
I have 2 images attached to explain what I mean (disregarding the
blurring
;) ).
normal.png shows what a selected window looks like.
menu.png shows what happens when I click on the amsn menu (or any
menu).
PS Sorry for the slow reply, been very busy lately.
----- Original Message ----- From: "Tom Jenkins"
<[EMAIL PROTECTED]>
To: <amsn-devel@lists.sourceforge.net>
Sent: Tuesday, February 28, 2006 4:42 AM
Subject: Re: [Amsn-devel] Pixmap menu
Arieh Schneier wrote:
If people find bugs, please report them!
<snip>
- Not sure if there is a simple way to fix this, but when
selecting in
the
menus the main amsn program 'loses focus'.
I couldn't reproduce this.... could you give me a method?
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel
--
Don't just be a drop in the ocean. Join with us and make some waves. Sign up to
join us on our year-long journey and act to defend our oceans. It's free.
http://oceans.greenpeace.org/defenders
___________________________________________________________
NEW Yahoo! Cars - sell your car and browse thousands of new and used cars online! http://uk.cars.yahoo.com/
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel