[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA: gschem -- menu callbacks/actions in scheme?
Hi Dan,
[snip]
>Its just that I can't figure out how to have the menu action execute
>scheme code :) Do you mean this is possible with the current gschem
>code or it should be possible to add this capability?
It is possible in today's code base. Ah, I see that you stopped
by in IRC.
[snip]
>I was hoping there would be no extra dependency incurred. Now that I
>look at it, it appears that you're correct. guile-gtk is only for
>gtk-1.2 and guile-gnome seems to be pretty old too. Since I really
>don't need all of gtk, I'm wondering if I could just provide access to
>the few things of importance. In other words, if I had scheme access to
>a file select dialog box, and a message dialog box, I _think_ thats
>about all I'd need/want. While that would mean touching the core of
>gschem, those features would be pretty generic.
I think we can expose a few selected things to the scheme side
without going down the gtk-guile path. We can talk about this later.
-Ales