Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-04 Thread Alain Busser
Hi, as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-) Alain On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar wrote:

Re: [Pharo-users] ImageMorph scaling

2013-11-04 Thread Camillo Bruni
Check what magic Ben applied for the Morph Inspector: `World inspect` then switch to morph view. On 2013-11-05, at 05:04, Sean P. DeNigris wrote: > How would I get an ImageMorph to automatically resize inside a Spec UI? I put > it in a PanelMorph with various layout attempts, the latest being:

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-04 Thread Joachim Tuchel
Hi, I am not sure whether Pharo implements or once implemented a special method like executeMethod: but in Smalltalk the selector for sending a message to an object is #perform: so you should probably try to replace #executeMethod with #perform: . But I am sure somebody more familiar with Prof

[Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-04 Thread Bahman Movaqar
Hi all, Reading ProfStef at lesson 25 (Reflections), when I try to run the last statement ProfStef default executeMethod: (ProfStef lookupSelector:#next)., the error pops up saying Unknown selector executeMethod:. Am I doing anything wrong? TIA, -- Bahman Movaqar (http://BahmanM.com) ERP Eva

Re: [Pharo-users] ImageMorph scaling

2013-11-04 Thread Denis Kudriashov
Hi I think ImageMorph not support #spaceFill resizing 2013/11/5 Sean P. DeNigris > How would I get an ImageMorph to automatically resize inside a Spec UI? I > put > it in a PanelMorph with various layout attempts, the latest being: > image := PanelMorph new > changeTabl

[Pharo-users] Shortcut to "Browse Class"

2013-11-04 Thread Bahman Movaqar
Hi all, As an absolute beginner, when using a workspace, most of the times I don't know the type of the value returned by a piece of code or its methods. So I have to select the value, right-click on it, from the menu (BTW is there a name for this menu?), select "Explore" and then select "Browse

[Pharo-users] Writing a GUI - Where to start?

2013-11-04 Thread Bahman Movaqar
Hi all, I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo? TIA, -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment C

Re: [Pharo-users] Suggestions for simple & easy-to-use libraries for HTTP and JSON?

2013-11-04 Thread Bahman Movaqar
On 11/04/2013 23:33, Sven Van Caekenberghe wrote: > Hi Bahman, > > On 04 Nov 2013, at 20:13, Bahman Movaqar wrote: > >> Hi all, >> >> Apparently, I finally have the time to do something serious with Pharo. And >> I'm intending to get started ASAP before any interruptions :-) >> >> I'm planning t

[Pharo-users] ImageMorph scaling

2013-11-04 Thread Sean P. DeNigris
How would I get an ImageMorph to automatically resize inside a Spec UI? I put it in a PanelMorph with various layout attempts, the latest being: image := PanelMorph new changeTableLayout; hResizing: #spaceFill; vResizing: #spaceFill;

Re: [Pharo-users] Multicolumn text view with spec

2013-11-04 Thread Norbert Hartl
> Am 04.11.2013 um 23:09 schrieb Benjamin > : > > An old version of spec is usable in 2.0 > > The 3.0 version is _far_ better. > Of course :) But I like to do things I can use in production. So for people like me the newest is only an option if I do prototyping. Norbert > You may want to u

Re: [Pharo-users] Multicolumn text view with spec

2013-11-04 Thread Benjamin
An old version of spec is usable in 2.0 The 3.0 version is _far_ better. You may want to use MultiColumnListModel (it’s the widget used in the senders/implementors UI) Otherwise, you can indeed use the scroll sync example to sync to lists together. Ben On 04 Nov 2013, at 18:59, Ignacio Matías

Re: [Pharo-users] Suggestions for simple & easy-to-use libraries for HTTP and JSON?

2013-11-04 Thread Sven Van Caekenberghe
Hi Bahman, On 04 Nov 2013, at 20:13, Bahman Movaqar wrote: > Hi all, > > Apparently, I finally have the time to do something serious with Pharo. And > I'm intending to get started ASAP before any interruptions :-) > > I'm planning to write a GUI front-end for an application that provides JSO

[Pharo-users] Suggestions for simple & easy-to-use libraries for HTTP and JSON?

2013-11-04 Thread Bahman Movaqar
Hi all, Apparently, I finally have the time to do something serious with Pharo. And I'm intending to get started ASAP before any interruptions :-) I'm planning to write a GUI front-end for an application that provides JSON interface --the JSON provider is Fossil SCM (fossil-scm.org). As the fir

Re: [Pharo-users] Multicolumn text view with spec

2013-11-04 Thread Norbert Hartl
> Am 04.11.2013 um 14:50 schrieb nacho <0800na...@gmail.com>: > > You can take a look at ComposableModel>>#ScrollSyncExample > > Try: > > ScrollSyncExample new openWithSpec > > I guess that's what you need. > thanks, but I don't have them in my image. You were refering to a 3.0 image? Is spe

Re: [Pharo-users] Multicolumn text view with spec

2013-11-04 Thread nacho
You can take a look at ComposableModel>>#ScrollSyncExample Try: ScrollSyncExample new openWithSpec I guess that's what you need. cheers Nacho -- View this message in context: http://forum.world.st/Multicolumn-text-view-with-spec-tp4719050p4719129.html Sent from the Pharo Smalltalk Users ma

Re: [Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread btc
prova email wrote: It's quite hard to me to explain what i need. When i ask something, i've never had the answer that i want. What do you mean for "There are some places in the system where you can put txt file"? What are the places you are talking about? Is it the Pharo 2.0 folder? Can somebo

Re: [Pharo-users] Updating Pharo 2 - Unable to resolve ConfigurationOfFuel

2013-11-04 Thread btc
Marcus Denker wrote: On 04 Nov 2013, at 08:26, Marcus Denker wrote: On 04 Nov 2013, at 00:01, Stéphane Ducasse wrote: But marcus we are doing update all the time because this is the way we push new updates daily. So I do not understand why this would be differen

Re: [Pharo-users] Yet another "building a GUI" question

2013-11-04 Thread btc
Sergi Reyner wrote: 2013/11/4 Stéphane Ducasse tx and archived! And your enh is in the new integration :) Yay! Scratching an itch and contributing something feels great :) Well done Sergi.  Your initiation is complete ;)  Late last night I had marked your first

Re: [Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread kilon alios
excellent post, detailed and to the point. I want to add that this is one of the big reason I left Python for Pharo , they both start with letter P but they are like night and day when it comes to distribution. With python you have to use something like py2exe , cxfrozen, pyinstaller. They have bee

Re: [Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread p...@highoctane.be
Exactly. I'd like to do podcast interviews with you people on this list to convey that powerful emotion. Takers? On Monday, November 4, 2013, Sven Van Caekenberghe wrote: > > On 04 Nov 2013, at 11:37, prova email > > wrote: > > > > > Hi Sven > > > > yes, i read PBE, it's a great book, i love it

[Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread Torsten Bergmann
Hi Paolo, If you ask for how to build an EXE I guess you work on Windows and have already experience with building EXE's using other programming languages. Typically IDE's for C/C++, Pascal, VisualBasic, ... provide this concept, you have a main(), WinMain() or other entry point function int

Re: [Pharo-users] [Pharo-dev] moving moose to pharo 3.0

2013-11-04 Thread Stéphane Ducasse
> Hi, > > We essentially finished moving Moose to Pharo 3.0 (we still have 6 yellow > tests but they needed attention anyway). It took about 4 people looking into > issues for a total probably around 2 man-days of effort. The largest > impediment was actually SmalltalkHub being down for one da

Re: [Pharo-users] CogVM arguments in Win32

2013-11-04 Thread Bernat Romagosa
Hi! Thanks Igor, that kinda worked! Pharo hides, but comes back after half a second or so. I'll keep digging, thanks! :) 2013/11/1 p...@highoctane.be > Well, this should rather be: > > handle :=NativeBoostWin32 squeakWindowHandle. > window := NBWin32Window new value: handle; yourself. > window

Re: [Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread Sven Van Caekenberghe
On 04 Nov 2013, at 11:37, prova email wrote: > > Hi Sven > > yes, i read PBE, it's a great book, i love it. You are right, Pharo is > different, and i'm wrong in searching the way to do "old school" stuff. Well, it is not wrong, but maybe a bit too early. The main attraction of Pharo is th

Re: [Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread p...@highoctane.be
As you do a *java -jar app.jar* you can do *pharo app.image* Now to get an executable, what for? For installing: check the list for a discussion on using InnoSetup for packaging installers: http://thread.gmane.org/gmane.comp.lang.smalltalk.pharo.devel/63395 For single exe file: have a look at ht

Re: [Pharo-users] Updating Pharo 2 - Unable to resolve ConfigurationOfFuel

2013-11-04 Thread Stéphane Ducasse
Ok so that I know it and this is probably 3 changes of 500. I was thinking about what is the problem with 2.0 update. >> But marcus we are doing update all the time because this is the way we push >> new updates daily. >> So I do not understand why this would be different? >> > > It happens d

Re: [Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread prova email
Hi Sven yes, i read PBE, it's a great book, i love it. You are right, Pharo is different, and i'm wrong in searching the way to do "old school" stuff. Best;Paolo > From: s...@stfx.eu > Date: Mon, 4 Nov 2013 11:25:47 +0100 > To: pharo-users@lists.pharo.org > Subject: Re: [Pharo-users] Create a .e

Re: [Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread Sven Van Caekenberghe
Hi Paolo, On 04 Nov 2013, at 11:07, prova email wrote: > It's quite hard to me to explain what i need. When i ask something, i've > never had the answer that i want. What do you mean for "There are some places > in the system where you can put txt file"? What are the places you are > talking

Re: [Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread kilon alios
You dont need to create an exe file, pharo already comes with an exe file that contains the vm and pharo internals, everything else is in the image file. You can customize pharo to display only a specific gui, its a matter of creating the gui you want maximize it to whole screen and saving the imag

[Pharo-users] Create a .exe application in Pharo 2.0

2013-11-04 Thread prova email
It's quite hard to me to explain what i need. When i ask something, i've never had the answer that i want. What do you mean for "There are some places in the system where you can put txt file"? What are the places you are talking about? Is it the Pharo 2.0 folder? Can somebody tell me step-by-st

[Pharo-users] Multicolumn text view with spec

2013-11-04 Thread Norbert Hartl
What would be the way to open a Systemwindow containing just a column view in spec? the column view is for aligning text that is one or two lines. No editing just displaying. thanks, Norbert