Trait penrose::core::xconnection::XClientConfig [−][src]
pub trait XClientConfig {
fn configure_client(&self, id: Xid, data: &[ClientConfig]) -> Result<()>;
fn set_client_attributes(&self, id: Xid, data: &[ClientAttr]) -> Result<()>;
fn get_window_attributes(&self, id: Xid) -> Result<WindowAttributes>;
fn position_client(
&self,
id: Xid,
r: Region,
border: u32,
stack_above: bool
) -> Result<()> { ... }
fn raise_client(&self, id: Xid) -> Result<()> { ... }
fn set_client_border_color(&self, id: Xid, color: Color) -> Result<()> { ... }
}
Expand description
Modifying X client config and attributes
Required methods
fn configure_client(&self, id: Xid, data: &[ClientConfig]) -> Result<()>
fn configure_client(&self, id: Xid, data: &[ClientConfig]) -> Result<()>
Configure the on screen appearance of a client window
fn set_client_attributes(&self, id: Xid, data: &[ClientAttr]) -> Result<()>
fn set_client_attributes(&self, id: Xid, data: &[ClientAttr]) -> Result<()>
Set client attributes such as event masks, border color etc
fn get_window_attributes(&self, id: Xid) -> Result<WindowAttributes>
fn get_window_attributes(&self, id: Xid) -> Result<WindowAttributes>
Get the WindowAttributes for this client
Provided methods
Reposition the window identified by ‘id’ to the specifed region
fn raise_client(&self, id: Xid) -> Result<()>
fn raise_client(&self, id: Xid) -> Result<()>
Raise the window to the top of the stack so it renders above peers