[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: PCB: external HID?
> What about addig a plugins which means the gui creates a new menu or list
> or whatever where you can choose a function and not limiting functions to
> manipulate existing board? At least for my external plugin-HID this would
> help even more :)
Well, for the lesstif HID the user can already do that, but it's not
something the HID itself can. For starters, you're assuming the GUI
has a menu bar. But for wizards, we'd at least enumerate the existing
wizards somewhere, much like we do with exporters.
> In which case only the first or the last is used? If the first, I can
> hook as I will be the first from the .so :)
I don't know which will get chosen. That's yet to be considered.
> >No. If you need a timer, ask the gui to give you a timer.
>
> The idea is that the external HID doesn't necessary have a GUI.
Ah, but the GUI that's running PCB *does* have timers. We use them in
the core already.
> Is the main loop/event loop donated by the gui hid?
The GUI has the main event loop, yes.
> >Note that pcb already has such a socket.
>
> Wasn't that pipe? Where can I find it in the code? A quick grep for word
> socket didn't result in anything useful :)
Whatever. Look for the --listener code.
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev