Add Window::title getter on Windows and macOS
This commit is contained in:
parent
a7a7cc64cd
commit
08f9e374e0
11 changed files with 64 additions and 7 deletions
|
|
@ -143,6 +143,10 @@ extern_methods!(
|
|||
#[sel(setTitle:)]
|
||||
pub fn setTitle(&self, title: &NSString);
|
||||
|
||||
pub fn title_(&self) -> Id<NSString, Shared> {
|
||||
unsafe { msg_send_id![self, title] }
|
||||
}
|
||||
|
||||
#[sel(setReleasedWhenClosed:)]
|
||||
pub fn setReleasedWhenClosed(&self, val: bool);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue