[−][src]Enum native_windows_gui::ControlHandle
Inner handle type used internally by each control.
Variants
Hwnd(HWND)(Parent menu / Menu). Parent menu must be there as WINAPI does not have any function to fetch the parent
(Parent window / Menu).
(Parent menu / Unique ID).
Notice control
Timer control
SystemTray(HWND)System tray control
Implementations
impl ControlHandle[src]
pub fn destroy(&mut self)[src]
Destroy the underlying object and set the handle to NoHandle
Can be used to "reset" a UI component
pub fn blank(&self) -> bool[src]
pub fn hwnd(&self) -> Option<HWND>[src]
pub fn hmenu(&self) -> Option<(HMENU, HMENU)>[src]
pub fn pop_hmenu(&self) -> Option<(HWND, HMENU)>[src]
pub fn hmenu_item(&self) -> Option<(HMENU, u32)>[src]
pub fn timer(&self) -> Option<(HWND, u32)>[src]
pub fn notice(&self) -> Option<(HWND, u32)>[src]
pub fn tray(&self) -> Option<HWND>[src]
Trait Implementations
impl Clone for ControlHandle[src]
fn clone(&self) -> ControlHandle[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ControlHandle[src]
impl Debug for ControlHandle[src]
impl Default for ControlHandle[src]
fn default() -> ControlHandle[src]
impl Eq for ControlHandle[src]
impl<'_> From<&'_ Button> for ControlHandle[src]
impl<'_> From<&'_ CheckBox> for ControlHandle[src]
impl<'_, D: Display + Default> From<&'_ ComboBox<D>> for ControlHandle[src]
impl<'_> From<&'_ ControlHandle> for ControlHandle[src]
fn from(control: &ControlHandle) -> Self[src]
impl<'_> From<&'_ DatePicker> for ControlHandle[src]
fn from(control: &DatePicker) -> Self[src]
impl<'_> From<&'_ ExternCanvas> for ControlHandle[src]
fn from(control: &ExternCanvas) -> Self[src]
impl<'_> From<&'_ Frame> for ControlHandle[src]
impl<'_> From<&'_ ImageFrame> for ControlHandle[src]
fn from(control: &ImageFrame) -> Self[src]
impl<'_> From<&'_ Label> for ControlHandle[src]
impl<'_, D: Display + Default> From<&'_ ListBox<D>> for ControlHandle[src]
impl<'_> From<&'_ ListView> for ControlHandle[src]
impl<'_> From<&'_ Menu> for ControlHandle[src]
impl<'_> From<&'_ MenuItem> for ControlHandle[src]
impl<'_> From<&'_ MenuSeparator> for ControlHandle[src]
fn from(control: &MenuSeparator) -> Self[src]
impl<'_> From<&'_ MessageWindow> for ControlHandle[src]
fn from(control: &MessageWindow) -> Self[src]
impl<'_> From<&'_ Notice> for ControlHandle[src]
impl<'_> From<&'_ ProgressBar> for ControlHandle[src]
fn from(control: &ProgressBar) -> Self[src]
impl<'_> From<&'_ RadioButton> for ControlHandle[src]
fn from(control: &RadioButton) -> Self[src]
impl<'_> From<&'_ RichTextBox> for ControlHandle[src]
fn from(control: &RichTextBox) -> Self[src]
impl<'_> From<&'_ ScrollBar> for ControlHandle[src]
impl<'_> From<&'_ StatusBar> for ControlHandle[src]
impl<'_> From<&'_ Tab> for ControlHandle[src]
impl<'_> From<&'_ TabsContainer> for ControlHandle[src]
fn from(control: &TabsContainer) -> Self[src]
impl<'_> From<&'_ TextBox> for ControlHandle[src]
impl<'_> From<&'_ TextInput> for ControlHandle[src]
impl<'_> From<&'_ Timer> for ControlHandle[src]
impl<'_> From<&'_ Tooltip> for ControlHandle[src]
impl<'_> From<&'_ TrackBar> for ControlHandle[src]
impl<'_> From<&'_ TrayNotification> for ControlHandle[src]
fn from(control: &TrayNotification) -> Self[src]
impl<'_> From<&'_ TreeView> for ControlHandle[src]
impl<'_> From<&'_ Window> for ControlHandle[src]
impl PartialEq<Button> for ControlHandle[src]
impl PartialEq<CheckBox> for ControlHandle[src]
impl<D: Display + Default> PartialEq<ComboBox<D>> for ControlHandle[src]
fn eq(&self, other: &ComboBox<D>) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for ControlHandle[src]
impl PartialEq<ControlHandle> for Window[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for Tooltip[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for TrackBar[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for Menu[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for MenuItem[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for MenuSeparator[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<D: Display + Default> PartialEq<ControlHandle> for ComboBox<D>[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<D: Display + Default> PartialEq<ControlHandle> for ListBox<D>[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for TabsContainer[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for Tab[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for DatePicker[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for Button[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for ProgressBar[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for TreeView[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for TrayNotification[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for MessageWindow[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for Timer[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for Notice[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for ListView[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for ExternCanvas[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for Frame[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for RichTextBox[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for ImageFrame[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for ScrollBar[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for Label[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for CheckBox[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for RadioButton[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for TextInput[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for TextBox[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ControlHandle> for StatusBar[src]
fn eq(&self, other: &ControlHandle) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<DatePicker> for ControlHandle[src]
impl PartialEq<ExternCanvas> for ControlHandle[src]
fn eq(&self, other: &ExternCanvas) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<Frame> for ControlHandle[src]
impl PartialEq<ImageFrame> for ControlHandle[src]
impl PartialEq<Label> for ControlHandle[src]
impl<D: Display + Default> PartialEq<ListBox<D>> for ControlHandle[src]
impl PartialEq<ListView> for ControlHandle[src]
impl PartialEq<Menu> for ControlHandle[src]
impl PartialEq<MenuItem> for ControlHandle[src]
impl PartialEq<MenuSeparator> for ControlHandle[src]
fn eq(&self, other: &MenuSeparator) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<MessageWindow> for ControlHandle[src]
fn eq(&self, other: &MessageWindow) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<Notice> for ControlHandle[src]
impl PartialEq<ProgressBar> for ControlHandle[src]
fn eq(&self, other: &ProgressBar) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<RadioButton> for ControlHandle[src]
fn eq(&self, other: &RadioButton) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<RichTextBox> for ControlHandle[src]
fn eq(&self, other: &RichTextBox) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<ScrollBar> for ControlHandle[src]
impl PartialEq<StatusBar> for ControlHandle[src]
impl PartialEq<Tab> for ControlHandle[src]
impl PartialEq<TabsContainer> for ControlHandle[src]
fn eq(&self, other: &TabsContainer) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<TextBox> for ControlHandle[src]
impl PartialEq<TextInput> for ControlHandle[src]
impl PartialEq<Timer> for ControlHandle[src]
impl PartialEq<Tooltip> for ControlHandle[src]
impl PartialEq<TrackBar> for ControlHandle[src]
impl PartialEq<TrayNotification> for ControlHandle[src]
fn eq(&self, other: &TrayNotification) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl PartialEq<TreeView> for ControlHandle[src]
impl PartialEq<Window> for ControlHandle[src]
Auto Trait Implementations
impl RefUnwindSafe for ControlHandle
impl !Send for ControlHandle
impl !Sync for ControlHandle
impl Unpin for ControlHandle
impl UnwindSafe for ControlHandle
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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
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>,