Method

GtkWidgetget_device_enabled

since: 3.0

Declaration [src]

gboolean
gtk_widget_get_device_enabled (
  GtkWidget* widget,
  GdkDevice* device
)

Description [src]

Returns whether device can interact with widget and its children. See gtk_widget_set_device_enabled().

Available since: 3.0

Parameters

device

Type: GdkDevice

A GdkDevice.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE is device is enabled for widget.