[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gEDA-dev: Toolbar Project
I am looking at making some changes to gschem as a small project.
However, the changes seem to be more than trivial. So, I wanted to
get some feedback from the core developers and also make sure that
there is no duplication of effort.
I would like to update the toolbar to include more operations
including toggle and radio. The best way to get the toggle and radio
actions seem to be by using GtkAction. Using GtkAction causes a
number of other changes. The following appears what needs to be done:
- Change the way icons are loaded to use GtkIconFactory.
- Create GtkActions for the toolbar and popup menu items.
- Modify callback (i_callback.c) function signatures or add wrappers
for compatibility with GtkAction callbacks (GSignal).
- Change scheme functions (g_keys.c) to activate GtkActions rather
than invoking the callbacks directly. This change keeps toggle and
radio action's state in sync.
- Update toolbar creation to use new API.
- Update popup menu creation to use new API. (also replace deprecated
item factory)
- Remove i_update_toolbar (i_basic.c) and associated calls.
I'd also like the core developers opinion of using GtkBuilder and
GtkUIBuilder for UI construction as apposed to using straight C or
some form of guile.
Do these modifications seem worthwhile? Is anyone working on this
already?
Cheers,
Ed
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev