[−][src]Struct newt::widgets::Radiobutton  
A Radiobutton widget.
Methods
impl Radiobutton[src]
pub fn new(
    left: i32, 
    top: i32, 
    text: &str, 
    is_default: bool, 
    prev_button: Option<&Radiobutton>
) -> Radiobutton[src]
left: i32,
top: i32,
text: &str,
is_default: bool,
prev_button: Option<&Radiobutton>
) -> Radiobutton
pub fn get_current(&self) -> Radiobutton[src]
pub fn set_current(&mut self)[src]
Trait Implementations
impl Component for Radiobutton[src]
fn co(&self) -> newtComponent[src]
impl WidgetFns for Radiobutton[src]
fn takes_focus(&mut self, value: bool)[src]
Allow the Widget to be focused when its parent [Form][form] is run. Read more
fn get_position(&self) -> (i32, i32)[src]
Get the position of the Widget's top left corner. Read more
fn get_size(&self) -> (i32, i32)[src]
Get the Widget's width and height. Read more
impl<Rhs: Component> PartialEq<Rhs> for Radiobutton[src]
fn eq(&self, other: &Rhs) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl PartialEq<Box<dyn Component + 'static>> for Radiobutton[src]
fn eq(&self, other: &Box<dyn Component>) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl PartialEq<ExitReason> for Radiobutton[src]
fn eq(&self, other: &ExitReason) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Drop for Radiobutton[src]
Auto Trait Implementations
impl !Sync for Radiobutton
impl !Send for Radiobutton
impl Unpin for Radiobutton
impl RefUnwindSafe for Radiobutton
impl UnwindSafe for Radiobutton
Blanket Implementations
impl<T> WidgetFns for T where
    T: Grid, [src]
T: Grid,
fn takes_focus(&mut Self, bool)[src]
fn get_position(&Self) -> (i32, i32)[src]
fn get_size(&Self) -> (i32, i32)[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,