Interface for drag surface surfaces.
More...
#include <gdkmm/dragsurface.h>
|
| static void | add_interface (GType gtype_implementer) |
| |
| static GType | get_type () |
| | Get the GType for this class, for use with the underlying GObject type system. More...
|
| |
Interface for drag surface surfaces.
A Gdk::DragSurface is a surface that is used during a DnD operation.
- Since gtkmm 3.98:
◆ DragSurface() [1/2]
| Gdk::DragSurface::DragSurface |
( |
| ) |
|
|
protected |
You should derive from this class to use it.
◆ DragSurface() [2/2]
◆ ~DragSurface()
| Gdk::DragSurface::~DragSurface |
( |
| ) |
|
|
overridenoexcept |
◆ add_interface()
| static void Gdk::DragSurface::add_interface |
( |
GType |
gtype_implementer | ) |
|
|
static |
◆ get_type()
| static GType Gdk::DragSurface::get_type |
( |
| ) |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
◆ gobj() [1/2]
| GdkDragSurface * Gdk::DragSurface::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C GObject.
◆ gobj() [2/2]
| const GdkDragSurface * Gdk::DragSurface::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C GObject.
◆ operator=()
◆ present()
| bool Gdk::DragSurface::present |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
Present drag_surface.
- Parameters
-
| width | The unconstrained drag_surface width to layout. |
| height | The unconstrained drag_surface height to layout. |
- Returns
false if it failed to be presented, otherwise true.
◆ wrap()
| Glib::RefPtr< Gdk::DragSurface > wrap |
( |
GdkDragSurface * |
object, |
|
|
bool |
take_copy = false |
|
) |
| |
|
related |
A Glib::wrap() method for this object.
- Parameters
-
| object | The C instance. |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns
- A C++ instance that wraps this C instance.