pub trait WindowPositionTrait {
// Required methods
fn set_render_at_bottom(
&self,
render_at_bottom: bool,
) -> Result<(), ObsError>;
fn get_render_at_bottom(&self) -> Result<bool, ObsError>;
fn set_pos(&self, x: i32, y: i32) -> Result<(), ObsError>;
fn set_size(&self, width: u32, height: u32) -> Result<(), ObsError>;
fn get_pos(&self) -> Result<(i32, i32), ObsError>;
fn get_size(&self) -> Result<(u32, u32), ObsError>;
}Required Methods§
Sourcefn set_render_at_bottom(&self, render_at_bottom: bool) -> Result<(), ObsError>
fn set_render_at_bottom(&self, render_at_bottom: bool) -> Result<(), ObsError>
If create_child is true, sets whether the window is rendered at the bottom of the Z order.
Otherwise, this function has no effect.
Sourcefn get_render_at_bottom(&self) -> Result<bool, ObsError>
fn get_render_at_bottom(&self) -> Result<bool, ObsError>
Returns true if the window is rendered at the bottom of the Z order. If create_child was false during creation, this function always returns false.