Hello,
update:
On 18.07.18 10:33, Thomas Mayer wrote:
Petri-foo has been unarchived and transferred to a
Github organization, and we are (OK, I am) open for anyone who wants to join.
I have had a quick look at the open issues, and as some issues contain patches, these
should be fixed pretty soon.
Currently, no work has been done here.
Conversion of code from libgnomecanvas to libcairo should not be too hard, I will have a
look at it.
I have decided to move from libgnomecanvas to goocanvas. In addition to
this, a switch from GTK2 to GTK3 is necessary. The current state can be
found in a Github pull request:
https://github.com/petri-foo/Petri-Foo/pull/40
It compiles and starts up, CMake files are up to date, but there is
still a lot of work to do:
- Scroll containers apparently work differently in GTK3 as in GTK2
- HBox and VBox are deprecated, and they are ugly and off
- Setting items to hidden in goocanvas gives a segfault
- Drawing waveforms must be done in a new way
- Signals from GUI elements are not routed
Basically, it is a non-functioning piece of software that resembles
petri-foo a little bit. My C is a bit rusty, and my experience with GTK3
and libcairo is obviously not good enough. So if anyone wants to join
in, please help.
GooCanvas doc:
https://developer.gnome.org/goocanvas/stable/index.html
GTK migration guide:
https://developer.gnome.org/gtk3/stable/gtk-migrating-2-to-3.html
Thanks,
Thomas
--
"Anything can be a tool - poverty, war. War is useful because it
is effective in so many areas." (Bijaz to Hayt in: Frank Herbert -
Dune Messiah)
http://www.residuum.org/