Struct smithay_client_toolkit::reexports::client::Proxy [−][src]
pub struct Proxy<I> where
I: Interface, { /* fields omitted */ }
An handle to a wayland proxy
This represents a wayland object instanciated in your client session. Several handles to the same object can exist at a given time, and cloning them won't create a new protocol object, only clone the handle. The lifetime of the protocol object is not tied to the lifetime of these handles, but rather to sending or receiving destroying messages.
These handles are notably used to send requests to the server. To do
you need to import the associated RequestsTrait
trait from the module
of this interface.
Methods
impl<I> Proxy<I> where
I: Interface,
[src]
impl<I> Proxy<I> where
I: Interface,
pub fn send(&self, msg: <I as Interface>::Request)
[src]
pub fn send(&self, msg: <I as Interface>::Request)
Send a request through this object
This is the generic method to send requests.
Several requests require the creation of new objects using
the child()
method, which if done wrong can cause protocol
errors (in which case the server will terminate your connexion).
Thus unless your know exactly what you are doing, you should use
the helper methods provided by the various RequestsTrait
for
each interface, which handle this correctly for you.
pub fn is_alive(&self) -> bool
[src]
pub fn is_alive(&self) -> bool
Check if the object associated with this proxy is still alive
Will return false
if either:
- The object has been destroyed
- The object is not managed by this library (see the
from_c_ptr
method)
pub fn version(&self) -> u32
[src]
pub fn version(&self) -> u32
Retrieve the interface version of this wayland object instance
Returns 0 on dead objects
pub fn set_user_data(&self, ptr: *mut ())
[src]
pub fn set_user_data(&self, ptr: *mut ())
Associate an arbitrary payload to this object
The pointer you associate here can be retrieved from any other proxy to the same wayland object.
Setting or getting user data is done as an atomic operation. You are responsible for the correct initialization of this pointer, synchronisation of access, and destruction of the contents at the appropriate time.
pub fn get_user_data(&self) -> *mut ()
[src]
pub fn get_user_data(&self) -> *mut ()
Retrieve the arbitrary payload associated to this object
See set_user_data
for explanations.
pub fn is_external(&self) -> bool
[src]
pub fn is_external(&self) -> bool
Check whether this proxy is managed by the library or not
See from_c_ptr
for details.
pub fn equals(&self, other: &Proxy<I>) -> bool
[src]
pub fn equals(&self, other: &Proxy<I>) -> bool
Check if the other proxy refers to the same underlying wayland object
pub fn c_ptr(&self) -> *mut wl_proxy
[src]
pub fn c_ptr(&self) -> *mut wl_proxy
Get a raw pointer to the underlying wayland object
Retrieve a pointer to the object from the libwayland-client.so
library.
You will mostly need it to interface with C libraries needing access
to wayland objects (to initialize an opengl context for example).
pub unsafe fn from_c_ptr(ptr: *mut wl_proxy) -> Proxy<I>
[src]
pub unsafe fn from_c_ptr(ptr: *mut wl_proxy) -> Proxy<I>
Create a Proxy
instance from a C pointer
Create a Proxy
from a raw pointer to a wayland object from the
C library.
If the pointer was previously obtained by the c_ptr()
method, this
constructs a new proxy for the same object just like the clone()
method would have.
If the object was created by some other C library you are interfacing
with, it will be created in an "unmanaged" state: wayland-client will
treat it as foreign, and as such most of the safeties will be absent.
Notably the lifetime of the object can't be tracked, so the alive()
method will always return false
and you are responsible of not using
an object past its destruction (as this would cause a protocol error).
You will also be unable to associate any user data pointer to this object.
In order to handle protocol races, invoking it with a NULL pointer will create an already-dead object.
pub fn make_wrapper(&self, queue: &QueueToken) -> Result<Proxy<I>, ()>
[src]
pub fn make_wrapper(&self, queue: &QueueToken) -> Result<Proxy<I>, ()>
Create a wrapper for this object for queue management
As assigning a proxy to an event queue can be a racy operation in contextes involving multiple thread, this provides a facility to do this safely.
The wrapper object created behaves like a regular Proxy
, except that
all objects created as the result of its requests will be assigned to
the queue associated to the provided token, rather than the queue of
their parent. This does not change the queue of the proxy itself.
pub fn child<C>(&self) -> NewProxy<C> where
C: Interface,
[src]
pub fn child<C>(&self) -> NewProxy<C> where
C: Interface,
Create a new child object
This creates a new wayland object, considered as a child of this object. It will notably inherit its interface version.
The created object should immediatly be implemented and sent in a request to the server, to keep the object list properly synchronized. Failure to do so will likely cause a protocol error.
pub fn is_implemented_with<Impl>(&self) -> bool where
Impl: Implementation<Proxy<I>, <I as Interface>::Event> + 'static,
[src]
pub fn is_implemented_with<Impl>(&self) -> bool where
Impl: Implementation<Proxy<I>, <I as Interface>::Event> + 'static,
Check whether this proxy has been implemented with given type
Always returns false if the proxy is no longer alive
Trait Implementations
impl RequestsTrait for Proxy<WlDataDevice>
[src]
impl RequestsTrait for Proxy<WlDataDevice>
fn start_drag(
&self,
source: Option<&Proxy<WlDataSource>>,
origin: &Proxy<WlSurface>,
icon: Option<&Proxy<WlSurface>>,
serial: u32
)
[src]
fn start_drag(
&self,
source: Option<&Proxy<WlDataSource>>,
origin: &Proxy<WlSurface>,
icon: Option<&Proxy<WlSurface>>,
serial: u32
)
start drag-and-drop operation Read more
fn set_selection(&self, source: Option<&Proxy<WlDataSource>>, serial: u32)
[src]
fn set_selection(&self, source: Option<&Proxy<WlDataSource>>, serial: u32)
copy data to the selection Read more
fn release(&self)
[src]
fn release(&self)
destroy data device Read more
impl RequestsTrait for Proxy<WlSubsurface>
[src]
impl RequestsTrait for Proxy<WlSubsurface>
fn destroy(&self)
[src]
fn destroy(&self)
remove sub-surface interface Read more
fn set_position(&self, x: i32, y: i32)
[src]
fn set_position(&self, x: i32, y: i32)
reposition the sub-surface Read more
fn place_above(&self, sibling: &Proxy<WlSurface>)
[src]
fn place_above(&self, sibling: &Proxy<WlSurface>)
restack the sub-surface Read more
fn place_below(&self, sibling: &Proxy<WlSurface>)
[src]
fn place_below(&self, sibling: &Proxy<WlSurface>)
restack the sub-surface Read more
fn set_sync(&self)
[src]
fn set_sync(&self)
set sub-surface to synchronized mode Read more
fn set_desync(&self)
[src]
fn set_desync(&self)
set sub-surface to desynchronized mode Read more
impl RequestsTrait for Proxy<WlDataOffer>
[src]
impl RequestsTrait for Proxy<WlDataOffer>
fn accept(&self, serial: u32, mime_type: Option<String>)
[src]
fn accept(&self, serial: u32, mime_type: Option<String>)
accept one of the offered mime types Read more
fn receive(&self, mime_type: String, fd: i32)
[src]
fn receive(&self, mime_type: String, fd: i32)
request that the data is transferred Read more
fn destroy(&self)
[src]
fn destroy(&self)
destroy data offer Read more
fn finish(&self)
[src]
fn finish(&self)
the offer will no longer be used Read more
fn set_actions(&self, dnd_actions: u32, preferred_action: u32)
[src]
fn set_actions(&self, dnd_actions: u32, preferred_action: u32)
set the available/preferred drag-and-drop actions Read more
impl<I> Clone for Proxy<I> where
I: Interface,
[src]
impl<I> Clone for Proxy<I> where
I: Interface,
fn clone(&self) -> Proxy<I>
[src]
fn clone(&self) -> Proxy<I>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl RequestsTrait for Proxy<WlShm>
[src]
impl RequestsTrait for Proxy<WlShm>
fn create_pool(&self, fd: i32, size: i32) -> Result<NewProxy<WlShmPool>, ()>
[src]
fn create_pool(&self, fd: i32, size: i32) -> Result<NewProxy<WlShmPool>, ()>
create a shm pool Read more
impl RequestsTrait for Proxy<WlRegion>
[src]
impl RequestsTrait for Proxy<WlRegion>
fn destroy(&self)
[src]
fn destroy(&self)
destroy region Read more
fn add(&self, x: i32, y: i32, width: i32, height: i32)
[src]
fn add(&self, x: i32, y: i32, width: i32, height: i32)
add rectangle to region Read more
fn subtract(&self, x: i32, y: i32, width: i32, height: i32)
[src]
fn subtract(&self, x: i32, y: i32, width: i32, height: i32)
subtract rectangle from region Read more
impl RequestsTrait for Proxy<WlSeat>
[src]
impl RequestsTrait for Proxy<WlSeat>
fn get_pointer(&self) -> Result<NewProxy<WlPointer>, ()>
[src]
fn get_pointer(&self) -> Result<NewProxy<WlPointer>, ()>
return pointer object Read more
fn get_keyboard(&self) -> Result<NewProxy<WlKeyboard>, ()>
[src]
fn get_keyboard(&self) -> Result<NewProxy<WlKeyboard>, ()>
return keyboard object Read more
fn get_touch(&self) -> Result<NewProxy<WlTouch>, ()>
[src]
fn get_touch(&self) -> Result<NewProxy<WlTouch>, ()>
return touch object Read more
fn release(&self)
[src]
fn release(&self)
release the seat object Read more
impl RequestsTrait for Proxy<WlCompositor>
[src]
impl RequestsTrait for Proxy<WlCompositor>
fn create_surface(&self) -> Result<NewProxy<WlSurface>, ()>
[src]
fn create_surface(&self) -> Result<NewProxy<WlSurface>, ()>
create new surface Read more
fn create_region(&self) -> Result<NewProxy<WlRegion>, ()>
[src]
fn create_region(&self) -> Result<NewProxy<WlRegion>, ()>
create new region Read more
impl RequestsTrait for Proxy<WlDataSource>
[src]
impl RequestsTrait for Proxy<WlDataSource>
fn offer(&self, mime_type: String)
[src]
fn offer(&self, mime_type: String)
add an offered mime type Read more
fn destroy(&self)
[src]
fn destroy(&self)
destroy the data source Read more
fn set_actions(&self, dnd_actions: u32)
[src]
fn set_actions(&self, dnd_actions: u32)
set the available drag-and-drop actions Read more
impl RequestsTrait for Proxy<WlTouch>
[src]
impl RequestsTrait for Proxy<WlTouch>
impl<I> Send for Proxy<I> where
I: Interface,
[src]
impl<I> Send for Proxy<I> where
I: Interface,
impl RequestsTrait for Proxy<WlShmPool>
[src]
impl RequestsTrait for Proxy<WlShmPool>
fn create_buffer(
&self,
offset: i32,
width: i32,
height: i32,
stride: i32,
format: Format
) -> Result<NewProxy<WlBuffer>, ()>
[src]
fn create_buffer(
&self,
offset: i32,
width: i32,
height: i32,
stride: i32,
format: Format
) -> Result<NewProxy<WlBuffer>, ()>
create a buffer from the pool Read more
fn destroy(&self)
[src]
fn destroy(&self)
destroy the pool Read more
fn resize(&self, size: i32)
[src]
fn resize(&self, size: i32)
change the size of the pool mapping Read more
impl RequestsTrait for Proxy<WlCallback>
[src]
impl RequestsTrait for Proxy<WlCallback>
impl RequestsTrait for Proxy<WlShellSurface>
[src]
impl RequestsTrait for Proxy<WlShellSurface>
fn pong(&self, serial: u32)
[src]
fn pong(&self, serial: u32)
respond to a ping event Read more
fn _move(&self, seat: &Proxy<WlSeat>, serial: u32)
[src]
fn _move(&self, seat: &Proxy<WlSeat>, serial: u32)
start an interactive move Read more
fn resize(&self, seat: &Proxy<WlSeat>, serial: u32, edges: Resize)
[src]
fn resize(&self, seat: &Proxy<WlSeat>, serial: u32, edges: Resize)
start an interactive resize Read more
fn set_toplevel(&self)
[src]
fn set_toplevel(&self)
make the surface a toplevel surface Read more
fn set_transient(
&self,
parent: &Proxy<WlSurface>,
x: i32,
y: i32,
flags: Transient
)
[src]
fn set_transient(
&self,
parent: &Proxy<WlSurface>,
x: i32,
y: i32,
flags: Transient
)
make the surface a transient surface Read more
fn set_fullscreen(
&self,
method: FullscreenMethod,
framerate: u32,
output: Option<&Proxy<WlOutput>>
)
[src]
fn set_fullscreen(
&self,
method: FullscreenMethod,
framerate: u32,
output: Option<&Proxy<WlOutput>>
)
make the surface a fullscreen surface Read more
fn set_popup(
&self,
seat: &Proxy<WlSeat>,
serial: u32,
parent: &Proxy<WlSurface>,
x: i32,
y: i32,
flags: Transient
)
[src]
fn set_popup(
&self,
seat: &Proxy<WlSeat>,
serial: u32,
parent: &Proxy<WlSurface>,
x: i32,
y: i32,
flags: Transient
)
make the surface a popup surface Read more
fn set_maximized(&self, output: Option<&Proxy<WlOutput>>)
[src]
fn set_maximized(&self, output: Option<&Proxy<WlOutput>>)
make the surface a maximized surface Read more
fn set_title(&self, title: String)
[src]
fn set_title(&self, title: String)
set surface title Read more
fn set_class(&self, class_: String)
[src]
fn set_class(&self, class_: String)
set surface class Read more
impl RequestsTrait for Proxy<WlPointer>
[src]
impl RequestsTrait for Proxy<WlPointer>
fn set_cursor(
&self,
serial: u32,
surface: Option<&Proxy<WlSurface>>,
hotspot_x: i32,
hotspot_y: i32
)
[src]
fn set_cursor(
&self,
serial: u32,
surface: Option<&Proxy<WlSurface>>,
hotspot_x: i32,
hotspot_y: i32
)
set the pointer surface Read more
fn release(&self)
[src]
fn release(&self)
release the pointer object Read more
impl RequestsTrait for Proxy<WlBuffer>
[src]
impl RequestsTrait for Proxy<WlBuffer>
impl RequestsTrait for Proxy<WlOutput>
[src]
impl RequestsTrait for Proxy<WlOutput>
impl RequestsTrait for Proxy<WlDisplay>
[src]
impl RequestsTrait for Proxy<WlDisplay>
fn sync(&self) -> Result<NewProxy<WlCallback>, ()>
[src]
fn sync(&self) -> Result<NewProxy<WlCallback>, ()>
asynchronous roundtrip Read more
fn get_registry(&self) -> Result<NewProxy<WlRegistry>, ()>
[src]
fn get_registry(&self) -> Result<NewProxy<WlRegistry>, ()>
get global registry object Read more
impl RequestsTrait for Proxy<WlKeyboard>
[src]
impl RequestsTrait for Proxy<WlKeyboard>
impl RequestsTrait for Proxy<WlSurface>
[src]
impl RequestsTrait for Proxy<WlSurface>
fn destroy(&self)
[src]
fn destroy(&self)
delete surface Read more
fn attach(&self, buffer: Option<&Proxy<WlBuffer>>, x: i32, y: i32)
[src]
fn attach(&self, buffer: Option<&Proxy<WlBuffer>>, x: i32, y: i32)
set the surface contents Read more
fn damage(&self, x: i32, y: i32, width: i32, height: i32)
[src]
fn damage(&self, x: i32, y: i32, width: i32, height: i32)
mark part of the surface damaged Read more
fn frame(&self) -> Result<NewProxy<WlCallback>, ()>
[src]
fn frame(&self) -> Result<NewProxy<WlCallback>, ()>
request a frame throttling hint Read more
fn set_opaque_region(&self, region: Option<&Proxy<WlRegion>>)
[src]
fn set_opaque_region(&self, region: Option<&Proxy<WlRegion>>)
set opaque region Read more
fn set_input_region(&self, region: Option<&Proxy<WlRegion>>)
[src]
fn set_input_region(&self, region: Option<&Proxy<WlRegion>>)
set input region Read more
fn commit(&self)
[src]
fn commit(&self)
commit pending surface state Read more
fn set_buffer_transform(&self, transform: Transform)
[src]
fn set_buffer_transform(&self, transform: Transform)
sets the buffer transformation Read more
fn set_buffer_scale(&self, scale: i32)
[src]
fn set_buffer_scale(&self, scale: i32)
sets the buffer scaling factor Read more
fn damage_buffer(&self, x: i32, y: i32, width: i32, height: i32)
[src]
fn damage_buffer(&self, x: i32, y: i32, width: i32, height: i32)
mark part of the surface damaged using buffer coordinates Read more
impl RequestsTrait for Proxy<WlDataDeviceManager>
[src]
impl RequestsTrait for Proxy<WlDataDeviceManager>
fn create_data_source(&self) -> Result<NewProxy<WlDataSource>, ()>
[src]
fn create_data_source(&self) -> Result<NewProxy<WlDataSource>, ()>
create a new data source Read more
fn get_data_device(
&self,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<WlDataDevice>, ()>
[src]
fn get_data_device(
&self,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<WlDataDevice>, ()>
create a new data device Read more
impl RequestsTrait for Proxy<WlRegistry>
[src]
impl RequestsTrait for Proxy<WlRegistry>
fn bind<T>(&self, version: u32, name: u32) -> Result<NewProxy<T>, ()> where
T: Interface,
[src]
fn bind<T>(&self, version: u32, name: u32) -> Result<NewProxy<T>, ()> where
T: Interface,
bind an object to the display Read more
impl<I> Sync for Proxy<I> where
I: Interface,
[src]
impl<I> Sync for Proxy<I> where
I: Interface,
impl RequestsTrait for Proxy<WlShell>
[src]
impl RequestsTrait for Proxy<WlShell>
fn get_shell_surface(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<WlShellSurface>, ()>
[src]
fn get_shell_surface(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<WlShellSurface>, ()>
create a shell surface from a surface Read more
impl<I> Drop for Proxy<I> where
I: Interface,
[src]
impl<I> Drop for Proxy<I> where
I: Interface,
impl RequestsTrait for Proxy<WlSubcompositor>
[src]
impl RequestsTrait for Proxy<WlSubcompositor>
fn destroy(&self)
[src]
fn destroy(&self)
unbind from the subcompositor interface Read more
fn get_subsurface(
&self,
surface: &Proxy<WlSurface>,
parent: &Proxy<WlSurface>
) -> Result<NewProxy<WlSubsurface>, ()>
[src]
fn get_subsurface(
&self,
surface: &Proxy<WlSurface>,
parent: &Proxy<WlSurface>
) -> Result<NewProxy<WlSubsurface>, ()>
give a surface the role sub-surface Read more
impl RequestsTrait for Proxy<ZwpPointerConstraintsV1>
[src]
impl RequestsTrait for Proxy<ZwpPointerConstraintsV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the pointer constraints manager object Read more
fn lock_pointer(
&self,
surface: &Proxy<WlSurface>,
pointer: &Proxy<WlPointer>,
region: Option<&Proxy<WlRegion>>,
lifetime: u32
) -> Result<NewProxy<ZwpLockedPointerV1>, ()>
[src]
fn lock_pointer(
&self,
surface: &Proxy<WlSurface>,
pointer: &Proxy<WlPointer>,
region: Option<&Proxy<WlRegion>>,
lifetime: u32
) -> Result<NewProxy<ZwpLockedPointerV1>, ()>
lock pointer to a position Read more
fn confine_pointer(
&self,
surface: &Proxy<WlSurface>,
pointer: &Proxy<WlPointer>,
region: Option<&Proxy<WlRegion>>,
lifetime: u32
) -> Result<NewProxy<ZwpConfinedPointerV1>, ()>
[src]
fn confine_pointer(
&self,
surface: &Proxy<WlSurface>,
pointer: &Proxy<WlPointer>,
region: Option<&Proxy<WlRegion>>,
lifetime: u32
) -> Result<NewProxy<ZwpConfinedPointerV1>, ()>
confine pointer to a region Read more
impl RequestsTrait for Proxy<ZwpTabletV1>
[src]
impl RequestsTrait for Proxy<ZwpTabletV1>
impl RequestsTrait for Proxy<ZxdgImporterV1>
[src]
impl RequestsTrait for Proxy<ZxdgImporterV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_importer object Read more
fn import(&self, handle: String) -> Result<NewProxy<ZxdgImportedV1>, ()>
[src]
fn import(&self, handle: String) -> Result<NewProxy<ZxdgImportedV1>, ()>
import a surface Read more
impl RequestsTrait for Proxy<ZwpIdleInhibitorV1>
[src]
impl RequestsTrait for Proxy<ZwpIdleInhibitorV1>
impl RequestsTrait for Proxy<ZwpLinuxDmabufV1>
[src]
impl RequestsTrait for Proxy<ZwpLinuxDmabufV1>
fn destroy(&self)
[src]
fn destroy(&self)
unbind the factory Read more
fn create_params(&self) -> Result<NewProxy<ZwpLinuxBufferParamsV1>, ()>
[src]
fn create_params(&self) -> Result<NewProxy<ZwpLinuxBufferParamsV1>, ()>
create a temporary object for buffer parameters Read more
impl RequestsTrait for Proxy<ZxdgPositionerV6>
[src]
impl RequestsTrait for Proxy<ZxdgPositionerV6>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_positioner object Read more
fn set_size(&self, width: i32, height: i32)
[src]
fn set_size(&self, width: i32, height: i32)
set the size of the to-be positioned rectangle Read more
fn set_anchor_rect(&self, x: i32, y: i32, width: i32, height: i32)
[src]
fn set_anchor_rect(&self, x: i32, y: i32, width: i32, height: i32)
set the anchor rectangle within the parent surface Read more
fn set_anchor(&self, anchor: Anchor)
[src]
fn set_anchor(&self, anchor: Anchor)
set anchor rectangle anchor edges Read more
fn set_gravity(&self, gravity: Gravity)
[src]
fn set_gravity(&self, gravity: Gravity)
set child surface gravity Read more
fn set_constraint_adjustment(&self, constraint_adjustment: u32)
[src]
fn set_constraint_adjustment(&self, constraint_adjustment: u32)
set the adjustment to be done when constrained Read more
fn set_offset(&self, x: i32, y: i32)
[src]
fn set_offset(&self, x: i32, y: i32)
set surface position offset Read more
impl RequestsTrait for Proxy<ZwpKeyboardShortcutsInhibitorV1>
[src]
impl RequestsTrait for Proxy<ZwpKeyboardShortcutsInhibitorV1>
impl RequestsTrait for Proxy<ZwpTabletV2>
[src]
impl RequestsTrait for Proxy<ZwpTabletV2>
impl RequestsTrait for Proxy<ZwpPointerGesturePinchV1>
[src]
impl RequestsTrait for Proxy<ZwpPointerGesturePinchV1>
impl RequestsTrait for Proxy<ZxdgExportedV1>
[src]
impl RequestsTrait for Proxy<ZxdgExportedV1>
impl RequestsTrait for Proxy<ZwpLinuxBufferParamsV1>
[src]
impl RequestsTrait for Proxy<ZwpLinuxBufferParamsV1>
fn destroy(&self)
[src]
fn destroy(&self)
delete this object, used or not Read more
fn add(
&self,
fd: i32,
plane_idx: u32,
offset: u32,
stride: u32,
modifier_hi: u32,
modifier_lo: u32
)
[src]
fn add(
&self,
fd: i32,
plane_idx: u32,
offset: u32,
stride: u32,
modifier_hi: u32,
modifier_lo: u32
)
add a dmabuf to the temporary set Read more
fn create(&self, width: i32, height: i32, format: u32, flags: u32)
[src]
fn create(&self, width: i32, height: i32, format: u32, flags: u32)
create a wl_buffer from the given dmabufs Read more
fn create_immed(
&self,
width: i32,
height: i32,
format: u32,
flags: u32
) -> Result<NewProxy<WlBuffer>, ()>
[src]
fn create_immed(
&self,
width: i32,
height: i32,
format: u32,
flags: u32
) -> Result<NewProxy<WlBuffer>, ()>
immediately create a wl_buffer from the given dmabufs Read more
impl RequestsTrait for Proxy<ZwpInputPanelV1>
[src]
impl RequestsTrait for Proxy<ZwpInputPanelV1>
fn get_input_panel_surface(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZwpInputPanelSurfaceV1>, ()>
[src]
fn get_input_panel_surface(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZwpInputPanelSurfaceV1>, ()>
impl RequestsTrait for Proxy<ZwpTabletManagerV1>
[src]
impl RequestsTrait for Proxy<ZwpTabletManagerV1>
fn get_tablet_seat(
&self,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<ZwpTabletSeatV1>, ()>
[src]
fn get_tablet_seat(
&self,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<ZwpTabletSeatV1>, ()>
get the tablet seat Read more
fn destroy(&self)
[src]
fn destroy(&self)
release the memory for the tablet manager object Read more
impl RequestsTrait for Proxy<ZwpInputMethodContextV1>
[src]
impl RequestsTrait for Proxy<ZwpInputMethodContextV1>
fn destroy(&self)
[src]
fn destroy(&self)
This is a destructor, you cannot send requests to this object any longer once this method is called. Read more
fn commit_string(&self, serial: u32, text: String)
[src]
fn commit_string(&self, serial: u32, text: String)
commit string Read more
fn preedit_string(&self, serial: u32, text: String, commit: String)
[src]
fn preedit_string(&self, serial: u32, text: String, commit: String)
pre-edit string Read more
fn preedit_styling(&self, index: u32, length: u32, style: u32)
[src]
fn preedit_styling(&self, index: u32, length: u32, style: u32)
pre-edit styling Read more
fn preedit_cursor(&self, index: i32)
[src]
fn preedit_cursor(&self, index: i32)
pre-edit cursor Read more
fn delete_surrounding_text(&self, index: i32, length: u32)
[src]
fn delete_surrounding_text(&self, index: i32, length: u32)
delete text Read more
fn cursor_position(&self, index: i32, anchor: i32)
[src]
fn cursor_position(&self, index: i32, anchor: i32)
set cursor to a new position Read more
fn modifiers_map(&self, map: Vec<u8>)
[src]
fn modifiers_map(&self, map: Vec<u8>)
fn keysym(&self, serial: u32, time: u32, sym: u32, state: u32, modifiers: u32)
[src]
fn keysym(&self, serial: u32, time: u32, sym: u32, state: u32, modifiers: u32)
keysym Read more
fn grab_keyboard(&self) -> Result<NewProxy<WlKeyboard>, ()>
[src]
fn grab_keyboard(&self) -> Result<NewProxy<WlKeyboard>, ()>
grab hardware keyboard Read more
fn key(&self, serial: u32, time: u32, key: u32, state: u32)
[src]
fn key(&self, serial: u32, time: u32, key: u32, state: u32)
forward key event Read more
fn modifiers(
&self,
serial: u32,
mods_depressed: u32,
mods_latched: u32,
mods_locked: u32,
group: u32
)
[src]
fn modifiers(
&self,
serial: u32,
mods_depressed: u32,
mods_latched: u32,
mods_locked: u32,
group: u32
)
forward modifiers event Read more
fn language(&self, serial: u32, language: String)
[src]
fn language(&self, serial: u32, language: String)
fn text_direction(&self, serial: u32, direction: u32)
[src]
fn text_direction(&self, serial: u32, direction: u32)
impl RequestsTrait for Proxy<ZwpTextInputV1>
[src]
impl RequestsTrait for Proxy<ZwpTextInputV1>
fn activate(&self, seat: &Proxy<WlSeat>, surface: &Proxy<WlSurface>)
[src]
fn activate(&self, seat: &Proxy<WlSeat>, surface: &Proxy<WlSurface>)
request activation Read more
fn deactivate(&self, seat: &Proxy<WlSeat>)
[src]
fn deactivate(&self, seat: &Proxy<WlSeat>)
request deactivation Read more
fn show_input_panel(&self)
[src]
fn show_input_panel(&self)
show input panels Read more
fn hide_input_panel(&self)
[src]
fn hide_input_panel(&self)
hide input panels Read more
fn reset(&self)
[src]
fn reset(&self)
reset Read more
fn set_surrounding_text(&self, text: String, cursor: u32, anchor: u32)
[src]
fn set_surrounding_text(&self, text: String, cursor: u32, anchor: u32)
sets the surrounding text Read more
fn set_content_type(&self, hint: u32, purpose: u32)
[src]
fn set_content_type(&self, hint: u32, purpose: u32)
set content purpose and hint Read more
fn set_cursor_rectangle(&self, x: i32, y: i32, width: i32, height: i32)
[src]
fn set_cursor_rectangle(&self, x: i32, y: i32, width: i32, height: i32)
fn set_preferred_language(&self, language: String)
[src]
fn set_preferred_language(&self, language: String)
sets preferred language Read more
fn commit_state(&self, serial: u32)
[src]
fn commit_state(&self, serial: u32)
fn invoke_action(&self, button: u32, index: u32)
[src]
fn invoke_action(&self, button: u32, index: u32)
impl RequestsTrait for Proxy<ZwpInputMethodV1>
[src]
impl RequestsTrait for Proxy<ZwpInputMethodV1>
impl RequestsTrait for Proxy<ZwpTabletManagerV2>
[src]
impl RequestsTrait for Proxy<ZwpTabletManagerV2>
fn get_tablet_seat(
&self,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<ZwpTabletSeatV2>, ()>
[src]
fn get_tablet_seat(
&self,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<ZwpTabletSeatV2>, ()>
get the tablet seat Read more
fn destroy(&self)
[src]
fn destroy(&self)
release the memory for the tablet manager object Read more
impl RequestsTrait for Proxy<ZwpTabletPadV2>
[src]
impl RequestsTrait for Proxy<ZwpTabletPadV2>
fn set_feedback(&self, button: u32, description: String, serial: u32)
[src]
fn set_feedback(&self, button: u32, description: String, serial: u32)
set compositor feedback Read more
fn destroy(&self)
[src]
fn destroy(&self)
destroy the pad object Read more
impl RequestsTrait for Proxy<ZwpTextInputManagerV1>
[src]
impl RequestsTrait for Proxy<ZwpTextInputManagerV1>
fn create_text_input(&self) -> Result<NewProxy<ZwpTextInputV1>, ()>
[src]
fn create_text_input(&self) -> Result<NewProxy<ZwpTextInputV1>, ()>
create text input Read more
impl RequestsTrait for Proxy<ZwpTabletSeatV1>
[src]
impl RequestsTrait for Proxy<ZwpTabletSeatV1>
impl RequestsTrait for Proxy<ZwpXwaylandKeyboardGrabManagerV1>
[src]
impl RequestsTrait for Proxy<ZwpXwaylandKeyboardGrabManagerV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the keyboard grab manager Read more
fn grab_keyboard(
&self,
surface: &Proxy<WlSurface>,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<ZwpXwaylandKeyboardGrabV1>, ()>
[src]
fn grab_keyboard(
&self,
surface: &Proxy<WlSurface>,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<ZwpXwaylandKeyboardGrabV1>, ()>
grab the keyboard to a surface Read more
impl RequestsTrait for Proxy<ZxdgOutputManagerV1>
[src]
impl RequestsTrait for Proxy<ZxdgOutputManagerV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_output_manager object Read more
fn get_xdg_output(
&self,
output: &Proxy<WlOutput>
) -> Result<NewProxy<ZxdgOutputV1>, ()>
[src]
fn get_xdg_output(
&self,
output: &Proxy<WlOutput>
) -> Result<NewProxy<ZxdgOutputV1>, ()>
create an xdg output from a wl_output Read more
impl RequestsTrait for Proxy<ZxdgImportedV2>
[src]
impl RequestsTrait for Proxy<ZxdgImportedV2>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_imported object Read more
fn set_parent_of(&self, surface: &Proxy<WlSurface>)
[src]
fn set_parent_of(&self, surface: &Proxy<WlSurface>)
set as the parent of some surface Read more
impl RequestsTrait for Proxy<ZwpRelativePointerManagerV1>
[src]
impl RequestsTrait for Proxy<ZwpRelativePointerManagerV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the relative pointer manager object Read more
fn get_relative_pointer(
&self,
pointer: &Proxy<WlPointer>
) -> Result<NewProxy<ZwpRelativePointerV1>, ()>
[src]
fn get_relative_pointer(
&self,
pointer: &Proxy<WlPointer>
) -> Result<NewProxy<ZwpRelativePointerV1>, ()>
get a relative pointer object Read more
impl RequestsTrait for Proxy<ZwpPointerGesturesV1>
[src]
impl RequestsTrait for Proxy<ZwpPointerGesturesV1>
fn get_swipe_gesture(
&self,
pointer: &Proxy<WlPointer>
) -> Result<NewProxy<ZwpPointerGestureSwipeV1>, ()>
[src]
fn get_swipe_gesture(
&self,
pointer: &Proxy<WlPointer>
) -> Result<NewProxy<ZwpPointerGestureSwipeV1>, ()>
get swipe gesture Read more
fn get_pinch_gesture(
&self,
pointer: &Proxy<WlPointer>
) -> Result<NewProxy<ZwpPointerGesturePinchV1>, ()>
[src]
fn get_pinch_gesture(
&self,
pointer: &Proxy<WlPointer>
) -> Result<NewProxy<ZwpPointerGesturePinchV1>, ()>
get pinch gesture Read more
impl RequestsTrait for Proxy<ZxdgSurfaceV6>
[src]
impl RequestsTrait for Proxy<ZxdgSurfaceV6>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_surface Read more
fn get_toplevel(&self) -> Result<NewProxy<ZxdgToplevelV6>, ()>
[src]
fn get_toplevel(&self) -> Result<NewProxy<ZxdgToplevelV6>, ()>
assign the xdg_toplevel surface role Read more
fn get_popup(
&self,
parent: &Proxy<ZxdgSurfaceV6>,
positioner: &Proxy<ZxdgPositionerV6>
) -> Result<NewProxy<ZxdgPopupV6>, ()>
[src]
fn get_popup(
&self,
parent: &Proxy<ZxdgSurfaceV6>,
positioner: &Proxy<ZxdgPositionerV6>
) -> Result<NewProxy<ZxdgPopupV6>, ()>
assign the xdg_popup surface role Read more
fn set_window_geometry(&self, x: i32, y: i32, width: i32, height: i32)
[src]
fn set_window_geometry(&self, x: i32, y: i32, width: i32, height: i32)
set the new window geometry Read more
fn ack_configure(&self, serial: u32)
[src]
fn ack_configure(&self, serial: u32)
ack a configure event Read more
impl RequestsTrait for Proxy<ZwpTabletSeatV2>
[src]
impl RequestsTrait for Proxy<ZwpTabletSeatV2>
impl RequestsTrait for Proxy<ZwpXwaylandKeyboardGrabV1>
[src]
impl RequestsTrait for Proxy<ZwpXwaylandKeyboardGrabV1>
impl RequestsTrait for Proxy<ZwpTabletPadRingV2>
[src]
impl RequestsTrait for Proxy<ZwpTabletPadRingV2>
fn set_feedback(&self, description: String, serial: u32)
[src]
fn set_feedback(&self, description: String, serial: u32)
set compositor feedback Read more
fn destroy(&self)
[src]
fn destroy(&self)
destroy the ring object Read more
impl RequestsTrait for Proxy<ZxdgToplevelV6>
[src]
impl RequestsTrait for Proxy<ZxdgToplevelV6>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_toplevel Read more
fn set_parent(&self, parent: Option<&Proxy<ZxdgToplevelV6>>)
[src]
fn set_parent(&self, parent: Option<&Proxy<ZxdgToplevelV6>>)
set the parent of this surface Read more
fn set_title(&self, title: String)
[src]
fn set_title(&self, title: String)
set surface title Read more
fn set_app_id(&self, app_id: String)
[src]
fn set_app_id(&self, app_id: String)
set application ID Read more
show the window menu Read more
fn _move(&self, seat: &Proxy<WlSeat>, serial: u32)
[src]
fn _move(&self, seat: &Proxy<WlSeat>, serial: u32)
start an interactive move Read more
fn resize(&self, seat: &Proxy<WlSeat>, serial: u32, edges: u32)
[src]
fn resize(&self, seat: &Proxy<WlSeat>, serial: u32, edges: u32)
start an interactive resize Read more
fn set_max_size(&self, width: i32, height: i32)
[src]
fn set_max_size(&self, width: i32, height: i32)
set the maximum size Read more
fn set_min_size(&self, width: i32, height: i32)
[src]
fn set_min_size(&self, width: i32, height: i32)
set the minimum size Read more
fn set_maximized(&self)
[src]
fn set_maximized(&self)
maximize the window Read more
fn unset_maximized(&self)
[src]
fn unset_maximized(&self)
unmaximize the window Read more
fn set_fullscreen(&self, output: Option<&Proxy<WlOutput>>)
[src]
fn set_fullscreen(&self, output: Option<&Proxy<WlOutput>>)
set the window as fullscreen on a monitor Read more
fn unset_fullscreen(&self)
[src]
fn unset_fullscreen(&self)
fn set_minimized(&self)
[src]
fn set_minimized(&self)
set the window as minimized Read more
impl RequestsTrait for Proxy<ZxdgOutputV1>
[src]
impl RequestsTrait for Proxy<ZxdgOutputV1>
impl RequestsTrait for Proxy<ZwpConfinedPointerV1>
[src]
impl RequestsTrait for Proxy<ZwpConfinedPointerV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the confined pointer object Read more
fn set_region(&self, region: Option<&Proxy<WlRegion>>)
[src]
fn set_region(&self, region: Option<&Proxy<WlRegion>>)
set a new confine region Read more
impl RequestsTrait for Proxy<ZxdgPopupV6>
[src]
impl RequestsTrait for Proxy<ZxdgPopupV6>
fn destroy(&self)
[src]
fn destroy(&self)
remove xdg_popup interface Read more
fn grab(&self, seat: &Proxy<WlSeat>, serial: u32)
[src]
fn grab(&self, seat: &Proxy<WlSeat>, serial: u32)
make the popup take an explicit grab Read more
impl RequestsTrait for Proxy<ZwpFullscreenShellModeFeedbackV1>
[src]
impl RequestsTrait for Proxy<ZwpFullscreenShellModeFeedbackV1>
impl RequestsTrait for Proxy<ZxdgExporterV2>
[src]
impl RequestsTrait for Proxy<ZxdgExporterV2>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_exporter object Read more
fn export_toplevel(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZxdgExportedV2>, ()>
[src]
fn export_toplevel(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZxdgExportedV2>, ()>
export a toplevel surface Read more
impl RequestsTrait for Proxy<ZwpRelativePointerV1>
[src]
impl RequestsTrait for Proxy<ZwpRelativePointerV1>
impl RequestsTrait for Proxy<ZwpPointerGestureSwipeV1>
[src]
impl RequestsTrait for Proxy<ZwpPointerGestureSwipeV1>
impl RequestsTrait for Proxy<ZxdgImportedV1>
[src]
impl RequestsTrait for Proxy<ZxdgImportedV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_imported object Read more
fn set_parent_of(&self, surface: &Proxy<WlSurface>)
[src]
fn set_parent_of(&self, surface: &Proxy<WlSurface>)
set as the parent of some surface Read more
impl RequestsTrait for Proxy<ZwpInputPanelSurfaceV1>
[src]
impl RequestsTrait for Proxy<ZwpInputPanelSurfaceV1>
fn set_toplevel(&self, output: &Proxy<WlOutput>, position: u32)
[src]
fn set_toplevel(&self, output: &Proxy<WlOutput>, position: u32)
set the surface type as a keyboard Read more
fn set_overlay_panel(&self)
[src]
fn set_overlay_panel(&self)
set the surface type as an overlay panel Read more
impl RequestsTrait for Proxy<ZxdgShellV6>
[src]
impl RequestsTrait for Proxy<ZxdgShellV6>
fn destroy(&self)
[src]
fn destroy(&self)
destroy xdg_shell Read more
fn create_positioner(&self) -> Result<NewProxy<ZxdgPositionerV6>, ()>
[src]
fn create_positioner(&self) -> Result<NewProxy<ZxdgPositionerV6>, ()>
create a positioner object Read more
fn get_xdg_surface(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZxdgSurfaceV6>, ()>
[src]
fn get_xdg_surface(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZxdgSurfaceV6>, ()>
create a shell surface from a surface Read more
fn pong(&self, serial: u32)
[src]
fn pong(&self, serial: u32)
respond to a ping event Read more
impl RequestsTrait for Proxy<ZwpTabletPadStripV2>
[src]
impl RequestsTrait for Proxy<ZwpTabletPadStripV2>
fn set_feedback(&self, description: String, serial: u32)
[src]
fn set_feedback(&self, description: String, serial: u32)
set compositor feedback Read more
fn destroy(&self)
[src]
fn destroy(&self)
destroy the strip object Read more
impl RequestsTrait for Proxy<ZxdgImporterV2>
[src]
impl RequestsTrait for Proxy<ZxdgImporterV2>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_importer object Read more
fn import_toplevel(
&self,
handle: String
) -> Result<NewProxy<ZxdgImportedV2>, ()>
[src]
fn import_toplevel(
&self,
handle: String
) -> Result<NewProxy<ZxdgImportedV2>, ()>
import a toplevel surface Read more
impl RequestsTrait for Proxy<ZwpLockedPointerV1>
[src]
impl RequestsTrait for Proxy<ZwpLockedPointerV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the locked pointer object Read more
fn set_cursor_position_hint(&self, surface_x: f64, surface_y: f64)
[src]
fn set_cursor_position_hint(&self, surface_x: f64, surface_y: f64)
set the pointer cursor position hint Read more
fn set_region(&self, region: Option<&Proxy<WlRegion>>)
[src]
fn set_region(&self, region: Option<&Proxy<WlRegion>>)
set a new lock region Read more
impl RequestsTrait for Proxy<ZwpFullscreenShellV1>
[src]
impl RequestsTrait for Proxy<ZwpFullscreenShellV1>
fn release(&self)
[src]
fn release(&self)
release the wl_fullscreen_shell interface Read more
fn present_surface(
&self,
surface: Option<&Proxy<WlSurface>>,
method: u32,
output: Option<&Proxy<WlOutput>>
)
[src]
fn present_surface(
&self,
surface: Option<&Proxy<WlSurface>>,
method: u32,
output: Option<&Proxy<WlOutput>>
)
present surface for display Read more
fn present_surface_for_mode(
&self,
surface: &Proxy<WlSurface>,
output: &Proxy<WlOutput>,
framerate: i32
) -> Result<NewProxy<ZwpFullscreenShellModeFeedbackV1>, ()>
[src]
fn present_surface_for_mode(
&self,
surface: &Proxy<WlSurface>,
output: &Proxy<WlOutput>,
framerate: i32
) -> Result<NewProxy<ZwpFullscreenShellModeFeedbackV1>, ()>
present surface for display at a particular mode Read more
impl RequestsTrait for Proxy<XdgShell>
[src]
impl RequestsTrait for Proxy<XdgShell>
fn destroy(&self)
[src]
fn destroy(&self)
destroy xdg_shell Read more
fn use_unstable_version(&self, version: i32)
[src]
fn use_unstable_version(&self, version: i32)
enable use of this unstable version Read more
fn get_xdg_surface(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<XdgSurface>, ()>
[src]
fn get_xdg_surface(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<XdgSurface>, ()>
create a shell surface from a surface Read more
fn get_xdg_popup(
&self,
surface: &Proxy<WlSurface>,
parent: &Proxy<WlSurface>,
seat: &Proxy<WlSeat>,
serial: u32,
x: i32,
y: i32
) -> Result<NewProxy<XdgPopup>, ()>
[src]
fn get_xdg_popup(
&self,
surface: &Proxy<WlSurface>,
parent: &Proxy<WlSurface>,
seat: &Proxy<WlSeat>,
serial: u32,
x: i32,
y: i32
) -> Result<NewProxy<XdgPopup>, ()>
create a popup for a surface Read more
fn pong(&self, serial: u32)
[src]
fn pong(&self, serial: u32)
respond to a ping event Read more
impl RequestsTrait for Proxy<ZwpTabletToolV1>
[src]
impl RequestsTrait for Proxy<ZwpTabletToolV1>
fn set_cursor(
&self,
serial: u32,
surface: Option<&Proxy<WlSurface>>,
hotspot_x: i32,
hotspot_y: i32
)
[src]
fn set_cursor(
&self,
serial: u32,
surface: Option<&Proxy<WlSurface>>,
hotspot_x: i32,
hotspot_y: i32
)
set the tablet tool's surface Read more
fn destroy(&self)
[src]
fn destroy(&self)
destroy the tool object Read more
impl RequestsTrait for Proxy<ZxdgExporterV1>
[src]
impl RequestsTrait for Proxy<ZxdgExporterV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the xdg_exporter object Read more
fn export(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZxdgExportedV1>, ()>
[src]
fn export(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZxdgExportedV1>, ()>
export a surface Read more
impl RequestsTrait for Proxy<ZwpIdleInhibitManagerV1>
[src]
impl RequestsTrait for Proxy<ZwpIdleInhibitManagerV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the idle inhibitor object Read more
fn create_inhibitor(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZwpIdleInhibitorV1>, ()>
[src]
fn create_inhibitor(
&self,
surface: &Proxy<WlSurface>
) -> Result<NewProxy<ZwpIdleInhibitorV1>, ()>
create a new inhibitor object Read more
impl RequestsTrait for Proxy<ZwpTabletPadGroupV2>
[src]
impl RequestsTrait for Proxy<ZwpTabletPadGroupV2>
impl RequestsTrait for Proxy<ZwpKeyboardShortcutsInhibitManagerV1>
[src]
impl RequestsTrait for Proxy<ZwpKeyboardShortcutsInhibitManagerV1>
fn destroy(&self)
[src]
fn destroy(&self)
destroy the keyboard shortcuts inhibitor object Read more
fn inhibit_shortcuts(
&self,
surface: &Proxy<WlSurface>,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<ZwpKeyboardShortcutsInhibitorV1>, ()>
[src]
fn inhibit_shortcuts(
&self,
surface: &Proxy<WlSurface>,
seat: &Proxy<WlSeat>
) -> Result<NewProxy<ZwpKeyboardShortcutsInhibitorV1>, ()>
create a new keyboard shortcuts inhibitor object Read more
impl RequestsTrait for Proxy<XdgSurface>
[src]
impl RequestsTrait for Proxy<XdgSurface>
fn destroy(&self)
[src]
fn destroy(&self)
Destroy the xdg_surface Read more
fn set_parent(&self, parent: Option<&Proxy<XdgSurface>>)
[src]
fn set_parent(&self, parent: Option<&Proxy<XdgSurface>>)
set the parent of this surface Read more
fn set_title(&self, title: String)
[src]
fn set_title(&self, title: String)
set surface title Read more
fn set_app_id(&self, app_id: String)
[src]
fn set_app_id(&self, app_id: String)
set application ID Read more
show the window menu Read more
fn _move(&self, seat: &Proxy<WlSeat>, serial: u32)
[src]
fn _move(&self, seat: &Proxy<WlSeat>, serial: u32)
start an interactive move Read more
fn resize(&self, seat: &Proxy<WlSeat>, serial: u32, edges: u32)
[src]
fn resize(&self, seat: &Proxy<WlSeat>, serial: u32, edges: u32)
start an interactive resize Read more
fn ack_configure(&self, serial: u32)
[src]
fn ack_configure(&self, serial: u32)
ack a configure event Read more
fn set_window_geometry(&self, x: i32, y: i32, width: i32, height: i32)
[src]
fn set_window_geometry(&self, x: i32, y: i32, width: i32, height: i32)
set the new window geometry Read more
fn set_maximized(&self)
[src]
fn set_maximized(&self)
maximize the window Read more
fn unset_maximized(&self)
[src]
fn unset_maximized(&self)
unmaximize the window Read more
fn set_fullscreen(&self, output: Option<&Proxy<WlOutput>>)
[src]
fn set_fullscreen(&self, output: Option<&Proxy<WlOutput>>)
set the window as fullscreen on a monitor Read more
fn unset_fullscreen(&self)
[src]
fn unset_fullscreen(&self)
fn set_minimized(&self)
[src]
fn set_minimized(&self)
set the window as minimized Read more
impl RequestsTrait for Proxy<ZxdgExportedV2>
[src]
impl RequestsTrait for Proxy<ZxdgExportedV2>
impl RequestsTrait for Proxy<ZwpTabletToolV2>
[src]
impl RequestsTrait for Proxy<ZwpTabletToolV2>
fn set_cursor(
&self,
serial: u32,
surface: Option<&Proxy<WlSurface>>,
hotspot_x: i32,
hotspot_y: i32
)
[src]
fn set_cursor(
&self,
serial: u32,
surface: Option<&Proxy<WlSurface>>,
hotspot_x: i32,
hotspot_y: i32
)
set the tablet tool's surface Read more
fn destroy(&self)
[src]
fn destroy(&self)
destroy the tool object Read more
impl RequestsTrait for Proxy<XdgPopup>
[src]
impl RequestsTrait for Proxy<XdgPopup>