CVS of 2002-04-19 crashes

2002-04-19 Thread ml
Hi, maybe I did sth. stupid, but I'm not able to start dia. I get the splash screen and than the crash, because menu_item_list is NULL, the first time sheets_optionmenu_create() is called, but is dereferenced. GDB says: $ DEBUGGER=gdb ./app/run_dia.sh GNU gdb 2002-04-01-cvs ... (gdb) run Start

Export PNG with fixed width?

2002-04-19 Thread ml
Hi, I like to export a diagram in PNG format with a specific width, e.g. 400 pixels. Is this possible? I would prefer a command line over interactive usage, like $ dia foo.dia --export=foo.png --width=400 or sth. like that. Thanks in advance! Cheers! ___

Use of the Python console/plugin

2002-04-19 Thread ml
Hi, are there any examples or docs of the usage of the Python console and/or plugin in dia? Hints appreciated! Thanks in advance! Cheers! ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list

Extending dia using Python?

2002-05-01 Thread ml
Hi, is it possible to use python for defining new dia object types instead of C? Thanks in advance! Cheers! ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list

Extending dia with libglade/glade?

2002-05-01 Thread ml
Hi, is it possible to use glade and libglade to build object property dialogs etc. for dia objects? Thanks in advance! Cheers! ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list

How to use the PointArray property

2002-05-20 Thread ml
Hallo, I'm writing a new plugin for dia. I have defined a type Condition derived from Connection, which has two "normal" handles, and more handles can be added and removed by the user via the object menu. This is similar to network/bus.c, but I like to save the positions of the additional handl

XFig vs. dia 5:1

2002-07-14 Thread ml
Hi, while I like dia more than XFig because of it's cool GTK+ GUI, there are some features I miss desperately. Maybe I just don't know, how to use dia rightly: 1. Hatches: XFig has all kind of lines and other patterns to fill shapes with. In many cases this is better than using colours,

Re: XFig vs. dia 5:1

2002-07-14 Thread ml
Hi, thanks for your comments. On Sun, Jul 14, 2002 at 03:33:55PM +0100, Alan Horkan wrote: > i assume you did find the dashed lines feature which is set from the > bottom of the toolbox window. I meant hatches in respect to area, not line style. > Any shapes in particular? I like drawing new

Re: XFig vs. dia 5:1

2002-07-14 Thread ml
Hi, thanks for your explanations. On Sun, Jul 14, 2002 at 11:08:09AM -0500, Lars Clausen wrote: > No, Dia does not have hatches. We're more geared towards structured > diagrams than vector art. It is a good suggestion, though. I see hatches mostly essential for technical diagrams, not as a pa

Re: XFig vs. dia 5:1

2002-07-17 Thread ml
Hi, On Mon, Jul 15, 2002 at 10:28:55AM +0200, [EMAIL PROTECTED] wrote: > would you mind sending me some pointers to xfig shapes? Hm, I did `apt-get install xfig` on Debian unstable (yes, I'm one of the crazy/heroic people running unstable). This installs /usr/share/xfig/Libraries/ in fig forma

Generic all-purpose text-box?

2002-07-21 Thread ml
Hi, I'm looking for an all-purpose text-box, but didn't find one. The standard one in dia has optionally round corners, fill colour, line colour, line width, line style, but is missing multiline text and multiple connection points. I tried other boxes, like SADT box, but there I cannot change e

Re: Crazy colours in CVS dia

2002-07-21 Thread ml
Hi, On Sat, Jul 20, 2002 at 06:36:40PM +0200, ml wrote: > in CVS dia of today I find all colours (background, grid, > lines, fill areas) totally weird. Sometimes blue or yellow > background with white grid, blue shapes. I'm pretty sure > being drug-free! All other gnome2/gt

Dia and GObject

2002-10-03 Thread ml
Hi, just a general questions: As I understand, Object (lib/object.h) is not derived from GObject. Why? Same for other things like DiaMenu. Thanks for any explanation! Cheers! ___ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/

Restricting possible connections

2002-10-23 Thread ml
Hi, I think about writing a new dia module, where certain objects can be connected only to certain others. (How) can I disallow connections between arbitrary objects? I.e. I have object types A, B, and C - while connections between A-B and A-C are allowed, but B-C should not be possible. Many t

Re: Dia and GObject

2002-10-23 Thread ml
On Thu, Oct 03, 2002 at 08:39:26AM -0500, Lars Clausen wrote: > Mainly because Dia started out before there was a GObject, and GTKObject > just wasn't right. We will move to GObject. Is the transition from GtkObject to GObject finished now? I.e. is it (relatively) save to cvs co, again? TIA! ___

Re: Restricting possible connections

2002-10-24 Thread ml
On Thu, Oct 24, 2002 at 12:21:22PM -0500, Lars Clausen wrote: > On Thu, 24 Oct 2002, [EMAIL PROTECTED] wrote: > > 2. Of course, this must be an option to the user. Maybe a > >diagram specific or a global option? > > Hmmm... good question. Global options are easier to make and do away > with.

Re: Restricting possible connections

2002-10-24 Thread ml
On Thu, Oct 24, 2002 at 09:23:48AM -0500, Lars Clausen wrote: > The right place to add a checking call would be in > layer_find_closest_connectionpoint() in app/diagramdata.c. Problem is, > that loop goes over all objects in a layer, so we can't afford to spend a > lot of time there. Well, we can

Re: Restricting possible connections

2002-10-26 Thread ml
On Fri, Oct 25, 2002 at 08:05:51PM +0200, [EMAIL PROTECTED] wrote: > But, maybe, the function could be called only once - for the connection object. If >the > connection object wants, it can call some function in the two connected objects. > (But that would mean that it has to be able to find abou

How to use the PointArray property

2002-11-29 Thread ml
Hallo, I had this question back in May, but most developers were busy with the transition to GTK2, so I send it again: I'm writing a new plugin for dia. I have defined a type 'Condition' derived from 'Connection', which has two "normal" handles, and more handles can be added and removed by the u

Re: using dia for graphs (as in graph theory)

2003-08-14 Thread ml
On Mon, Aug 11, 2003 at 05:34:46AM -0500, Lars Clausen wrote: > There's the basic shapes always shown in the toolbox. The boxes and > circles there don't allow parenting right now, but could be made to by > setting a single flag. Just for fun I set obj->can_parent = TRUE for the UML actor. It w

Re: using dia for graphs (as in graph theory)

2003-08-14 Thread ml
On Mon, Aug 11, 2003 at 03:46:12PM -0500, Lars Clausen wrote: > I don't think the objects should say anything about whether they can > connect to unknown other objects. I'd hate to try to set up an unorthodox > diagram only to find that the editor says no for no good reason. What we I agree 100%

Dia "project" support

2003-08-14 Thread ml
Hi, are there any plans to enhance dia to support diagrams that are belonging together? I.e. having a kind of "project" tree and allowing hyperlinks from objects to other diagrams? If dia were a bonobo component it could be embedded into an existing framework (anjuta?). Cheers!

Drawing components? (UML, CORBA, CCM)

2003-08-14 Thread ml
Hi, (how) can I draw CCM-like components in dia? CCM is the CORBA Component Model and one will use UML to describe CCM systems. However, some "arrows" seem to be missing in dia. receprecep facet +---+ taclefacet +---+ tacle o---|com|---(o-

Re: using dia for graphs (as in graph theory)

2003-08-14 Thread ml
On Mon, Aug 11, 2003 at 04:01:15PM -0500, Ribeiro, Glauber wrote: > I second this. I think dia should remain as a graphics editor, not try to be > an UML validator. Dia should remain as it is, but an optional(!) support for sensible drawings is desirable, IMHO. Cheers! __