gtk.InputDialoga dialog for configuring devices for the XInput
extension.Synopsisgtk.InputDialoggtk.Dialoggtk.InputDialogAncestry+-- gobject.GObject
+-- gtk.Object
+-- gtk.Widget
+-- gtk.Container
+-- gtk.Bin
+-- gtk.Window
+-- gtk.Dialog
+-- gtk.InputDialog
Implemented Interfacesgtk.InputDialog
implements
gtk.Buildablegtk.InputDialog Propertiesgtk.Object Propertiesgtk.Widget Propertiesgtk.Container Propertiesgtk.Window Propertiesgtk.Dialog Propertiesgtk.InputDialog Style Propertiesgtk.Widget Style Propertiesgtk.Dialog Style Propertiesgtk.InputDialog Signal Prototypesgobject.GObject Signal Prototypesgtk.Object Signal Prototypesgtk.Widget Signal Prototypesgtk.Container Signal Prototypesgtk.Window Signal Prototypesgtk.Dialog Signal Prototypes"disable-device"callbackinputdialogdeviceiduser_param1..."enable-device"callbackinputdialogdeviceiduser_param1...DescriptionThis widget is considered too specialized or little-used for
PyGTK, 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, it will eventually move out of the PyGTK distribution.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.Constructorgtk.InputDialogReturns :a new gtk.InputDialog
widgetCreates a new gtk.InputDialog.SignalsThe "disable-device" gtk.InputDialog Signalcallbackinputdialogdeviceiduser_param1...inputdialog :the inputdialog that received the
signaldeviceid :the ID of the newly disabled
device.user_param1 :the first user parameter (if any) specified
with the connect()
method... :additional user parameters (if
any)The "disable-device" signal is emitted when the user changes the
mode of a device from a gtk.gdk.MODE_SCREEN or
gtk.gdk.MODE_WINDOW to
gtk.gdk.MODE_ENABLED.The "enable-device" gtk.InputDialog Signalcallbackinputdialogdeviceiduser_param1...inputdialog :the inputdialog that received the
signaldeviceid :the ID of the newly disabled
device.user_param1 :the first user parameter (if any) specified
with the connect()
method... :additional user parameters (if
any)The "enable-device" signal is emitted when the user changes the
mode of a device from gtk.gdk.MODE_DISABLED to a
gtk.gdk.MODE_SCREEN or
gtk.gdk.MODE_WINDOW.