[−][src]Struct fltk::dialog::HelpDialog
Creates a help dialog
Implementations
impl HelpDialog
[src]
pub fn default() -> HelpDialog
[src]
Creates a default (size and location) help dialog
pub fn new(x: i32, y: i32, w: i32, h: i32) -> HelpDialog
[src]
Creates a new Help dialog with position(x, y) and size(w, h)
pub fn hide(&mut self)
[src]
Hides the help dialog
pub fn load(&mut self, file: &Path) -> Result<(), FltkError>
[src]
Loads a file for the help dialog
pub fn position(&mut self, x: i32, y: i32)
[src]
Sets the position of the help dialog
pub fn resize(&mut self, x: i32, y: i32, w: i32, h: i32)
[src]
Resizes the help dialog
pub fn show(&mut self)
[src]
Shows the help dialog
pub fn set_text_size(&mut self, s: u32)
[src]
Sets the text size
pub fn text_size(&mut self) -> u32
[src]
Returns the text size
pub fn set_value(&mut self, f: &str)
[src]
Sets the value of the help dialog
pub fn value(&self) -> Option<String>
[src]
Returns the value of the help dialog
pub fn visible(&mut self) -> bool
[src]
Returs whether the help dialog is visible
pub fn width(&mut self) -> i32
[src]
Returns the width of the help dialog
pub fn height(&mut self) -> i32
[src]
Returns the height of the help dialog
pub fn x(&mut self) -> i32
[src]
Returns the x position of the help dialog
pub fn y(&mut self) -> i32
[src]
Returns the y position of the help dialog
Trait Implementations
impl Debug for HelpDialog
[src]
impl Drop for HelpDialog
[src]
Auto Trait Implementations
impl RefUnwindSafe for HelpDialog
impl !Send for HelpDialog
impl !Sync for HelpDialog
impl Unpin for HelpDialog
impl UnwindSafe for HelpDialog
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[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>,