Hi
Do you know if there is a way to bring morph on top just by moving the mouse over... Thanks Cédrick |
El 2/7/07 7:48 AM, "Cédrick Béler" <[hidden email]> escribió: > Hi > > Do you know if there is a way to bring morph on top just by moving the > mouse over... > > Thanks > > Cédrick | myMorph | my Morph := Morph new openInHand. myMorph setBalloonText: 'MouseOver' Each time what you mouse is over the Morph , the balloon text shows. So , what you could do for learn the Morph how to is follow senders and implementors, like as clues in mystery movie. In message names type handlesMouseOver: and you found implemented in Morph events handling category Edgar __________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas |
In reply to this post by cbeler
Hi Cedrick,
With the silent help from Lukas :-) (Eventhandling in Mondrian) you could try this: Subclass a Morph or SystemWindow or whatever you want. After this implement following: #handleMouseOver: anEvent super handleMouseOver: anEvent. anEvent hand newKeyboardFocus: self. self mouseOver: anEvent and #mouseOver: anEvent self activate. anEvent wasHandled: true. It works for me in a 3.9 image. HTH Cheers, Frank -------- Original Message -------- Subject: Bringing a window on top on mouse over (07-Feb-2007 11:48) From: Cédrick Béler <[hidden email]> To: [hidden email] > Hi > > Do you know if there is a way to bring morph on top just by moving the > mouse over... > > Thanks > > Cédrick > |
Thanks Frank and Edgar...
I'm looking around but that doesn't seem simple... I try to modify SystemWindow but this causes squeak to freeze :) What I like is to be able to bring any windows/morph in front when mouse over, but I think it won't be really quick anyway... I'll try with specific morphs (et leat the open menu I leave open). Thanks anyway Cédrick Frank Urbach a écrit : > Hi Cedrick, > > With the silent help from Lukas :-) (Eventhandling in Mondrian) you could try this: > > Subclass a Morph or SystemWindow or whatever you want. After this implement following: > > #handleMouseOver: anEvent > super handleMouseOver: anEvent. > anEvent hand newKeyboardFocus: self. > self mouseOver: anEvent > > and > > #mouseOver: anEvent > self activate. > anEvent wasHandled: true. > > It works for me in a 3.9 image. > > HTH > > Cheers, > Frank > -------- Original Message -------- > Subject: Bringing a window on top on mouse over (07-Feb-2007 11:48) > From: Cédrick Béler <[hidden email]> > To: [hidden email] > > >> Hi >> >> Do you know if there is a way to bring morph on top just by moving the >> mouse over... >> >> Thanks >> >> Cédrick >> >> > > > > > > -- */Cédrick/**/ Béler/* */DOCTORANT/* * * *L*aboratoire *G*énie de *P*roduction - Equipe Production Automatisée Ecole Nationale d'Ingénieurs de Tarbes - http://www.enit.fr <http://www.enit.fr/> 47, Avenue d'Azereix - BP 1629 F-65016 TARBES Cedex - FRANCE _Phone:_ (+33) (0)5 62 44 27 00 (poste 28 37) _Fax:_ (+33) (0)5 62 44 27 08 _Mobile:_ (+33) (0)6 81 33 02 04 E-mail: [hidden email] <mailto:[hidden email]> |
El 2/7/07 9:26 AM, "Cédrick Béler" <[hidden email]> escribió: > Thanks Frank and Edgar... > I'm looking around but that doesn't seem simple... > I try to modify SystemWindow but this causes squeak to freeze :) > > What I like is to be able to bring any windows/morph in front when mouse > over, but I think it won't be really quick anyway... > > I'll try with specific morphs (et leat the open menu I leave open). > > Thanks anyway > > Cédrick But was better you follow the chain of senders and implementors to learn. Edgar PS: Quick prototyoe, the category of course is not RemoteExperiments , but as I am in Argentina maybe is RemoteHelp :=) MySystemWindow.st (642 bytes) Download Attachment |
In reply to this post by cbeler
Cédrick Béler wrote:
> Thanks Frank and Edgar... > I'm looking around but that doesn't seem simple... > I try to modify SystemWindow but this causes squeak to freeze :) Maybe using a subclass of SystemWindow to test thing out, because if you break SystemWindow and a predebug window pop up you are screwed. By the way, keyboard focus of systemWindows is hard to grok... Karl > > What I like is to be able to bring any windows/morph in front when > mouse over, but I think it won't be really quick anyway... > > I'll try with specific morphs (et leat the open menu I leave open). > > Thanks anyway > > Cédrick > > Frank Urbach a écrit : >> Hi Cedrick, >> >> With the silent help from Lukas :-) (Eventhandling in Mondrian) you >> could try this: >> >> Subclass a Morph or SystemWindow or whatever you want. After this >> implement following: >> >> #handleMouseOver: anEvent super handleMouseOver: anEvent. >> anEvent hand newKeyboardFocus: self. >> self mouseOver: anEvent >> >> and >> >> #mouseOver: anEvent self activate. >> anEvent wasHandled: true. >> >> It works for me in a 3.9 image. >> >> HTH >> >> Cheers, >> Frank >> -------- Original Message -------- >> Subject: Bringing a window on top on mouse over (07-Feb-2007 11:48) >> From: Cédrick Béler <[hidden email]> >> To: [hidden email] >> >> >>> Hi >>> >>> Do you know if there is a way to bring morph on top just by moving >>> the mouse over... >>> >>> Thanks >>> >>> Cédrick >>> >>> >> >> >> >> >> >> > |
In reply to this post by cbeler
Hi Dev Team,
We have started working with the Web Team to add a press release section to the squeak.org site. They have agreed to that. The message we sent them is below. We have a pair of requests we'd like the Dev Team to consider: 1) Please announce when the next VM can be expected. 1 month? 3 months? 6 months? It is important to us at the PR Team, so we can plan around this date. 2) We would like the Dev Team in the form of Professor Ralph Johnson to provide us with copy for the press release we will be drafting. We would like him to write two sentences that answer the following questions: 1. What is the value of using Squeak?; 2. What is new in Squeak? The reasons for this are better explained in the following email previously sent to the Web Team. Please consider this request, Chris Cunnington PR Team Tsar Hi Web Team, I'm with the PR Team, and I'd like to make a request for an addition to the squeak.org website. I request the Web Team to create a web page for and called either Press Releases or Media. If you want an example of what I mean look at any large corporation, and that's what I request exactly. When 3.10 is launched I'm going to post this information to Slashdot.org. I will need a page to link my reference to. Also, for anybody from a newspaper or magazine or Ars Technica or whomever, they will need to read the press release of what has just been announced. The content and form of the press release, I will not enter into at the moment other than to say I will petition Ralph Johnson for a quote about the value of the Squeak vm, and what is new in this iteration of the vm. I am told that his name value is very high on account of his co-writing "Design Patterns", which is exactly what we want. Please consider this request, Chris Cunnington PR Team Tsar |
Free forum by Nabble | Edit this page |