|pen| pen := (GraphPane openWindow: 'Simple' extent: 220 @ 200 ) pen. pen On 26.11.2014 20:50, pharo-users-request@lists.pharo.org wrote:
Send Pharo-users mailing list submissions to pharo-users@lists.pharo.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.pharo.org/mailman/listinfo/pharo-users_lists.pharo.org or, via email, send a message with subject or body 'help' to pharo-users-request@lists.pharo.org
You can reach the person managing the list at pharo-users-owner@lists.pharo.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Pharo-users digest..."
Today's Topics:
1. Re: RTMultiCompositeShape + Bitmap (rosariosm) 2. Re: Beginner of smalltalk 80 - first graphic windows and GUI - need help (Johan Fabry) 3. Beginner of smalltalk 80 - first graphic windows and GUI -2 (Hans Schueren) 4. Re: Beginner of smalltalk 80 - first graphic windows and GUI -2 (kilon alios)
----------------------------------------------------------------------
Message: 1 Date: Wed, 26 Nov 2014 09:00:19 -0800 (PST) From: rosariosm <rosariosantamarina1@gmail.com> To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] RTMultiCompositeShape + Bitmap Message-ID: <1417021219418-4792375.post@n4.nabble.com> Content-Type: text/plain; charset=us-ascii
Hi!
I just tested it in a clean image and now it works fine. Thanks a lot.
Cheers, Rosario
-- View this message in context: http://forum.world.st/RTMultiCompositeShape-Bitmap-tp4791277p4792375.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
------------------------------
Message: 2 Date: Wed, 26 Nov 2014 14:57:45 -0300 From: Johan Fabry <jfabry@dcc.uchile.cl> To: Pharo is welcome <pharo-users@lists.pharo.org> Subject: Re: [Pharo-users] Beginner of smalltalk 80 - first graphic windows and GUI - need help Message-ID: <9673DCF5-E916-4F38-A017-76514BC1CBBC@dcc.uchile.cl> Content-Type: text/plain; charset=us-ascii
Hello Hans,
the standard way to build GUIs using Pharo is to use Spec. I suggest you have a look at the documentation of Spec online, do the tutorial and then you can start experimenting. The easiest way to see the Spec documentation is here: https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccess...
On Nov 26, 2014, at 10:16 AM, Hans Schueren <werbung@hans-schueren.de> wrote:
To whom it may concern ,
may i ask for some help about standard graphic routines ?
As a beginner i just have learned all the first level SYNTAX of smalltalk 80.
Now , you can imagine , i am interested in writing little GUI windows and graphics for
placing some text in the right positions.
Theese are the statements i have studied from my material.
Does anybody know why the statements not work?
Are there any "replacements" for the syntax that i posted here as example ?
Have a nice day
HERE ARE THE EXAMPLES :
| window | window := ScheduledWindow new. window component: 'Hello World' asComposedText. window open
| window | window := ScheduledWindow new. window label: 'Fenster ohne Inhalt'. window minimumSize: 200 @ 100; maximumSize: 400 @ 300. window open
displayOn: aGraphicsContext 1 to: 10 do: [:i| aGraphicsContext translation printString asComposedText displayOn: aGraphicsContext. aGraphicsContext translateBy: 15 @ 15]
Greetings
Hans The Byte Surfer
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
------------------------------
Message: 3 Date: Wed, 26 Nov 2014 20:02:18 +0100 From: Hans Schueren <werbung@hans-schueren.de> To: pharo-users@lists.pharo.org Subject: [Pharo-users] Beginner of smalltalk 80 - first graphic windows and GUI -2 Message-ID: <547623BA.6040208@hans-schueren.de> Content-Type: text/plain; charset=windows-1252; format=flowed
Hello , here is Hans , The Byte Surfer ,
the smalltalk code is from books of year 1992 and 1993 1988 and 1987.
I have a lot of books around the world . ALL of the Topic SMALLTALK 80. Only 80 !!!
Because i am a absolute beginner and want to learn smalltalk 80.
I realized that thing have changed. for example GUI programming
Mosttimes there is a optional library needed for creation. There is a optional IDE i know , for those things.
No Matter !
I dont know anything about the NEW TOOLS and Replacements in actual Smalltalk Engineering like PHARO.
Please tell me what i have to learn.
What is GUI IDE in Pharo. Do i have to learn Morpic. What else for Window and Buttons design ?
The Pharo ( and actual squeak ) have very much weight for a beginner.
Is it right , that all " NEW STUFF " is decribed in the two manuals : Pharo by Example + Deep into Pharo.
Or is there any other actual description about "Up to date programming Pharo" ????
Sincerely Your Friend
Hans The Byte Surfer
PS. Wish to have Smalltalk 80 from XEROX 1987 here. ha ha ha
On 26.11.2014 18:00, pharo-users-request@lists.pharo.org wrote:
Send Pharo-users mailing list submissions to pharo-users@lists.pharo.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.pharo.org/mailman/listinfo/pharo-users_lists.pharo.org or, via email, send a message with subject or body 'help' to pharo-users-request@lists.pharo.org
You can reach the person managing the list at pharo-users-owner@lists.pharo.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Pharo-users digest..."
Today's Topics:
1. Beginner of smalltalk 80 - first graphic windows and GUI - need help (Hans Schueren) 2. Re: Beginner of smalltalk 80 - first graphic windows and GUI - need help (Cl?ment Bera) 3. Re: Citizen example for manipulating a bibtex file (Sven Van Caekenberghe)
----------------------------------------------------------------------
Message: 1 Date: Wed, 26 Nov 2014 14:16:11 +0100 From: Hans Schueren <werbung@hans-schueren.de> To: "pharo-users@lists.pharo.org" <pharo-users@lists.pharo.org> Subject: [Pharo-users] Beginner of smalltalk 80 - first graphic windows and GUI - need help Message-ID: <5475D29B.2070708@hans-schueren.de> Content-Type: text/plain; charset=utf-8; format=flowed
To whom it may concern ,
may i ask for some help about standard graphic routines ?
As a beginner i just have learned all the first level SYNTAX of smalltalk 80.
Now , you can imagine , i am interested in writing little GUI windows and graphics for
placing some text in the right positions.
Theese are the statements i have studied from my material.
Does anybody know why the statements not work?
Are there any "replacements" for the syntax that i posted here as example ?
Have a nice day
HERE ARE THE EXAMPLES :
| window | window := ScheduledWindow new. window component: 'Hello World' asComposedText. window open
| window | window := ScheduledWindow new. window label: 'Fenster ohne Inhalt'. window minimumSize: 200 @ 100; maximumSize: 400 @ 300. window open
displayOn: aGraphicsContext 1 to: 10 do: [:i| aGraphicsContext translation printString asComposedText displayOn: aGraphicsContext. aGraphicsContext translateBy: 15 @ 15]
Greetings
Hans The Byte Surfer
------------------------------
Message: 2 Date: Wed, 26 Nov 2014 14:32:34 +0100 From: Cl?ment Bera <bera.clement@gmail.com> To: Any question about pharo is welcome <pharo-users@lists.pharo.org> Subject: Re: [Pharo-users] Beginner of smalltalk 80 - first graphic windows and GUI - need help Message-ID: <CAJrdCbWx1EfaDijSS_vY=BM23oVKbNLfqAHgX-wwnjQz7jScSw@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Hello,
I don't really know how to answer.
Are your examples really from smalltalk-80 ? Were they running on the Xerox-D microcoded machine ? Because I don't think there are anymore smalltalk-80 available right now, nor machine that can run it. There's a smalltalk-78 running on javascript on the web but that's a bit different.
Here you're on the Pharo mailing list, which is a smalltalk which has evolved during 35 years starting from smalltalk-80, so it's quite different from smalltalk-80 right now (for example, closures and exceptions were added, support for modern computers too).
To use window as you are doing something like that works:
| window | window := StandardWindow new. window title: 'Hello World' . window open
However nowadays people use frameworks to build UIs in Pharo, not such APIs. So it depends what you want to do.
2014-11-26 14:16 GMT+01:00 Hans Schueren <werbung@hans-schueren.de>:
To whom it may concern ,
may i ask for some help about standard graphic routines ?
As a beginner i just have learned all the first level SYNTAX of smalltalk 80.
Now , you can imagine , i am interested in writing little GUI windows and graphics for
placing some text in the right positions.
Theese are the statements i have studied from my material.
Does anybody know why the statements not work?
Are there any "replacements" for the syntax that i posted here as example ?
Have a nice day
HERE ARE THE EXAMPLES :
| window | window := ScheduledWindow new. window component: 'Hello World' asComposedText. window open
| window | window := ScheduledWindow new. window label: 'Fenster ohne Inhalt'. window minimumSize: 200 @ 100; maximumSize: 400 @ 300. window open
displayOn: aGraphicsContext 1 to: 10 do: [:i| aGraphicsContext translation printString asComposedText displayOn: aGraphicsContext. aGraphicsContext translateBy: 15 @ 15]
Greetings
Hans The Byte Surfer