public static Gdk.DeviceTool GetDeviceTool(Gdk.Event evnt) { IntPtr raw_ret = gdk_event_get_device_tool(evnt == null ? IntPtr.Zero : evnt.Handle); Gdk.DeviceTool ret = GLib.Object.GetObject(raw_ret) as Gdk.DeviceTool; return(ret); }
public static void SetDeviceTool(Gdk.Event evnt, Gdk.DeviceTool tool) { gdk_event_set_device_tool(evnt == null ? IntPtr.Zero : evnt.Handle, tool == null ? IntPtr.Zero : tool.Handle); }