Dear YaoYuan, I keep a Dia for storing grouped entities that I want to use again, but have not created a shape for them.
You can all up the storage Dia, or start a new Dia, then copy and paste between them. If you copy you grid as you like it into another Dia then you can go get it anytime, and you will not need to reset its size. On Thu, May 9, 2013 at 3:17 AM, YaoYuan <yaoyuan1...@gmail.com> wrote: > That require to modify the source code, right? It would be better if I can > write a ".shape" file or python script, etc, as long as I don't have to > touch the source code. > > > YaoYuan > > > ------------------------------**------------------------------** > ---------------------- > ------------------------------**------------------------------** > ---------------------- > > At 08.05.2013 14:15, YaoYuan wrote: > Hello, > > I am new to Dia. I want to define a shape similar to "Resizable - Grid" so > that I can create it with some paramete. Is there a way to do this? > > I'm not aware of any object "Resizable - Grid" in standard Dia, but assume > you are refering to the object from the Misc sheet with the type name > "Misc - Grid". > The object behavior is defined with C in the file > https://git.gnome.org/browse/**dia/tree/objects/Misc/grid_**object.c<https://git.gnome.org/browse/dia/tree/objects/Misc/grid_object.c> > > There is a mechanism to pass one creation paramter from the sheet to > programmed objects. It is up to the object implementation to interpret > that creation parameter, so the change you intend almost certainly > involves writing some code. > > HTH, > Hans > > -------- Hans "at" Breuer "dot" Org ----------- > Tell me what you need, and I'll tell you how to > get along without it. -- Dilbert > ______________________________**_________________ > dia-list mailing list > dia-list@gnome.org > https://mail.gnome.org/**mailman/listinfo/dia-list<https://mail.gnome.org/mailman/listinfo/dia-list> > FAQ at http://live.gnome.org/Dia/Faq > Main page at http://live.gnome.org/Dia > > -- Put this question to yourself: should I use everyone else to attain happiness, or should I help others gain happiness? *Dalai Lama * To invent, you need a good imagination and a pile of junk. Thomas A. Edison<http://www.brainyquote.com/quotes/quotes/t/thomasaed125362.html> A public-opinion poll is no substitute for thought. *Warren Buffet* Michael E. Ross (919) 550-2430 Land (919) 576-0824 <https://www.google.com/voice/b/0?pli=1#phones> Google Phone (919) 631-1451 Cell (919) 513-0418 Desk michael.e.r...@gmail.com <michael.e.r...@gmail.com>
_______________________________________________ dia-list mailing list dia-list@gnome.org https://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia