[Gtk-sharp-list] some enlightenment

Paulo Pires paulo.pires@vodafone.pt
Tue, 09 Nov 2004 19:47:05 +0000


If I'm going to use any kind of canvas, I'll go for Gnome.Canvas, which
afaik, is a GTK widget. It's not bundled, again afaik, in GTK# so I take
this opportunity to ask for the GTK# packagers if they're going to
bundle Gnome.Canvas soon.

Thanks a lot
Paulo Pires

Ter, 2004-11-09 =C3=A0s 16:27 -0300, Gonzalo Odiard escreveu:
> You can try diacanvas#  http://diacanvas.sourceforge.net/csharp.php
>=20
>=20
> Paulo Pires wrote:=20
> > Well, it's an approach, and that's what I'm looking for.
> >=20
> > My perspective is something like Visio. The road map is an image, the
> > background of a "canvas" or a "grid", which I'll call map from now. The=
n
> > I would have a toolbar with my buttons, each one representing some
> > object. When drag n' dropped into that map, it would instantiate the
> > connected object and store the coordinates in the map, and the variable=
s
> > I which to save.
> >=20
> > I'm splitting the problem in two: the app and the app gui! I'm
> > developing the app "forgetting" the gui, but then I'll have to link the
> > gui to the core, so there is the needed interaction.
> >=20
> > I'm trying to get as much different ideas as I can, so I can decide
> > better which way to take. But my main issue is what GTK# widgets to use
> > to get this going.
> >=20
> >=20
> > Many thanks for your tip
> > Paulo Pires
> >=20
> >=20
> > Ter, 2004-11-09 =C3=A0s 12:54 -0500, Orlando Karam escreveu:
> >  =20
> > > I think a simpler approach might work, but I may be wrong (happens al=
l
> > > the time :).
> > >=20
> > > The traffic lights, etc can (on screen) probably be simple widgets, l=
ike
> > > buttons (they can have images). You create them, and can move them et=
c.
> > > You may want to keep a list or something with all of them too.
> > >=20
> > > I'm not sure if you're getting the map as an already drawn figure, or=
 as
> > > one you draw. If it's already drawn, then displaying it is simple (ag=
ain
> > > a button or something). If you have to draw it, you may use DrawingAr=
ea,
> > > or just a bunch of widgets again.=20
> > >=20
> > > How are you representing your map ? is there a grid ? if so, then you
> > > can just use a widget per cell, and change the image depending on  wh=
at
> > > the widget is.
> > >=20
> > > Would something like this work ? is this too simple ?
> > > On Tue, 2004-11-09 at 06:40, Paulo Pires wrote:
> > >    =20
> > > > Hi fellows!
> > > >=20
> > > > I am developing  a Traffic Control Management System, which 1st ver=
sion
> > > > main goal is to be a design platform where I can drop a road map an=
d
> > > > then insert/delete/move traffic-lights and other traffic-control-sy=
stems
> > > > (like speed-measurers) in image format. Each control (image) can be
> > > > selected and deleted/moved at anytime and I must know which control=
 is
> > > > selected, since each one of them will have different configurations
> > > > (such as timing, state, etc). After everything is configured, there
> > > > should be a "simulator", which, following the configurations for th=
e
> > > > several controls, will demonstrate the "real" project behavior.
> > > >=20
> > > > The question here is that I'm willing to deploy it in GTK#, and I'v=
e
> > > > never worked, at this level, with GTK (or other GUI besides VB :$).=
 I'm
> > > > following GTK# since September but I feel like it's not enough for =
my
> > > > task.
> > > >=20
> > > > I've got Edd & Niel's book "Mono - A Developer's Notebook" and I th=
ink
> > > > that my solution is probably around DrawingArea but I have serious
> > > > issues, like i don't want to renderize my work into one single imag=
e. I
> > > > want to work images (controls) independantly.
> > > >=20
> > > > I would really appreciate some enlightenment about which is the bes=
t
> > > > approach, for you guys, to get this going.
> > > >=20
> > > > I really don't want to get back to VB to get this project on
> > > > schedule :(.
> > > >=20
> > > >=20
> > > > So many thanks in advance,
> > > > Paulo Pires
> > > >=20
> > > > _______________________________________________
> > > > Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> > > >      =20
> >=20
> > _______________________________________________
> > Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> >=20
> >  =20