2011/7/21 mahendra1 <mahendra.gajera@...2640...>:
Hello ALL
I am new in the inkscape development.I wants to add some new feature in inkscape for Window Os . Please let me how can i add following things. New dialog Button Edit Box Set Event of each button and edit box.
User interface is done using the GTK+ library. You can read the manual here. http://developer.gnome.org/gtk/stable/ We use the gtkmm bindings for C++, but they are less documented. http://developer.gnome.org/gtkmm/stable/
The classes you are looking for: Gtk::Dialog http://developer.gnome.org/gtkmm/stable/classGtk_1_1Dialog.html Gtk::Button http://developer.gnome.org/gtkmm/stable/classGtk_1_1Button.html Gtk::Entry http://developer.gnome.org/gtkmm/unstable/classGtk_1_1Entry.html To connect events, you use libsigc++ signals or virtual functions. http://developer.gnome.org/libsigc++/stable/
There is a good book about gtkmm programming available here: http://developer.gnome.org/gtkmm-tutorial/stable/
which is base class for GUI and event control in Inkscape?.
I don't know what you are looking for. SPDesktop (src/desktop.h) is the class that represents an editing window.
If you have any test example for Inkscape please suggest me.
There are many examples in the gtkmm book.
Regards, Krzysztof