moving to Rubric in Glamour
Hi, I moved Glamour to Rubric, deprecated those presentations that use PluggableTextMorph and moved almost all usages of presentations that rely on PluggableTextMorph. These changes are still only in the Moose branch to see if there are any ugly bugs. The changes to the glamour API are the following: - deprecated #smalltalkCode, #pharoPlayground and #rubricText - added #pharoScript If you use #smalltalkCode replace it with either #pharoMethod or #pharoScript If you use #rubricTest replace those usages with #text If you use #pharoPlayground replace those usages with #pharoScript (we changed this as the glamour playground is not the same at the GTPlayground and this was causing some confusion) For this I also renamed GLMPharoPlaygroundPresentation to GLMPharoScriptPresentation and GLMMorphicPharoPlaygroundRenderer to GLMMorphicPharoScriptRenderer. If you are using the latest moose let me know if you run into any problems or have questions. Cheers, Andrei
Thank you! Doru On Fri, Oct 30, 2015 at 9:33 PM, Andrei Chis <chisvasileandrei@gmail.com> wrote:
Hi,
I moved Glamour to Rubric, deprecated those presentations that use PluggableTextMorph and moved almost all usages of presentations that rely on PluggableTextMorph. These changes are still only in the Moose branch to see if there are any ugly bugs.
The changes to the glamour API are the following:
- deprecated #smalltalkCode, #pharoPlayground and #rubricText - added #pharoScript
If you use #smalltalkCode replace it with either #pharoMethod or #pharoScript If you use #rubricTest replace those usages with #text If you use #pharoPlayground replace those usages with #pharoScript (we changed this as the glamour playground is not the same at the GTPlayground and this was causing some confusion) For this I also renamed GLMPharoPlaygroundPresentation to GLMPharoScriptPresentation and GLMMorphicPharoPlaygroundRenderer to GLMMorphicPharoScriptRenderer.
If you are using the latest moose let me know if you run into any problems or have questions.
Cheers, Andrei
_______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.tudorgirba.com "Every thing has its own flow"
Yes this is great Alexandre
Le 30 oct. 2015 à 18:46, Tudor Girba <tudor@tudorgirba.com> a écrit :
Thank you!
Doru
On Fri, Oct 30, 2015 at 9:33 PM, Andrei Chis <chisvasileandrei@gmail.com> wrote: Hi,
I moved Glamour to Rubric, deprecated those presentations that use PluggableTextMorph and moved almost all usages of presentations that rely on PluggableTextMorph. These changes are still only in the Moose branch to see if there are any ugly bugs.
The changes to the glamour API are the following:
- deprecated #smalltalkCode, #pharoPlayground and #rubricText - added #pharoScript
If you use #smalltalkCode replace it with either #pharoMethod or #pharoScript If you use #rubricTest replace those usages with #text If you use #pharoPlayground replace those usages with #pharoScript (we changed this as the glamour playground is not the same at the GTPlayground and this was causing some confusion) For this I also renamed GLMPharoPlaygroundPresentation to GLMPharoScriptPresentation and GLMMorphicPharoPlaygroundRenderer to GLMMorphicPharoScriptRenderer.
If you are using the latest moose let me know if you run into any problems or have questions.
Cheers, Andrei
_______________________________________________ Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- www.tudorgirba.com
"Every thing has its own flow"
Is there a way in Glamour to programmatically select an item in a list or tree presentation? (That is, having the same effect as clicking on the item.) I'm using the Glamour in Pharo 5. Thanks, -Martin
The #selection: message of a presentation should update the selection. Let me know if it doesn't work as expected for you. Cheers, Andrei On Sun, Oct 2, 2016 at 9:15 PM, Martin McClure <martin@hand2mouse.com> wrote:
Is there a way in Glamour to programmatically select an item in a list or tree presentation? (That is, having the same effect as clicking on the item.) I'm using the Glamour in Pharo 5.
Thanks,
-Martin
On 10/02/2016 02:03 PM, Andrei Chis wrote:
The #selection: message of a presentation should update the selection. Let me know if it doesn't work as expected for you.
Thanks for the confirmation. I'd tried that, but it didn't seem to do anything. Let me experiment to make sure I'm doing what I think I'm doing. -Martin
On Sun, Oct 2, 2016 at 9:15 PM, Martin McClure <martin@hand2mouse.com <mailto:martin@hand2mouse.com>> wrote:
Is there a way in Glamour to programmatically select an item in a list or tree presentation? (That is, having the same effect as clicking on the item.) I'm using the Glamour in Pharo 5.
Thanks,
-Martin
Hi Martin, GLMBasicExamples>>treeWithInitialSelection provides an example of how to set an initial selection programatically. Does this help? Cheers, Doru
On Oct 2, 2016, at 11:11 PM, Martin McClure <martin@hand2mouse.com> wrote:
On 10/02/2016 02:03 PM, Andrei Chis wrote:
The #selection: message of a presentation should update the selection. Let me know if it doesn't work as expected for you.
Thanks for the confirmation. I'd tried that, but it didn't seem to do anything. Let me experiment to make sure I'm doing what I think I'm doing.
-Martin
On Sun, Oct 2, 2016 at 9:15 PM, Martin McClure <martin@hand2mouse.com> wrote: Is there a way in Glamour to programmatically select an item in a list or tree presentation? (That is, having the same effect as clicking on the item.) I'm using the Glamour in Pharo 5.
Thanks,
-Martin
-- www.tudorgirba.com www.feenk.com "Problem solving efficiency grows with the abstractness level of problem understanding."
On 10/02/2016 11:06 PM, Tudor Girba wrote:
Hi Martin,
GLMBasicExamples>>treeWithInitialSelection provides an example of how to set an initial selection programatically. Does this help?
Thanks! This has me much closer to where I want to be. I can't get it to properly deselect, though. If I send "value: nil" to the port, it transmits nil, but leaves the previous selection in the list selected (highlighted, at least). I can deselect properly with the mouse. Regards, -Martin
participants (4)
-
Alexandre Bergel -
Andrei Chis -
Martin McClure -
Tudor Girba