On Tue, 2008-06-24 at 00:52 +0200, Maximilian Albert wrote:
I started working in the direction of Valerie's proposal for a redesigned pen/pencil toolbar (see http://wiki.inkscape.org/wiki/index.php/Vector-brushes), and I have a few quick questions:
- How can I add images/paths to dropdown menus, e.g., to illustrate
the shape that is going to be applied as a PatternAlongPath LPE?
Bulia answered the current state, however I was working on a more generic mechanism for the gradient toolbar.
In fixing the toolbar containers, I destabilized the layout of the old gradient toolbar UI, so I need to go ahead and get the new mechanism fixed and in. As soon as that is set, you should be able to reuse that.
IIRC, the key thing I was doing was making the EgeSelectOneAction handle previews that would be needed. Your code will still need to provide things when called-back, but the mechanics should be handled for you. Among other things it will allow for such dropdowns to be added and moved by the users at runtime. Soon... soon...
:-)