|
From: | Éloi Rivard |
Subject: | Re: [Denemo-devel] Involvement |
Date: | Sun, 4 Nov 2012 19:02:23 +0100 |
On Sun, 2012-11-04 at 15:21 +0100, Éloi Rivard wrote:At the moment there is a GtkVbox called buttonboxes which contains
> What are exactly the locations where a command can appear ?
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
[Prev in Thread] | Current Thread | [Next in Thread] |