You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an example, if the program defines the handler for item movement as:
function On_Item_Event_Move_Item
(View : not null access Glib.Object.GObject_Record'Class;
Event : Event_Details_Access)
return Boolean
is
begin
Event.Allowed_Drag_Area := Some_Rectangle;
return Gtkada.Canvas_View.Views.On_Item_Event_Move_Item (View, Event);
end On_Item_Event_Move_Item;
As an example, if the program defines the handler for item movement as:
and then the handlers:
However, dragging is not limited in any way.
Diving into the problem, I commented out gtkada-canvas_pkg.adb line 509:
end On_Item_Event_Move_Item;
and voilá, dragging is now limited to the rectangle.
The text was updated successfully, but these errors were encountered: