Go to the source code of this file.
Classes | |
| struct | _FlSubsurface |
Functions | |
| static void | fl_subsurface_dispose (GObject *object) |
| static void | fl_subsurface_class_init (FlSubsurfaceClass *klass) |
| static void | fl_subsurface_init (FlSubsurface *self) |
| FlSubsurface * | fl_subsurface_new (struct wl_compositor *compositor, struct wl_subcompositor *subcompositor, struct wl_surface *parent_surface) |
| struct wl_surface * | fl_subsurface_get_surface (FlSubsurface *self) |
| void | fl_subsurface_set_position (FlSubsurface *self, gint x, gint y) |
|
static |
Definition at line 28 of file fl_subsurface.cc.
References fl_subsurface_dispose().
|
static |
| struct wl_surface* fl_subsurface_get_surface | ( | FlSubsurface * | subsurface | ) |
fl_subsurface_get_surface: @subsurface: an #FlSubsurface.
Gets the Wayland surface backing this subsurface.
Returns: a struct wl_surface.
Definition at line 55 of file fl_subsurface.cc.
|
static |
Definition at line 32 of file fl_subsurface.cc.
| FlSubsurface* fl_subsurface_new | ( | struct wl_compositor * | compositor, |
| struct wl_subcompositor * | subcompositor, | ||
| struct wl_surface * | parent_surface | ||
| ) |
FlSubsurface:
#FlSubsurface manages a Wayland subsurface attached to another Wayland surface. It is used to render Flutter content directly to a Wayland surface, independently of the GTK widget hierarchy. fl_subsurface_new: @compositor: the Wayland compositor to create the surface with. @subcompositor: the Wayland subcompositor to create the subsurface with. @parent_surface: the Wayland surface to attach the subsurface to.
Creates a new Wayland subsurface on @parent_surface.
Returns: a new #FlSubsurface.
Definition at line 34 of file fl_subsurface.cc.
Referenced by fl_wayland_display_create_subsurface().
| void fl_subsurface_set_position | ( | FlSubsurface * | subsurface, |
| gint | x, | ||
| gint | y | ||
| ) |
fl_subsurface_set_position: @subsurface: an #FlSubsurface. @x: x coordinate in the parent surface. @y: y coordinate in the parent surface.
Moves the subsurface to the given position relative to the parent surface.
Definition at line 60 of file fl_subsurface.cc.
Referenced by TEST_F().