summaryrefslogtreecommitdiffstats
path: root/src/widgets/ink-toggle-action.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2018-07-29 13:56:29 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2018-07-29 13:56:29 +0000
commitaa6dde633662cf5fecea6425b7367eb2b93d53fb (patch)
tree947bc444bd17b5ff424e3efcaa17f788e4b1b880 /src/widgets/ink-toggle-action.cpp
parentchange header string (diff)
downloadinkscape-aa6dde633662cf5fecea6425b7367eb2b93d53fb.tar.gz
inkscape-aa6dde633662cf5fecea6425b7367eb2b93d53fb.zip
DropperToolbar: GtkAction migration
Diffstat (limited to 'src/widgets/ink-toggle-action.cpp')
-rw-r--r--src/widgets/ink-toggle-action.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/widgets/ink-toggle-action.cpp b/src/widgets/ink-toggle-action.cpp
index 77dc39c3d..7a29b95d5 100644
--- a/src/widgets/ink-toggle-action.cpp
+++ b/src/widgets/ink-toggle-action.cpp
@@ -77,6 +77,20 @@ static void ink_toggle_action_finalize( GObject* obj )
}
+/**
+ * \brief Create a new toggle action
+ *
+ * \param[in] name The name of the Action
+ * \param[in] label The label text to display on the Action's tool item
+ * \param[in] tooltip The tooltip text for the Action's tool item
+ * \param[in] inkId
+ * \param[in] size The size of the tool item to display
+ *
+ * \detail The name is used by the UI Manager to look up the action when specified in a UI XML
+ * file.
+ *
+ * \deprecated GtkActions are deprecated. Use a Gtk::ToggleToolButton instead.
+ */
InkToggleAction* ink_toggle_action_new( const gchar *name,
const gchar *label,
const gchar *tooltip,