gtk2/docs/reference/gtk/tmpl/gtkinputdialog.sgml
1999-08-16 18:51:52 +00:00

74 lines
1.7 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
GtkInputDialog
<!-- ##### SECTION Short_Description ##### -->
Configure devices for the XInput extension.
<!-- ##### SECTION Long_Description ##### -->
<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>
@dialog:
@axis_list:
@axis_listbox:
@mode_optionmenu:
@close_button:
@save_button:
@axis_items:
@current_device:
@keys_list:
@keys_listbox:
<!-- ##### FUNCTION gtk_input_dialog_new ##### -->
<para>
Creates a new #GtkInputDialog.
</para>
@Returns: the new #GtkInputDialog.
<!-- ##### SIGNAL GtkInputDialog::enable-device ##### -->
<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.
</para>
@inputdialog: the object which received the signal.
@deviceid: The ID of the newly enabled device.
<!-- ##### SIGNAL GtkInputDialog::disable-device ##### -->
<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.
</para>
@inputdialog: the object which received the signal.
@deviceid: The ID of the newly disabled device.