|
| | DragSurfaceImpl (DragSurfaceImpl&& src) noexcept |
| |
| DragSurfaceImpl& | operator= (DragSurfaceImpl&& src) noexcept |
| |
| | ~DragSurfaceImpl () noexcept override |
| |
| | DragSurface (DragSurface&& src) noexcept |
| |
| DragSurface& | operator= (DragSurface&& src) noexcept |
| |
| | ~DragSurface () noexcept override |
| |
| GdkDragSurface* | gobj () |
| | Provides access to the underlying C GObject. More...
|
| |
| const GdkDragSurface* | gobj () const |
| | Provides access to the underlying C GObject. More...
|
| |
| bool | present (int width, int height) |
| | Present drag_surface. More...
|
| |
| | Surface (Surface&& src) noexcept |
| |
| Surface& | operator= (Surface&& src) noexcept |
| |
| | ~Surface () noexcept override |
| |
| GdkSurface* | gobj () |
| | Provides access to the underlying C GObject. More...
|
| |
| const GdkSurface* | gobj () const |
| | Provides access to the underlying C GObject. More...
|
| |
| GdkSurface* | gobj_copy () |
| | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
| |
| Glib::RefPtr< Display > | get_display () |
| | Gets the GdkDisplay associated with a GdkSurface. More...
|
| |
| Glib::RefPtr< const Display > | get_display () const |
| | Gets the GdkDisplay associated with a GdkSurface. More...
|
| |
| void | hide () |
| | Hide the surface. More...
|
| |
| void | set_input_region (const ::Cairo::RefPtr< ::Cairo::Region >& region) |
| | Apply the region to the surface for the purpose of event handling. More...
|
| |
| bool | get_mapped () const |
| | Checks whether the surface has been mapped. More...
|
| |
| void | set_cursor (const Glib::RefPtr< Cursor >& cursor) |
| | Sets the default mouse pointer for a GdkSurface. More...
|
| |
| void | set_cursor () |
| | Use the parent surface's cursor. More...
|
| |
| void | set_device_cursor (const Glib::RefPtr< Device >& device, const Glib::RefPtr< Cursor >& cursor) |
| | Sets a specific GdkCursor for a given device when it gets inside surface. More...
|
| |
| Glib::RefPtr< Cursor > | get_device_cursor (const Glib::RefPtr< Device >& device) |
| | Retrieves a GdkCursor pointer for the device currently set on the specified GdkSurface. More...
|
| |
| Glib::RefPtr< const Cursor > | get_device_cursor (const Glib::RefPtr< const Device >& device) const |
| | Retrieves a GdkCursor pointer for the device currently set on the specified GdkSurface. More...
|
| |
| Glib::RefPtr< Cursor > | get_cursor () |
| | Retrieves a GdkCursor pointer for the cursor currently set on the GdkSurface. More...
|
| |
| Glib::RefPtr< const Cursor > | get_cursor () const |
| | Retrieves a GdkCursor pointer for the cursor currently set on the GdkSurface. More...
|
| |
| int | get_width () const |
| | Returns the width of the given surface. More...
|
| |
| int | get_height () const |
| | Returns the height of the given surface. More...
|
| |
| int | get_scale_factor () const |
| | Returns the internal scale factor that maps from surface coordinates to the actual device pixels. More...
|
| |
| bool | get_device_position (const Glib::RefPtr< const Device >& device, double& x, double& y, ModifierType& mask) const |
| | Obtains the current device position and modifier state. More...
|
| |
| ::Cairo::RefPtr< ::Cairo::Surface > | create_similar_surface (::Cairo::Content content, int width, int height) |
| | Create a new Cairo surface that is as compatible as possible with the given surface. More...
|
| |
| void | beep () |
| | Emits a short beep associated to surface. More...
|
| |
| Glib::RefPtr< Drag > | drag_begin_from_point (const Glib::RefPtr< Device >& device, const Glib::RefPtr< ContentProvider >& content, DragAction actions, double dx, double dy) |
| | Starts a drag and creates a new drag context for it. More...
|
| |
| void | queue_render () |
| | Forces a [signal Gdk.Surface::render] signal emission for surface to be scheduled. More...
|
| |
| void | request_layout () |
| | Request a layout phase from the surface's frame clock. More...
|
| |
| Glib::RefPtr< FrameClock > | get_frame_clock () |
| | Gets the frame clock for the surface. More...
|
| |
| Glib::RefPtr< const FrameClock > | get_frame_clock () const |
| | Gets the frame clock for the surface. More...
|
| |
| void | set_opaque_region (const ::Cairo::RefPtr< const ::Cairo::Region >& region) |
| | Marks a region of the GdkSurface as opaque. More...
|
| |
| Glib::RefPtr< Gdk::GLContext > | create_gl_context () |
| | Creates a new GLContext matching the framebuffer format to the visual of the Surface. More...
|
| |
| Glib::RefPtr< Gdk::CairoContext > | create_cairo_context () |
| | Creates a new GdkCairoContext for rendering on surface. More...
|
| |
| Glib::SignalProxy< void(int, int)> | signal_layout () |
| |
| Glib::SignalProxy< bool(const ::Cairo::RefPtr< const ::Cairo::Region >&)> | signal_render () |
| |
| Glib::SignalProxy< bool(const Glib::RefPtr< const Event >&)> | signal_event () |
| |
| Glib::SignalProxy< void(const Glib::RefPtr< Monitor >&)> | signal_enter_monitor () |
| |
| Glib::SignalProxy< void(const Glib::RefPtr< Monitor >&)> | signal_leave_monitor () |
| |
| Glib::PropertyProxy< Glib::RefPtr< Cursor > > | property_cursor () |
| | The mouse pointer for the GdkSurface. More...
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Cursor > > | property_cursor () const |
| | The mouse pointer for the GdkSurface. More...
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Display > > | property_display () const |
| | The GdkDisplay connection of the surface. More...
|
| |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< FrameClock > > | property_frame_clock () const |
| | The GdkFrameClock of the surface. More...
|
| |
| Glib::PropertyProxy_ReadOnly< bool > | property_mapped () const |
| | Whether the surface is mapped. More...
|
| |
| Glib::PropertyProxy_ReadOnly< int > | property_width () const |
| | The width of the surface in pixels. More...
|
| |
| Glib::PropertyProxy_ReadOnly< int > | property_height () const |
| | The height of the surface, in pixels. More...
|
| |
| Glib::PropertyProxy_ReadOnly< int > | property_scale_factor () const |
| | The scale factor of the surface. More...
|
| |
Gdk::DragSurfaceImpl is a Gdk::Surface that implements the Gdk::DragSurface interface.
The GdkDragSurface interface can be implemented by C classes that derive from GdkSurface. No public GTK class implements GdkDragSurface. Some GTK functions, such as gdk_drag_get_drag_surface(), return an object of a class which is derived from GdkSurface and implements GdkDragSurface. Since that C class is not public, it's not wrapped in a C++ class. A C object of such a class can be wrapped in a Gdk::DragSurfaceImpl object. Gdk::DragSurfaceImpl does not directly correspond to any GTK class.
This class is intended only for wrapping C objects returned from GTK functions.
- See also
- Gdk::Drag::get_drag_surface()
- Since gtkmm 3.98: