Special windows / widgets



I am still learning how to use GTK and I have a bit more complicate problem
now:
I need to create a window. This window should contain some widgets. These
widgets will be *fixed* size boxes (i.e. a icon). The widgets are connected
each other with lines. To be exact, these boxes represent modules and the
lines are pipes that connect the modules.

What I need to do (and don't know how) now is:
1 - create a new widget (the box). This widget has fixed a width and height
and should be possible to move with the mouse.
2 - draw lines to these widgets

On [2]: I thought it would be best to add a drawing area to the window where
I draw my lines. But how can I put other widgets in this area? In GTK,
container widgets and sensitive widgets are two different things. At least I
don't know of a container widget that is visible in some way.

I hope you understand my problem. I would be very grateful of any help. Feel
free to ask me anything additional! :-)

Thanks
Udo Giacomozzi

--
* Email: udo_giacomozzi@rolmail.net
* UIN: 17745247   (@pager.mirabilis.com)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]