gtk2/docs/reference/gtk/tmpl/gtkinputdialog.sgml

74 lines
2.0 KiB
Plaintext
Raw Normal View History

1999-08-16 18:51:52 +00:00
<!-- ##### SECTION Title ##### -->
GtkInputDialog
<!-- ##### SECTION Short_Description ##### -->
Configure devices for the XInput extension.
<!-- ##### SECTION Long_Description ##### -->
<para>
NOTE this widget is considered too specialized/little-used for
GTK+, and will in the future be moved to some other package. If
your application needs this widget, feel free to use it, as the
widget does work and is useful in some applications; it's just not
of general interest. However, we are not accepting new features for
the widget, and it will eventually move out of the GTK+
distribution.
</para>
1999-08-16 18:51:52 +00:00
<para>
#GtkInputDialog displays a dialog which allows the user
to configure XInput extension devices. For each
device, they can control the mode of the device
(disabled, screen-relative, or window-relative),
the mapping of axes to coordinates, and the
mapping of the devices macro keys to key press
events.
</para>
<para>
#GtkInputDialog contains two buttons to which
the application can connect; one for closing
the dialog, and one for saving the changes.
No actions are bound to these by default.
The changes that the user makes take effect
immediately.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### STRUCT GtkInputDialog ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_input_dialog_new ##### -->
<para>
Creates a new #GtkInputDialog.
</para>
@Returns: the new #GtkInputDialog.
<!-- ##### SIGNAL GtkInputDialog::disable-device ##### -->
1999-08-16 18:51:52 +00:00
<para>
This signal is emitted when the user changes the
mode of a device from a #GDK_MODE_SCREEN or #GDK_MODE_WINDOW
to #GDK_MODE_ENABLED.
1999-08-16 18:51:52 +00:00
</para>
@inputdialog: the object which received the signal.
@deviceid: The ID of the newly disabled device.
1999-08-16 18:51:52 +00:00
<!-- ##### SIGNAL GtkInputDialog::enable-device ##### -->
1999-08-16 18:51:52 +00:00
<para>
This signal is emitted when the user changes the
mode of a device from #GDK_MODE_DISABLED to a
#GDK_MODE_SCREEN or #GDK_MODE_WINDOW.
1999-08-16 18:51:52 +00:00
</para>
@inputdialog: the object which received the signal.
@deviceid: The ID of the newly enabled device.
1999-08-16 18:51:52 +00:00