/// Creates a new text settings handler instance.
///
/// `initial_*` contain the desired initial values to be served.  Usually
/// you want the defaults.
Creates a new text settings handler instance.
`initial_*` contain the desired initial values to be served.  Usually
you want the defaults.
Creates a new text settings handler instance . ` initial_ * ` contain the desired initial values to be served . Usually you want the defaults .
pub fn new(
        initial_keymap: Option<finput::KeymapId>,
        initial_autorepeat: Option<autorepeater::Settings>,
    ) -> Rc<Self> {
        Rc::new(Self {
            keymap_id: RefCell::new(initial_keymap),
            autorepeat_settings: RefCell::new(initial_autorepeat),
        })
    }
pub fn new ( initial_keymap : Option < finput :: KeymapId > , initial_autorepeat : Option < autorepeater :: Settings > , ) -> Rc < Self > { Rc :: new ( Self { keymap_id : RefCell :: new ( initial_keymap ) , autorepeat_settings : RefCell :: new ( initial_autorepeat ) , } ) }
Creates a new text settings handler instance.
Creates a new text settings handler instance .
initial_keymap
Option<finput::KeymapId>
initial_autorepeat
Option<autorepeater::Settings>