discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flash Demo


From: Helge Hess
Subject: Re: Flash Demo
Date: Mon, 27 Jun 2005 13:08:40 +0200

Hi Nicolas,

On Jun 26, 2005, at 15:30, Nicolas Roard wrote:
I recorded a flash video demonstrating Gorm and the StepTalk palette:
http://www.xdev.org/gnustep/demo.html

Two comments on the palette:

a) the ScriptButton is really really aweful since it merges view and
   controller - thats almost like Windows programming :-(

b) does the editor in the script inspector really need a save button?
   Thats somehow inconsistent (and it doesn't display any indication
   whether its currently "saved").

Wrt the script button I think the appropriate solution is to support associations/bindings (don't know if Gorm already has this). I suppose your idea is to avoid the requirement to create a full script object for very small code sections.

As a developer you would create a "GSStepTalkAssociation" which evaluates a given association string as a StepTalk script.

As the user you would drag a regular button (or any other object) to the window. Then go to the "bindings" inspect and the "onclick" binding. Select the "GSStepTalkAssociation" as the association type for the binding and enter the relevant script in the binding field.

The nice thing with associations is that they can be of any type (KVC, scripts, xpath expressions, whatever), not just Outlets or Actions, also see:
  http://www.mulle-kybernetik.com/software/MCI/

Just a rough idea ;-)

Greets,
  Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]