|Subject:||Re: [Chicken-users] IUP/LED help|
|Date:||Sun, 10 Jan 2016 12:33:35 -0700|
Hello Jordan,On Sat, Jan 09, 2016 at 09:43:46PM -0700, Jordan Jacobson wrote:
> I'm trying to get a handle on the IUP/LED egg. Ive been going through the
> tutorial page and translating the examples into ones using a .led resource
> file. The example with the menu is not working. I have some pastes here:
I don't know anything about IUP (I've never been able to even get it
installed), but from the documentation's examples, it looks like LED is
not linked to Scheme in any way; instead it uses identifiers which are
similar to the identifiers in Lua. Look at this example:
or the Lua version:
This means that "menu-item" is not defined in LED. Instead, you'll
need to use just "item". I suppose Thomas chose to use "menu-item"
as the identifier in Scheme because "item" is too generic and would
easily conflict when using other libraries.
Perhaps, if this is too confusing, it may be wise to use exactly the
same identifiers as Lua and LED use.
|[Prev in Thread]||Current Thread||[Next in Thread]|