Method

GtkWidgetget_device_enabled

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 GdkDevice
 

A GdkDevice.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE is device is enabled for widget.