On Fri, 2004-06-11 at 01:53, bulia byak wrote:
- When one of the names is shown in that combo box, you can erase it, which
results in removing this set from the list of defined sets. (Objects remain, they're just not in the set anymore.) Maybe a small button near the box can also be added for this purpose.
This sounds a lot like named ranges in Excel, actually. (not inherently a bad thing)
- When you select something and then type the name of a set in the combo box
(rather than select that name from the list), the current selection is added to that set, rather than replace it.
Hmm, maybe.
- In the Object Properties dialog, add a Sets field next to Id, which would
list (and allow you to edit) a comma-separated list of sets that the currently selected object belongs to. For multiple selections, list only those sets to which all selected objects belong.
Hmm, I think that would be better implemented as a list rather than a freeform text entry, since the data is actually kinda structured. Space-separated keywords ... maybe. But anything more complex needs a more specialized widget.
The list might be overkill, but what I'm thinking is make the entries in the list all directly editable, and include a blank entry at the bottom for typing in a new one. (to delete an entry, just hit delete when it's selected, or edit the entry and backspace over the whole thing).
I can probably help with implementing that as I've finally mostly figured out the new Gtk2 list/tree API. It's not really so complicated, just very different.
- In the same dialog, enable the visible/active checkboxes to be applicable
to any number of selected objects. That will let you select one of the sets and hide/unhide it with a couple of clicks.
We should really fix the whole dialog to make sense for multiple selection. Visibly disable the parts that don't make sense for multiple objects (e.g. id), too.
(as well as properly set the 'inconsistent' state for those toggles that do apply when not all the selected objects have the same value for the toggled option)
-mental