[][src]Struct newt::components::Checkbox

pub struct Checkbox { /* fields omitted */ }

Methods

impl Checkbox[src]

pub fn new(
    left: i32,
    top: i32,
    text: &str,
    def_value: Option<char>,
    seq: Option<&[char]>
) -> Checkbox
[src]

pub fn get_value(&self) -> char[src]

pub fn set_value(&mut self, value: char)[src]

pub fn set_flags(&mut self, flags: i32, sense: FlagsSense)[src]

Trait Implementations

impl Component for Checkbox[src]

fn takes_focus(&mut self, value: bool)[src]

fn get_position(&self) -> (i32, i32)[src]

fn get_size(&self) -> (i32, i32)[src]

impl<Rhs: Component> PartialEq<Rhs> for Checkbox[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<Box<dyn Component + 'static>> for Checkbox[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<ExitReason> for Checkbox[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Drop for Checkbox[src]

Auto Trait Implementations

impl !Send for Checkbox

impl !Sync for Checkbox

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.