Code

add a way to set a radio toggle in aux toolbar via desktop, by the toggles id
[inkscape.git] / src / ui / view / edit-widget-interface.h
index 1df0bff457be70159b44ee9c38841ade52a8d6b0..8e388529eccb9650ce4005412b0ac266615c5d2c 100644 (file)
 #ifndef INKSCAPE_UI_VIEW_EDIT_WIDGET_IFACE_H
 #define INKSCAPE_UI_VIEW_EDIT_WIDGET_IFACE_H
 
-#include "gdk/gdktypes.h"
 #include "libnr/nr-point.h"
 #include "message.h"
 
+#include <gtkmm/window.h>
+
 namespace Inkscape {
 namespace UI {
 namespace View {
@@ -30,7 +31,7 @@ struct EditWidgetInterface
     virtual ~EditWidgetInterface() {}
 
     /// Returns pointer to window UI object as void*
-    virtual void *getWindow() = 0;
+    virtual Gtk::Window *getWindow() = 0;
     
     /// Set the widget's title
     virtual void setTitle (gchar const*) = 0;
@@ -119,6 +120,9 @@ struct EditWidgetInterface
     
     /// In auxiliary toolbox, set value of adjustment with specific id
     virtual void setToolboxAdjustmentValue (const gchar *, double) = 0;
+
+    /// In auxiliary toolbox, select one of the "select one" options (usually radio toggles)
+    virtual void setToolboxSelectOneValue (const gchar *, gint) = 0;
     
     /// In auxiliary toolbox, return true if specific togglebutton is active
     virtual bool isToolboxButtonActive (gchar const*) = 0;