Hello again, Bernd Jendrissek writes: > [...] > Press ':', then in command box, type "(file-quit)" :)
Yes, I figured that. BTW the 'Shift :' is impossible to realize on my keyboard. This is a problem that is likely to happen on other combinations but it is the first time I am hit by that. > Somewhere in the bowels of my slotting mechanism there are changes to enable: > > (add-component "opamp.sym") > > which initializes the component selector's text entry to that value. > With a bit more work it can close the dialog when exactly one > component from the library matches the input. I realise that doesn't > answer your question wrt master! Good but avoid adding guile code to i_callback_*(): keep the separation between guile code and callbacks. So in your example the rest arguments "opamp.sym" has to be analyzed by g_keys_add_component() (the function is customized and not provided by the DEFINE_G_KEY macro) that pass it to i_callback_add_component() as a C string (again its prototype is customized). Also, i_callbacks.c was pretty much GTK-free (except for the toolbar stuff and one regular callback). I would rather have a set of function from x_window.c do the job of showing/hiding the entry. Regards, Patrick _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
