Re: [Pharo-users] [ann] bloc & cairo+morphic

2017-05-11 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Doru, all, I’m really happy to see Bloc progresses. Even I’m not active since more than one year, Bloc is still an important project for me. but let me complete this short historical presentation a little bit. Bloc is a project that I initiated in 2013 in collaborat

Re: [Pharo-users] Bloc Space within a Space

2016-02-16 Thread Alain Plantec via Pharo-users
--- Begin Message --- > > But how to drive it? e.g. simulate events ok, so we agree here. Bloc is done in that perspective. For now, you have to implement your own BlocSpace with an adequate #processEvents method, your can also implement your own main loop manager (polymorphic with BlMainLoop

Re: [Pharo-users] Bloc Space within a Space

2016-02-15 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello again Sean, looking at your code…now I think that Alex answer was the right one :) in fact one should be able to open a world in a world. one should be able to script a space, thus, one should be able to write a test with a local BlocSpace, adding elements into it an

Re: [Pharo-users] Bloc Space within a Space

2016-02-15 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Sean, Thanks for your remarks. I think that the current space design has the adequate abstractions to do the kind of tests you want. And you’re right, it should be possible. But please do not ask too much. Before having this kind of TDD possible we have to reach a poi

Re: [Pharo-users] How to find the cursor position relative to its text for TextMorph or RubTextFieldArea

2015-11-11 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Dimitris, Why do you use TextMorph and not RubScrolledTextModel or RubTextFieldMorph ? Cheers Alain > On 11 Nov 2015, at 16:28, Dimitris Chloupis wrote: > > and to answer my own question the answer is > > TextMorph editor pointIndex. > > And now I can create a specia

Re: [Pharo-users] MNU: RubPluggableTextMorph>>appendEntry

2015-10-08 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello, I’ve just tested. It seems to works well with the last version of Pharo 5 Cheers Alain > On 08 Oct 2015, at 22:40, Alexandre Bergel wrote: > > Hi! > > A new Pharo user bumps into a nasty bug. No idea why it appears time to time. > The method ThreadSafeTranscript>>

Re: [Pharo-users] Is RubMethodEditingExample supposed to work?

2015-10-01 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello, I think It was only to show how to use Rubric for text editing. Alain > On 02 Oct 2015, at 08:27, Nicolai Hess wrote: > > > > 2015-10-01 20:52 GMT+02:00 Stephan Eggermont >: > Is that supposed to be able to make changes to methods? > > Ma

Re: [Pharo-users] Rubric events

2015-10-01 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Miguel, Did you tried to subscribe to RubTextUpdatedInModel through the model of the morph (and not directly the morph) ? Cheers Alain > On 30 Sep 2015, at 16:52, Miguel Campusano wrote: > > Hello, > I'm working on modifying the styling of text by using RubTextSegme

Re: [Pharo-users] Kivy

2015-07-05 Thread Alain Plantec via Pharo-users
--- Begin Message --- > I'm not sure that we need a DSL. I’m not sure that we don’t need a DSL :) Spec is a kind of dsl and the idea is cool. >> This is a point that particularly interests me, especially regarding >> declarative syntax. >> Yes, but unfortunately not in 3 month (for my part)... >

Re: [Pharo-users] An Ubuntu-inspired theme for Pharo

2015-07-03 Thread Alain Plantec via Pharo-users
--- Begin Message --- thanks a lot for sharing this! Cheers Alain > On 03 Jul 2015, at 22:15, Merwan Ouddane wrote: > > Nice :) > > I have joined a screenshot > > On 03/07/2015 21:19, Esteban Lorenzano wrote: >> Pretty cool :) >> >> (Btw, I'm slowly working in a real theme manager... With re

Re: [Pharo-users] [Ann] DragPanels: Floating palette windows with drag-and-drop in Morphic

2015-06-27 Thread Alain Plantec via Pharo-users
--- Begin Message --- yes great! thanks Cheers Alain > On 27 Jun 2015, at 00:30, Thierry Goubier wrote: > > Very cool. Thanks Stephan. > > Thierry > > Le 26 juin 2015 6:17 PM, "Stephan Eggermont" > a écrit : > Morphic offers everything needed to create highly interact

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Alain Plantec via Pharo-users
--- Begin Message --- > >> >> Hence, my question: Is lastKeystroke broken, or how is it meant to be used >> now? >> >> Second problem: In older versions of pharo this would work: >> >> f := PasteUpMorph new openInWorld. >> b := EllipseMorph new. >> b openInWorld: f. >> >> But

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Markus, > With older versions of pharo I was glad that my pupils could track keystrokes > so easily by evaluating > > World lastKeystroke. > > With Pharo3.0/4.0 this only returns '' independently of any keys I'm > typing. > > f := PasteUpMorph new open

Re: [Pharo-users] Using PluggableTextFieldMorph

2015-06-10 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello, you can have a look at Rubric too. see RubTextFieldExample. also RubPluggableTextMorphExample. to see rubric text field in action within a user interface. Cheers Alain > On 10 Jun 2015, at 13:35, Sean P. DeNigris wrote: > > Jigyasa Grover wrote >> Could anyone pls

Re: [Pharo-users] Patterns for event handling Morphic?

2015-05-18 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Stephan, I guess HandleListenEvent: was implemented for such a use. Cheers Alain > On 18 May 2015, at 14:36, Stephan Eggermont wrote: > > Thanks Alain. > > On 15-05-15 23:48, Alain Plantec via Pharo-users wrote: > - HandleListenEvent: is for

Re: [Pharo-users] Patterns for event handling Morphic?

2015-05-15 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Stephan, For user interaction events (mouse / keyboard events..., see MorphicEvent hierarchy, HandMorph, MorphicEventHandler...): - if you create your own morph class, then you implement mouseDown:, mouseUp: etc according to the event hierarchy. To allow a morph to m

Re: [Pharo-users] Rubric RubKeystroke

2015-04-26 Thread Alain Plantec via Pharo-users
--- Begin Message --- I’ve opened an issue 15407 try with Rubric-AlainPlantec.188 which should fixe it (in Pharo/Rubric). Cheers Alain > On 25 Apr 2015, at 22:12, Peter Uhnák wrote: > > Hi, > > is it possible to catch pressed key in RubTextFieldAr

Re: [Pharo-users] Opening SettingBrowser on custom settings

2015-04-08 Thread Alain Plantec via Pharo-users
--- Begin Message --- > Le 8 avr. 2015 à 18:34, Laura Risani a écrit : > > Hi all, > > Say that i wanted to open a SettingBrowser showing only the settings defined > by 'SystemSystemSettings class >> systemSettingOn:' . How could i do that? > > There is a method 'SettingBrowser >> browse:' .

Re: [Pharo-users] Settings browser

2015-03-28 Thread Alain Plantec via Pharo-users
--- Begin Message --- I’ve opened an issue. 15242 Cheers Alain > Le 28 mars 2015 à 12:43, Hilaire a écrit : > > Hi Alain, > > Modifying inputWidget method as follow will be fine for me: > > inputWidget >"return the default widget for the input

Re: [Pharo-users] Settings browser

2015-03-25 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Hilaire, I will have a look, I don’t remember why. btw, I have to check because the #respondsTo: is not very sexy. Cheers Alain > As I wrote previously, the Settings browser let me complete almost > successfully what I need. See attached screenshot. I am only stuck wit

Re: [Pharo-users] Settings browser

2015-03-25 Thread Alain Plantec via Pharo-users
--- Begin Message --- > Le 25 mars 2015 à 12:19, Hilaire a écrit : > > settingInputWidgetForNode: aSettingDeclaration >^ (aSettingDeclaration name, 'Widget') asSymbol value: self. > strange that you send the #value: message to a Symbol here. Alain--- End Message ---

Re: [Pharo-users] Settings browser

2015-03-24 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Hilaire, you do it but not with a pickOne list. Yes I know it would be very cool to be able to do with a pickOne. Have a look at the setting chapter (The Setting Framework) https://ci.inria.fr/pharo-contribution/view/Books/job/DeepIntoPharo/ At the end of the chapter I

Re: [Pharo-users] What UI direction now (or in the near future)?

2015-02-26 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hi Sean, No, I’ve not studied Self Morphic but I hope that I understand well the idea and a part of its design. I think it is still the idea of Morphic even in Pharo but as you say, pollute with special cases. The Bloc core is a reimplementation of this Morphic idea. I hop

Re: [Pharo-users] What UI direction now (or in the near future)?

2015-02-25 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Petr, So far we have Morphic (Athens is the next underlying framework for 2D Drawing). Thanks to Nicolai, Athens is near to be fully integrated. We have Spec for widgets composition. Regarding Bloc: > Sub-questions: > > A) Is Bloc (complete Morphic rewrite, sigh) “