Struct tauri_nspanel::raw_nspanel::RawNSPanel
source · pub struct RawNSPanel;
Implementations§
source§impl RawNSPanel
impl RawNSPanel
pub fn show(&self)
pub fn is_visible(&self) -> bool
pub fn make_key_window(&self)
pub fn resign_key_window(&self)
pub fn make_key_and_order_front(&self, sender: Option<id>)
pub fn order_front_regardless(&self)
pub fn order_out(&self, sender: Option<id>)
pub fn content_view(&self) -> id
pub fn make_first_responder(&self, sender: Option<id>)
pub fn set_level(&self, level: i32)
pub fn set_alpha_value(&self, value: f64)
pub fn set_content_size(&self, width: f64, height: f64)
pub fn set_style_mask(&self, style_mask: i32)
pub fn set_collection_behaviour(&self, behaviour: NSWindowCollectionBehavior)
pub fn set_delegate<T>(&self, delegate: Id<T>)
pub fn released_when_closed(&self, flag: bool)
pub fn close(&self)
pub fn handle(&mut self) -> ShareId<Self>
sourcepub fn from_window<R: Runtime>(window: Window<R>) -> Id<Self>
pub fn from_window<R: Runtime>(window: Window<R>) -> Id<Self>
Create an NSPanel from a Tauri window
Trait Implementations§
source§impl INSObject for RawNSPanel
impl INSObject for RawNSPanel
source§impl Message for RawNSPanel
impl Message for RawNSPanel
source§unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A
) -> Result<R, MessageError>
unsafe fn send_message<A, R>( &self, sel: Sel, args: A ) -> Result<R, MessageError>
Sends a message to self with the given selector and arguments. Read more
source§fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
Verifies that the argument and return types match the encoding of the
method for the given selector. Read more
impl Send for RawNSPanel
impl Sync for RawNSPanel
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more