PROGRAM(input_dialog);
// This dialog is used to enable XInput devices.  By default, no
// extension devices are enabled. We need a mechanism to allow users
// to enable and configure their extension devices. GTK provides the
// InputDialog widget to automate this process. The following
// procedure manages an InputDialog widget. It creates the dialog if
// it isn't present, and shows it otherwise.
// <p>
// <pre><font size=-1>
// GTK.Input_dialog inputd;
// void create_input_dialog ()
// {
//   if (!inputd)
//   {
//     inputd = gtk.Input_dialog();
//     inputd-&gt;signal_connect("destroy", destruct, inputd);
//     inputd-&gt;close_button()-&gt;signal_connect("clicked",inputd-&gt;hide, 0);
//     inputd-&gt;save_button()-&gt;hide();
//     inputd-&gt;show();
//   }
//   else
//     inputd->show();
// }
// </font></pre>
// TIMG: GTK.Input_dialog()
SIGNAL("enable_device", "");
SIGNAL("disable_device", "");
INHERIT(dialog);
COMPLEX_FUNCTION(create);
// Create a new input dialog window.
SUBWIDGET(close_button, button);
// The 'close' button of the dialog.
SUBWIDGET(save_button, button);
// The 'save' button of the dialog.
SUBWIDGET(axis_list, table);
SUBWIDGET(axis_listbox, scrolled_window);
SUBWIDGET(mode_optionmenu, option_menu);
CLASSMEMBER(current_device, int);
SUBWIDGET(keys_list, table);
SUBWIDGET(keys_listbox, scrolled_window);
