Ales Hvezda wrote:
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.

excellent!  That makes life easier.

[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.


ok.  My wish list would be scheme functions for

- log a message to the gschem log window and log file (where errors and other output would go)

- launch a message dialog box (about dialogs, etc)

- launch a file select dialog box and get the returned file name (selecting gsch2pcb project files, simulation saved state files, etc)

-Dan

Reply via email to