On Tue, 2013-09-03 at 19:17 +0100, Richard Shann wrote: > On Tue, 2013-09-03 at 19:17 +0200, Éloi Rivard wrote: > > Glade file format is designed to store GTK UIs. Plus it has a great > > editor, that allow to design interfaces coherent with the rest of the > > system. Maybe it would fit there ? > > I had a look at glade before I wrote. I didn't see how it would help > here; the task is not to design a layout of buttons and other controls, > but to allow the user to create sets of buttons, positioned where they > would want them. > My proposal narrows this down to sets of buttons either in a row or in a > column,
nothing to prevent the user specifying a size for number of rows or number of columns and then dividing the number of buttons up by that number; that way the user could create what are called "palettes" in GUI terminology, rectangular arrays of buttons. Richard > the row or column being either in a separate top level window or > in the main window (either horizontally or vertically). > > When I say "the task is ..." what I am thinking is that Denemo is > unusual in that there are potentially vast numbers of commands which > form into sets used by particular users. By allowing users to create > sets of commands relevant to them I think we could create a program that > many would be able to use without being unable to find the commands they > want. Denemo could be shipped with various sets, for Marching Bands, > Vocal, Piano, Early Music, ... which could be a starting point for > people to customize. > > Richard > > > > > > > > > > > 2013/9/3 Richard Shann <[email protected]> > > I think it is long overdue to finish the work allowing the > > user to > > choose a custom set of button bars/palettes (and indeed > > providing a > > useful set by default). > > At the moment all such buttons go into the Score Titles bar. > > This bar is > > actually just the first in a list, and I propose continuing > > that idea by > > allowing the user to further populate that list. > > > > What I am thinking of is that Denemo will provide a widget > > "ButtonBar" > > which has a name and a button "Mod" (for modifying itself) and > > any > > number of command widgets. The command widgets perform > > scripted > > commands, and display themselves as icons or labels or both. > > The > > "ButtonBar" can be placed either in the main window or in a > > separate > > toplevel window, as selected via the "Mod" button. The "Mod" > > button also > > allows hiding/showing the ButtonBar widget and whether the > > buttons are > > arranged vertically or horizontally. This button will also > > allow > > deleting command buttons from the bar. Adding to the bar will > > be on the > > left click menu of commands, and also be possible via the > > scheme > > CreateButton procedure, suitably extended. Hidden button bars > > can be > > brought back (either from the view menu or ...?). > > The set of ButtonBars will be stored (if modified) in an xml > > format file > > in .denemo-xxx/actions/ButtonBars.xml and a system-wide one > > will be used > > if that one does not exist. > > > > Any suggestions for improvement of this proposal are welcome. > > > > Richard > > > > > > > > _______________________________________________ > > Denemo-devel mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/denemo-devel > > > > > > > > -- > > Éloi Rivard - [email protected] > > > > « On perd plus à être indécis qu'à se tromper. » > > > > > > _______________________________________________ > Denemo-devel mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/denemo-devel _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
