mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 03:02:28 +03:00
chore(docs): update platform-specific documentation notes
This commit is contained in:
parent
28dd9adb26
commit
28a67fdb60
@ -457,10 +457,6 @@ impl<R: Runtime> Window<R> {
|
||||
/// Returns the monitor on which the window currently resides.
|
||||
///
|
||||
/// Returns None if current monitor can't be detected.
|
||||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - **Linux:** Unsupported
|
||||
pub fn current_monitor(&self) -> crate::Result<Option<Monitor>> {
|
||||
self
|
||||
.window
|
||||
@ -473,10 +469,6 @@ impl<R: Runtime> Window<R> {
|
||||
/// Returns the primary monitor of the system.
|
||||
///
|
||||
/// Returns None if it can't identify any monitor as a primary one.
|
||||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - **Linux:** Unsupported
|
||||
pub fn primary_monitor(&self) -> crate::Result<Option<Monitor>> {
|
||||
self
|
||||
.window
|
||||
@ -487,10 +479,6 @@ impl<R: Runtime> Window<R> {
|
||||
}
|
||||
|
||||
/// Returns the list of all the monitors available on the system.
|
||||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - **Linux:** Unsupported
|
||||
pub fn available_monitors(&self) -> crate::Result<Vec<Monitor>> {
|
||||
self
|
||||
.window
|
||||
@ -547,6 +535,7 @@ impl<R: Runtime> Window<R> {
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - **macOS:** `None` has no effect.
|
||||
/// - **Linux:** Urgency levels have the same effect.
|
||||
pub fn request_user_attention(
|
||||
&self,
|
||||
request_type: Option<UserAttentionType>,
|
||||
|
@ -514,6 +514,7 @@ class WindowManager extends WebviewWindowHandle {
|
||||
* #### Platform-specific
|
||||
*
|
||||
* - **macOS:** `null` has no effect.
|
||||
* - **Linux:** Urgency levels have the same effect.
|
||||
*
|
||||
* @param resizable
|
||||
* @returns A promise indicating the success or failure of the operation.
|
||||
|
Loading…
Reference in New Issue
Block a user