:right-sidebar: True DragSurface =================================================================== .. currentmodule:: gi.repository.Gdk .. class:: DragSurface(*args, **kwargs) :no-contents-entry: A ``GdkDragSurface`` is an interface for surfaces used during DND. Methods ------- .. rst-class:: interim-class .. class:: DragSurface :no-index: .. method:: present(width: int, height: int) -> bool Present ``drag_surface``\. :param width: the unconstrained drag_surface width to layout :param height: the unconstrained drag_surface height to layout Signals ------- .. rst-class:: interim-class .. class:: DragSurface.signals :no-index: .. method:: compute_size(size: ~gi.repository.Gdk.DragSurfaceSize) -> None The type of the None singleton. .. versionadded:: 4.12 :param size: the size of the drag surface