// SPDX-License-Identifier: MPL-2.0
//! A user input form.
use crate::prelude::*;
impl Ui {
/// Creates a new [`Form`].
pub fn create_form<'ui>(&'ui self) -> Result<&'ui mut Form, crate::Error> {
unsafe { call_libui_new_fn!(ui: self, fn: uiNewForm() -> Form) }
}
}
/// A user input form.
#[subcontrol(handle = "uiForm")]
pub struct Form;