On Thu, 2008-10-02 at 10:55 -0400, Boris Mayer-St-Onge wrote: > I'm a new user of Dia and after playing a bit with it and reading some > documentation, I have a question. How can we add text (otherwise that > the <textbox/> element) to a custom shape? > > I was able to create some new shapes and new sheets, but I'm don't know > how to add text. I found some shapes with this functionnality, but I > wasn't able to find the corresponding .shape file. For instance, the > "time scale" into the Chronogram sheet, the "KAOS control link" into the > RE-KAOS sheet and the "Regular step" into the GRAFCET sheet.
Those are all programmed objects, not shapes, so no wonder you can't find the .shape files. Checking in objects/custom/shape_info.c, I see that the "text" element exists, with x and y positions and the contents of the element as the text. However, a quick test shows that it doesn't work at the moment. -Lars _______________________________________________ dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
