Deprecate GtkInputDialog
Deprecate the widget and adjust the documentation. https://bugzilla.gnome.org/show_bug.cgi?id=594903
This commit is contained in:
parent
6d62e4fafe
commit
8e6dbff2b0
6 changed files with 14 additions and 24 deletions
|
|
@ -57,12 +57,7 @@ devices without having to keep track of complicated per-device
|
|||
settings.
|
||||
</para>
|
||||
<para>
|
||||
Various aspects of each device may be configured. The easiest way of
|
||||
creating a GUI to allow the user to configure such a device
|
||||
is to use the #GtkInputDialog widget in GTK+.
|
||||
However, even when using this widget, application writers
|
||||
will need to directly query and set the configuration parameters
|
||||
in order to save the state between invocations of the application.
|
||||
Various aspects of each device may be configured.
|
||||
The configuration of devices is queried using gdk_devices_list().
|
||||
Each device must be activated using gdk_device_set_mode(), which
|
||||
also controls whether the device's range is mapped to the
|
||||
|
|
|
|||
|
|
@ -5,15 +5,6 @@ GtkInputDialog
|
|||
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>
|
||||
|
||||
<para>
|
||||
#GtkInputDialog displays a dialog which allows the user
|
||||
|
|
@ -32,6 +23,9 @@ No actions are bound to these by default.
|
|||
The changes that the user makes take effect
|
||||
immediately.
|
||||
</para>
|
||||
<para>
|
||||
As of GTK+ 2.20, #GtkInputDialog has been deprecated since it is too specialized.
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
<para>
|
||||
|
|
@ -55,6 +49,7 @@ to #GDK_MODE_ENABLED.
|
|||
|
||||
@inputdialog: the object which received the signal.
|
||||
@deviceid: The ID of the newly disabled device.
|
||||
@Deprecated: 2.20: Don't use this widget anymore.
|
||||
|
||||
<!-- ##### SIGNAL GtkInputDialog::enable-device ##### -->
|
||||
<para>
|
||||
|
|
@ -65,6 +60,7 @@ mode of a device from #GDK_MODE_DISABLED to a
|
|||
|
||||
@inputdialog: the object which received the signal.
|
||||
@deviceid: The ID of the newly enabled device.
|
||||
@Deprecated: 2.20: Don't use this widget anymore.
|
||||
|
||||
<!-- ##### FUNCTION gtk_input_dialog_new ##### -->
|
||||
<para>
|
||||
|
|
@ -72,5 +68,4 @@ Creates a new #GtkInputDialog.
|
|||
</para>
|
||||
|
||||
@Returns: the new #GtkInputDialog.
|
||||
|
||||
|
||||
@Deprecated: 2.20: Don't use this widget anymore.
|
||||
|
|
|
|||
Loading…
Reference in a new issue