diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-08-04 19:22:34 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2016-08-23 21:01:45 +0200 |
commit | a0b9586465bc86c06105129208ab6eb4de8a357a (patch) | |
tree | 031d11f845ce8262bb84acc4c66010106ea25e83 /docs/reference | |
parent | 3a6d0ff2ab05c66f18fd1aa740029976b30ac1bc (diff) | |
download | gtk+-a0b9586465bc86c06105129208ab6eb4de8a357a.tar.gz |
gtk: Add GtkPadController
This GdkEventController is a helper object to handle pad events,
it allows setting a mapping to action names, to be triggered in
the given action group.
In order to help on places where advanced mapping/configurability
of pad features is not desirable, this controller also allows
passing a NULL pad device, meaning it will listen on all pads,
and/or passing -1 on mode/index, so an action applies to all
modes/features (eg. strips/rings).
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/gtk/gtk-docs.sgml | 3 | ||||
-rw-r--r-- | docs/reference/gtk/gtk3-sections.txt | 22 | ||||
-rw-r--r-- | docs/reference/gtk/gtk3.types.in | 1 |
3 files changed, 25 insertions, 1 deletions
diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml index d7d96c3056..8c962aeb07 100644 --- a/docs/reference/gtk/gtk-docs.sgml +++ b/docs/reference/gtk/gtk-docs.sgml @@ -299,7 +299,7 @@ </chapter> <chapter id="Gestures"> - <title>Gestures</title> + <title>Gestures and event handling</title> <xi:include href="xml/gtkeventcontroller.xml" /> <xi:include href="xml/gtkgesture.xml" /> <xi:include href="xml/gtkgesturesingle.xml" /> @@ -310,6 +310,7 @@ <xi:include href="xml/gtkgestureswipe.xml" /> <xi:include href="xml/gtkgesturerotate.xml" /> <xi:include href="xml/gtkgesturezoom.xml" /> + <xi:include href="xml/gtkpadcontroller.xml" /> </chapter> <chapter id="DeprecatedObjects"> diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt index b1a81c71c1..98641e2551 100644 --- a/docs/reference/gtk/gtk3-sections.txt +++ b/docs/reference/gtk/gtk3-sections.txt @@ -8451,6 +8451,28 @@ gtk_gesture_zoom_get_type </SECTION> <SECTION> +<FILE>gtkpadcontroller</FILE> +<TITLE>GtkPadController</TITLE> +GtkPadController +gtk_pad_controller_new +gtk_pad_controller_set_action_entries +gtk_pad_controller_set_action +GtkPadActionType +GtkPadActionEntry + +<SUBSECTION Standard> +GTK_TYPE_PAD_CONTROLLER +GTK_PAD_CONTROLLER +GTK_PAD_CONTROLLER_CLASS +GTK_IS_PAD_CONTROLLER +GTK_IS_PAD_CONTROLLER_CLASS +GTK_PAD_CONTROLLER_GET_CLASS + +<SUBSECTION Private> +gtk_pad_controller_get_type +</SECTION> + +<SECTION> <FILE>gtkstacksidebar</FILE> GtkStackSidebar GtkStackSidebarClass diff --git a/docs/reference/gtk/gtk3.types.in b/docs/reference/gtk/gtk3.types.in index e6874c5c81..9f7d51234e 100644 --- a/docs/reference/gtk/gtk3.types.in +++ b/docs/reference/gtk/gtk3.types.in @@ -133,6 +133,7 @@ gtk_numerable_icon_get_type gtk_offscreen_window_get_type gtk_orientable_get_type gtk_overlay_get_type +gtk_pad_controller_get_type gtk_page_setup_get_type @DISABLE_ON_W32@gtk_page_setup_unix_dialog_get_type gtk_paned_get_type |