Information for computing drag surface size.
More...
#include <gdkmm/dragsurfacesize.h>
Information for computing drag surface size.
Gdk::DragSurfaceSize contains information that is useful to compute the size of a drag surface.
- Since gtkmm 4.12:
◆ DragSurfaceSize() [1/3]
Gdk::DragSurfaceSize::DragSurfaceSize |
( |
GdkDragSurfaceSize * |
gobject | ) |
|
|
explicit |
◆ DragSurfaceSize() [2/3]
◆ DragSurfaceSize() [3/3]
◆ ~DragSurfaceSize()
Gdk::DragSurfaceSize::~DragSurfaceSize |
( |
| ) |
|
|
noexcept |
◆ gobj() [1/2]
GdkDragSurfaceSize * Gdk::DragSurfaceSize::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C object.
◆ gobj() [2/2]
const GdkDragSurfaceSize * Gdk::DragSurfaceSize::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C object.
◆ operator bool()
Gdk::DragSurfaceSize::operator bool |
( |
| ) |
const |
|
explicit |
Checks if this instance is valid.
It is valid if and only if it contains a pointer to a GdkDragSurfaceSize. For instance,
do_something()
valarray< size_t > size() const
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_size()
void Gdk::DragSurfaceSize::set_size |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
Sets the size the drag surface prefers to be resized to.
- Since gtkmm 4.12:
- Parameters
-
width | The width. |
height | The height. |
◆ gobject_
GdkDragSurfaceSize* Gdk::DragSurfaceSize::gobject_ |
|
protected |