Gtk-- Reference: Gtk::InputDialog

Class Index | Cross Index | Namespace Index

# Class Gtk::InputDialog

Configure devices for the XInput extension.
Contained in: Gtk
Derived from: Gtk::Dialog
Derived by: none

#include <gtk--/inputdialog.h>

### public function member index:
`` | `InputDialog` | `()`;
``signal` `void`` | `disable_device` | `(`guint32`)`;
``signal` `void`` | `enable_device` | `(`guint32`)`;
``Button`*` | `get_close_button` | `() `const``;
``OptionMenu`*` | `get_mode_optionmenu` | `() `const``;
``Button`*` | `get_save_button` | `() `const``;
``GtkInputDialog`*` | `gtkobj` | `()`;
``const` `GtkInputDialog`*` | `gtkobj` | `() `const``;
``static` `bool`` | `isA` | `(`Object`* `object`)`;
``virtual`` | `~InputDialog` | `()`;
### protected function member index:
``virtual` `void`` | `disable_device_impl` | `(`guint32` `p0`)`;
``virtual` `void`` | `enable_device_impl` | `(`guint32` `p0`)`;

## Description:

`Gtk::InputDialog` 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.

`Gtk::InputDialog` 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.

## Function Member Descriptions:

Gtk::InputDialog::disable_device - 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`.

``signal` `void`` `disable_device``(`guint32`)`;
``virtual` `void`` `disable_device_impl``(`guint32` `p0`)`;
Gtk::InputDialog::enable_device - 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`.

``signal` `void`` `enable_device``(`guint32`)`;
``virtual` `void`` `enable_device_impl``(`guint32` `p0`)`;
Gtk::InputDialog::gtkobj - Returns the underlaying gtk+ object.

``GtkInputDialog`*` `gtkobj``()`;
Gtk::InputDialog::isA - Returns true if object is this type.

``static` `bool`` `isA``(`Object`* `object`)`;