Bauble / bauble.classic

this is how Bauble and Ghini both started
GNU General Public License v2.0
10 stars 34 forks source link

composite widget for selecting from list #280

Closed mfrasca closed 8 years ago

mfrasca commented 8 years ago

I think we need the same widget for intended locations and for hybrid operands. it's a widget that goes associated to a list of objects from a table. it looks like this: untitled and it works that you write in the entry on the top, which has the correct completion, and as soon as you select something, the text entry goes back to blank and the selected value is added to the model and shown in the lower part. you remove values from the model by hitting the :heavy_minus_sign: button.

mfrasca commented 8 years ago

implemented in ghini.desktop by adding a set_value method to a widget. https://github.com/Ghini/ghini.desktop/commit/ba9ce930fa101562e64663cdbab4507ae37cc3ce#diff-31b517701a456b0a20be3c92a5fd1dd1R1801