[Newbie] GUI Development

Doug Way dway at riskmetrics.com
Tue Nov 11 23:30:10 UTC 2003


Be sure to check the Squeak FAQ.  http://minnow.cc.gatech.edu/squeak/471

In it, there's a question about creating a basic GUI for a data-entry 
application.  BobsUI is one extra widget set which handles this sort of 
thing, see the BobsUI link from the FAQ item.  (I'm not sure BobsUI has 
been updated for 3.6, though.)

- Doug


wolfgray at mac.com wrote:

>
> Thanks Aaron.
> I'll email this to the group in case anyone else wants to put in a word.
>
> Primarily my app is going to take a text field (don't know which 
> morphic widget yet, part of the
> reason a tutorial would be nice) that contains a date. Another field 
> contains a time.  The user can input
> another date and time, and the app will report the difference between 
> them.  yes very simple with the date time
> stuff built into squeak.  The big problem lie in not knowing what 
> widgets are available, how they are used, and how
> to lay them out. I was attempting to use text morphs when taking a 
> stab at it, but encountered problems with the
> textmorph wanting to do more than one line upon a carriage return.
>
> On a side note I have attempted a few times to do morphic GUI apps but 
> since a lot of what
> I have to do is date entry/manipulation the examples like same game 
> don't help me that much.
> In general here is what I think some good examples for morphic would be.
>
> 1) A generic parts example. Kind of like what you see with wxPython 
> and java swing.  Basically a little app that
> shows all the widgets (both the pluggables and non) that are commonly 
> used and what they look like.  wxPython's demo is great for this. it 
> shows the widgets
> and an example in how they are used.
>
> 2) For a full working app, probably something simple like an address 
> book.  Nothing fancy, more just to show how the fields, labels, and 
> buttons
> are laid out via code, and how to tie the buttons to do something. 
> example the ever present hello world applications.
>
> Well that's all i can think off.
> Thanks again for your help Aaron.
> Hope this is what you were asking, if not ask again and I'll try to 
> explain again.
>
>
>
>> Message: 21
>> Date: Mon, 10 Nov 2003 17:44:01 -0600 (CST)
>> From: Aaron J Reichow <reic0024 at d.umn.edu>
>> Subject: Re: [Newbie] GUI Development
>> To: The general-purpose Squeak developers list
>>     <squeak-dev at lists.squeakfoundation.org>
>> Message-ID: <Pine.GSO.4.52.0311101741270.7056 at bulldog.d.umn.edu>
>> Content-Type: TEXT/PLAIN; charset=US-ASCII
>>
>> Ok, it is time for *someone* to write a bunch of little GUI apps in
>> Morphic and collect them in one place.
>>
>> I volunteer it to be me.  I've written a hundred half-baked GUIs. :)
>>
>> Luke, let me know in a little detail the kinds of interactions your app
>> may need. I don't want to take the fun out of it for you, but we really
>> need a couple really good GUI apps that are easily pulled apart.
>>
>> There already are some, but they aren't labelled as such and weren't
>> created for a demo.  I'll incude plenty of source.
>>
>> I'll post something about it tonight.
>>
>> Morphic really is fun to code for and the flexibility pays off.
>>
>> Regards,
>> Aaron
>>
>> -- 
>> "the profit system follows the path of least resistance and following 
>> the path
>>     of least resistance is what makes a river crooked."   ::  u. utah 
>> phillips
>>
>>
>> On Mon, 10 Nov 2003, Luke McCampbell wrote:
>>
>>>
>>> Can anyone point me too any good examples of gui apps in morphic?
>>> Either tutorials or working apps. (Specifically with text fields and
>>> buttons, since the app I'm considering
>>> will have to take input from users and use it in calculations).
>>>
>>> I'm considering tying the app into pages on a bookmorph, if that is
>>> helpfull.
>>>
>>> Thanks in advance.
>>>
>>> Luke
>>> wolfgray at mac.com
>>>
>>>
>>
>>
> -- 
> Thanks
> Luke McCampbell
> wolfgray at mac.com
>
> "Look ... you can have an appointment at any time, right? So therefore 
> any appointment exits in potentiona ... Any particularly appointment 
> simply collapses the waveform, ... I merely select the most likely one 
> from the projected matrix."
>
> - The Disorganizer Demon, _Jingo_, Terry Pratchet
>





More information about the Squeak-dev mailing list