Re: [Pharo-users] Roassal and custom morphs

2015-11-10 Thread Dimitris Chloupis
Yeap this is perfect . I even tried it with a simple transparent Morph openInWorld and it draws Roassal elements in transparent background , exactly as I wanted because I play a lot with transparency with my custom GUIs. I also like the elegance of the Roassal API very much, looks like I will be us

Re: [Pharo-users] Roassal and custom morphs

2015-11-10 Thread Alexandre Bergel
Excellent example :-) Alexandre > On Nov 10, 2015, at 6:25 PM, Peter Uhnák wrote: > > > > On Tue, Nov 10, 2015 at 9:56 PM, Dimitris Chloupis > wrote: > Am I correct to assume that I can easily embed Roassal visualizations inside > morphs ? Also where is the official documentation ? is thi

Re: [Pharo-users] Roassal and custom morphs

2015-11-10 Thread Peter Uhnák
On Tue, Nov 10, 2015 at 9:56 PM, Dimitris Chloupis wrote: > Am I correct to assume that I can easily embed Roassal visualizations > inside morphs ? Also where is the official documentation ? is this still it > ? > > http://agilevisualization.com/#book > Yes. Roassal itself is embedded inside a

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread Dimitris Chloupis
yes the dynamic building of spec guis is definetly better than morphic On Tue, Nov 10, 2015 at 11:11 PM Johan Fabry wrote: > > No worries, no offense taken (at least on my part). I could just not > resist posting a 3-liner that showed you that some things do work nicely in > Spec :-) > > On Nov

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread Johan Fabry
No worries, no offense taken (at least on my part). I could just not resist posting a 3-liner that showed you that some things do work nicely in Spec :-) > On Nov 10, 2015, at 17:50, Dimitris Chloupis wrote: > > Just for the record when I say I dont like something is a mere stating of an > op

[Pharo-users] Roassal and custom morphs

2015-11-10 Thread Dimitris Chloupis
Am I correct to assume that I can easily embed Roassal visualizations inside morphs ? Also where is the official documentation ? is this still it ? http://agilevisualization.com/#book

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread Dimitris Chloupis
Just for the record when I say I dont like something is a mere stating of an opinion and in no way a chance to offend or downgrade the hard work that went to those libraries. Afterall most of the time I dont even like my own code. There is no right or wrong here, just personal taste. And I have re

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread Dimitris Chloupis
My problem is not whether Morphic can do this , it can and its not even any more complex than your Spec code, all I have to do is override the keyStroke: message, my question was on the formating of the input data, I assumed since I see several diffirent inputs fiels in pharo that do some kind of f

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread Stephan Eggermont
On 10-11-15 20:03, Dimitris Chloupis wrote: Well my experience with other language has taught me GUI APIs are generally a nightmare to work with, the only exception to this rule was DELPHI, those guys were just awesome at GUI design. VCL was simple yet incredible flexible, I would even dare say t

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread Johan Fabry
Hi, sins you dislike Spec I cannot resist to taunt you with these 3 lines of Spec code that do what you want :-P field := TextInputFieldModel new autoAccept:true; acceptBlock: [:text | field text: text asUppercase]. field openWithSpec Note that the transform here is a simple asUppercase

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread Dimitris Chloupis
I have taken a look at rubric elemenst, they look even more messier than morphic. I can do something similar with textMorph without messing with announcers. It looks to me a bit too much to send an announcement on a key event. Anyway I will give a try at textMorph and will go from there, probably

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread Stephan Eggermont
On 10-11-15 18:16, Dimitris Chloupis wrote: What I want is to create a morph that has the ability to input text from the user that formats it automatically and allows for a limited amount of characters. You might want to take a look at RubFloatingEditorBuilder. In #buildEditor you see how to re

Re: [Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread stepharo
Le 10/11/15 18:16, Dimitris Chloupis a écrit : What I want is to create a morph that has the ability to input text from the user that formats it automatically and allows for a limited amount of characters. This input field will be in the format of HH:MM:SS , (H)our (M)inute (S)econd. The : se

[Pharo-users] How to make an input field with some formating abilities

2015-11-10 Thread Dimitris Chloupis
What I want is to create a morph that has the ability to input text from the user that formats it automatically and allows for a limited amount of characters. This input field will be in the format of HH:MM:SS , (H)our (M)inute (S)econd. The : seperators will be entered automagically by the input f