gtkmm
4.14.0
|
Information for computing drag surface size. More...
#include <gdkmm/dragsurfacesize.h>
Public Member Functions | |
DragSurfaceSize (GdkDragSurfaceSize* gobject) | |
DragSurfaceSize (const DragSurfaceSize& other)=delete | |
DragSurfaceSize& | operator= (const DragSurfaceSize& other)=delete |
DragSurfaceSize (DragSurfaceSize&& other) noexcept | |
DragSurfaceSize& | operator= (DragSurfaceSize&& other) noexcept |
~DragSurfaceSize () noexcept | |
operator bool () const | |
Checks if this instance is valid. More... | |
GdkDragSurfaceSize* | gobj () |
Provides access to the underlying C object. More... | |
const GdkDragSurfaceSize* | gobj () const |
Provides access to the underlying C object. More... | |
void | set_size (int width, int height) |
Sets the size the drag surface prefers to be resized to. More... | |
Protected Attributes | |
GdkDragSurfaceSize* | gobject_ |
Information for computing drag surface size.
Gdk::DragSurfaceSize contains information that is useful to compute the size of a drag surface.
|
explicit |
|
delete |
|
noexcept |
|
noexcept |
|
inline |
Provides access to the underlying C object.
|
inline |
Provides access to the underlying C object.
|
explicit |
Checks if this instance is valid.
It is valid if and only if it contains a pointer to a GdkDragSurfaceSize. For instance,
|
delete |
|
noexcept |
void Gdk::DragSurfaceSize::set_size | ( | int | width, |
int | height | ||
) |
Sets the size the drag surface prefers to be resized to.
width | The width. |
height | The height. |
|
protected |