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...

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: <[email protected]>
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
[email protected]
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


                
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.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
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to