Struct sixtyfps_rendering_backend_qt::native_widgets::NativeComboBox [−][src]
#[repr(C)]pub struct NativeComboBox { pub x: Property<f32>, pub y: Property<f32>, pub width: Property<f32>, pub height: Property<f32>, pub enabled: Property<bool>, pub pressed: Property<bool>, pub is_open: Property<bool>, pub current_value: Property<SharedString>, pub cached_rendering_data: CachedRenderingData, pub open_popup: Callback<VoidArg>, }
Fields
x: Property<f32>
y: Property<f32>
width: Property<f32>
height: Property<f32>
enabled: Property<bool>
pressed: Property<bool>
is_open: Property<bool>
current_value: Property<SharedString>
cached_rendering_data: CachedRenderingData
open_popup: Callback<VoidArg>
Implementations
impl NativeComboBox
[src]
impl NativeComboBox
[src]pub const FIELD_OFFSETS: NativeComboBoxFieldsOffsets
[src]
Return a struct containing the offset of for the fields of this struct
impl NativeComboBox
[src]
impl NativeComboBox
[src]pub fn x(self: Pin<&Self>) -> f32
[src]
pub fn y(self: Pin<&Self>) -> f32
[src]
pub fn width(self: Pin<&Self>) -> f32
[src]
pub fn height(self: Pin<&Self>) -> f32
[src]
pub fn enabled(self: Pin<&Self>) -> bool
[src]
pub fn pressed(self: Pin<&Self>) -> bool
[src]
pub fn is_open(self: Pin<&Self>) -> bool
[src]
pub fn current_value(self: Pin<&Self>) -> SharedString
[src]
Trait Implementations
impl BuiltinItem for NativeComboBox
[src]
impl BuiltinItem for NativeComboBox
[src]fn name() -> &'static str
[src]
fn properties<Value: ValueType>(
) -> Vec<(&'static str, &'static dyn PropertyInfo<Self, Value>)>
[src]
) -> Vec<(&'static str, &'static dyn PropertyInfo<Self, Value>)>
fn fields<Value: ValueType>(
) -> Vec<(&'static str, &'static dyn FieldInfo<Self, Value>)>
[src]
) -> Vec<(&'static str, &'static dyn FieldInfo<Self, Value>)>
fn callbacks<Value: ValueType>(
) -> Vec<(&'static str, &'static dyn CallbackInfo<Self, Value>)>
[src]
) -> Vec<(&'static str, &'static dyn CallbackInfo<Self, Value>)>
impl Default for NativeComboBox
[src]
impl Default for NativeComboBox
[src]fn default() -> NativeComboBox
[src]
impl HasStaticVTable<ItemVTable> for NativeComboBox
[src]
impl HasStaticVTable<ItemVTable> for NativeComboBox
[src]fn static_vtable() -> &'static ItemVTable
[src]
impl Item for NativeComboBox
[src]
impl Item for NativeComboBox
[src]fn init(self: Pin<&Self>, _window: &ComponentWindow)
[src]
fn geometry(self: Pin<&Self>) -> Rect
[src]
fn layouting_info(self: Pin<&Self>, _window: &ComponentWindow) -> LayoutInfo
[src]
fn implicit_size(self: Pin<&Self>, _window: &ComponentWindow) -> Size
[src]
fn input_event_filter_before_children(
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
[src]
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
fn input_event(
self: Pin<&Self>,
event: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
[src]
self: Pin<&Self>,
event: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
fn key_event(
self: Pin<&Self>,
_: &KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
[src]
self: Pin<&Self>,
_: &KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
fn focus_event(self: Pin<&Self>, _: &FocusEvent, _window: &ComponentWindow)
[src]
fn render(self: Pin<&Self>, backend: &mut &mut dyn ItemRenderer)
[src]
impl ItemConsts for NativeComboBox
[src]
impl ItemConsts for NativeComboBox
[src]const cached_rendering_data_offset: FieldOffset<Self, CachedRenderingData>
[src]
impl<'__dummy_lifetime> Unpin for NativeComboBox where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
[src]
impl<'__dummy_lifetime> Unpin for NativeComboBox where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
[src]Auto Trait Implementations
impl !RefUnwindSafe for NativeComboBox
impl !RefUnwindSafe for NativeComboBox
impl !Send for NativeComboBox
impl !Send for NativeComboBox
impl !Sync for NativeComboBox
impl !Sync for NativeComboBox
impl !UnwindSafe for NativeComboBox
impl !UnwindSafe for NativeComboBox