On Sun, 2012-11-04 at 15:21 +0100, Éloi Rivard wrote: > What are exactly the locations where a command can appear ? At the moment there is a GtkVbox called buttonboxes which contains GtkHBox widgets, and these contain GtkButtons. There are only two of these GtkHBoxs the Score Titles and the Movement Titles. User placed buttons are being dumped into the Score Titles GtkHBox. (Leading to problems of it getting too many buttons in it etc).
view.c (creating score buttonbox, hiding/showing the menus, including buttonboxes) scoreops.c (creating movement buttonbox, hiding/showing the buttonboxes as the user switches movement/score) lilydirectives.c (button creation, via DenemoDirective creation) The score and movement GtkHBoxs are these fields Denemo.gui->buttonbox Denemo.gui->si->buttonbox where the type DenemoGUI is a score and (confusingly, following LilyPond terminology) DenemoScore is the movement. Bottom line: at the moment commands can only appear on the score titles bar :( A good design would allow the user to create a palette(s?) of useful commands, grouping commands together etc. Richard _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
