FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


GTK SVG viewer / Lan manager





Antoine_935
Hi people !

Do you know a GTK widget, a kind of canvas, but for svg graphics, that is easy to modify ?

Or maybe do you know the name of this program that creates graphs of networks, for sysadmins ? this could help me a lot ! even more than svg viewer
deepak
If you'r talking in terms of SVG then I think you'r working on Linux env. I was foolish to open image with svg using pygtk on win32. I did using following. I tried this too .. it worked with rsvg [http://librsvg.sourceforge.net/]

Code:

img = gtk.Image()
img.set_from_file('my.svg')
w = gtk.Window()
w.add(img)
w.show_all()
Antoine_935
yes, that's interresting, but, in a diagram software, I can't permanently write and read from a file, at any change, it would be far too slow.
deepak
Try it its not too small, I implemented a kind of graph of a motor using it and it worked prefectly.
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.