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:
| Gdk::DragSurface::DragSurface |
( |
| ) |
|
|
protected |
You should derive from this class to use it.
| Gdk::DragSurface::~DragSurface |
( |
| ) |
|
|
overridenoexcept |
| static void Gdk::DragSurface::add_interface |
( |
GType |
gtype_implementer | ) |
|
|
static |
| static GType Gdk::DragSurface::get_type |
( |
| ) |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
| GdkDragSurface* Gdk::DragSurface::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C GObject.
| const GdkDragSurface* Gdk::DragSurface::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C GObject.
| 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.
| 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.