feat: add Window::is_resizable (#2171)
* feat: add `Window::is_resizable` * move it right after `set_resizable`
This commit is contained in:
parent
fa14863284
commit
daf0d6b9a7
10 changed files with 52 additions and 0 deletions
|
|
@ -669,6 +669,17 @@ impl Window {
|
|||
self.window.set_resizable(resizable)
|
||||
}
|
||||
|
||||
/// Gets the window's current resizable state.
|
||||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - **Wayland / X11:** Not implemented.
|
||||
/// - **iOS / Android / Web:** Unsupported.
|
||||
#[inline]
|
||||
pub fn is_resizable(&self) -> bool {
|
||||
self.window.is_resizable()
|
||||
}
|
||||
|
||||
/// Sets the window to minimized or back
|
||||
///
|
||||
/// ## Platform-specific
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue