Crate makepad_widgets

Source

Re-exports§

pub use crate::data_binding::DataBindingStore;
pub use crate::data_binding::DataBindingMap;
pub use crate::scroll_bars::ScrollBars;
pub use crate::scroll_shadow::DrawScrollShadow;
pub use crate::scroll_bar::ScrollBar;
pub use crate::slides_view::SlidesView;
pub use crate::widget_match_event::WidgetMatchEvent;
pub use crate::widget::WidgetSet;
pub use crate::widget::WidgetUid;
pub use crate::widget::DrawStep;
pub use crate::widget::DrawStepApi;
pub use crate::widget::CreateAt;
pub use crate::widget::WidgetCache;
pub use crate::widget::WidgetActionCxExt;
pub use crate::widget::WidgetActionsApi;
pub use crate::widget::WidgetActionTrait;
pub use crate::widget::WidgetAction;
pub use crate::widget::WidgetActionCast;
pub use crate::widget::WidgetActionOptionApi;
pub use crate::widget::OptionWidgetRefExt;
pub use crate::widget::WidgetRef;
pub use crate::widget::Widget;
pub use crate::widget::WidgetNode;
pub use crate::widget::WidgetRegistry;
pub use crate::widget::WidgetFactory;
pub use crate::widget::WidgetSetIterator;
pub use crate::widget::DrawStateWrap;
pub use makepad_draw::makepad_platform;
pub use makepad_draw;
pub use makepad_html;
pub use makepad_derive_widget;
pub use makepad_zune_jpeg;
pub use makepad_zune_png;
pub use crate::button::*;
pub use crate::cached_widget::*;
pub use crate::view::*;
pub use crate::adaptive_view::*;
pub use crate::image::*;
pub use crate::image_blend::*;
pub use crate::icon::*;
pub use crate::label::*;
pub use crate::slider::*;
pub use crate::root::*;
pub use crate::text_flow::*;
pub use crate::markdown::*;
pub use crate::html::*;
pub use crate::check_box::*;
pub use crate::drop_down::*;
pub use crate::modal::*;
pub use crate::tooltip::*;
pub use crate::popup_notification::*;
pub use crate::video::*;
pub use crate::radio_button::*;
pub use crate::text_input::*;
pub use crate::link_label::*;
pub use crate::portal_list::*;
pub use crate::portal_list2::*;
pub use crate::flat_list::*;
pub use crate::page_flip::*;
pub use crate::slide_panel::*;
pub use crate::fold_button::*;
pub use crate::dock::*;
pub use crate::stack_navigation::*;
pub use crate::expandable_panel::*;
pub use crate::command_text_input::*;
pub use crate::window::*;
pub use crate::multi_window::*;
pub use crate::web_view::*;
pub use crate::toggle_panel::*;
pub use crate::defer_with_redraw::*;

Modules§

adaptive_view
bare_step
button
cached_widget
check_box
color_picker
command_text_input
cx_2d
cx_3d
cx_draw
data_binding
debug_view
defer_with_redraw
designer
designer_data
designer_dummy
designer_outline
designer_outline_tree
designer_theme
designer_toolbox
designer_view
desktop_button
dock
draw_list_2d
drop_down
expandable_panel
file_tree
flat_list
fold_button
fold_header
geometry
html
icon
icon_atlas
image
image_blend
image_cache
keyboard_view
label
link_label
loading_spinner
log
makepad_platform
makepad_vector
markdown
match_event
modal
multi_image
multi_window
nav
nav_control
overlay
page_flip
performance_view
popup_menu
popup_notification
portal_list
portal_list2
radio_button
root
rotated_image
scroll_bar
scroll_bars
scroll_shadow
shader
slide_panel
slider
slides_view
splitter
stack_navigation
tab
tab_bar
tab_close_button
text
text_flow
text_input
theme_desktop_dark
theme_desktop_light
theme_mobile_dark
theme_mobile_light
toggle_panel
tooltip
touch_gesture
turtle
turtle_step
vectorline
video
view
view_ui
web_view
widget
widget_match_event
window
window_menu
xr_hands

Macros§

app_main
color
error
fmt_over
fmt_over_ref
generate_any_send_trait_api
generate_any_trait_api
get_component
gl_flush_error
gl_log_error
id
id_lut
ids
live
live_array
live_design
live_error_origin
live_id
live_id_num
live_object
live_primitive
log
profile_end
profile_end_log
register_component_factory
register_widget
some_id
warning

Structs§

Align
Animator
Apply
AudioBuffer
AudioDeviceDesc
AudioDeviceId
AudioDevicesEvent
AudioInfo
AudioTime
CameraFov
ComponentList
ComponentMap
Cx
Cx2d
Cx3d
CxDraw
CxDrawCall
CxDrawItem
CxDrawListPool
CxLinuxMedia
CxRectArea
CxRef
CxWindowPool
DVec2
DVec3
DVec4
DesignerPickEvent
DragEvent
DragHitEvent
DrawColor
DrawEvent
DrawIcon
DrawLine
DrawList
DrawList2d
DrawListId
DrawMatrix
DrawQuad
DrawShaderPtr
DrawText
DrawVars
DropEvent
DropHitEvent
FingerDownEvent
FingerHoverEvent
FingerMoveEvent
FingerScrollEvent
FingerUpEvent
FromUIReceiver
FromUISender
Geometry
GeometryField
GeometryFingerprint
GeometryGen
GeometryId
GeometryQuad2D
GeometryRef
HeapLiveIdPath
HitOptions
HttpError
HttpProgress
HttpRequest
HttpResponse
InlineString
InstanceArea
KeyEvent
KeyFocusEvent
KeyModifiers
Layout
LiveBinding
LiveBody
LiveComponentInfo
LiveDependency
LiveErrorOrigin
LiveFileId
LiveId
LiveIdHasher
LiveIdHasherBuilder
LiveIdInterner
LiveIdMap
LiveIdPath
LiveModuleId
LiveNode
LiveNodeOrigin
LiveProp
LivePtr
LiveRegistry
LiveTypeField
LiveTypeInfo
ManyInstances
Margin
Mat4
MessageThreadPool
MidiAftertouch
MidiChannelAftertouch
MidiControlChange
MidiData
MidiInput
MidiNote
MidiOutput
MidiPitchBend
MidiPortDesc
MidiPortId
MidiPortsEvent
MidiProgramChange
MidiSystem
MouseButton
A u32 bit mask of all mouse buttons that were pressed during a given mouse event.
MouseDownEvent
MouseMoveEvent
MouseUpEvent
NavScrollIndex
NavStop
NextFrame
NextFrameEvent
Overlay
Padding
Pass
PassId
Plane
PointUsize
Pose
PrettyPrintedF32
PrettyPrintedF64
Quat
Rect
RectArea
RectUsize
RevThreadPool
Scope
ScopeDataMut
ScopeDataRef
ShaderEnum
ShaderRegistry
SignalFromUI
SignalToUI
SizeUsize
SmallVec
A Vec-like container that can store a small number of elements inline.
TagThreadPool
TextClipboardEvent
TextInputEvent
Texture
TextureAnimation
TextureId
Timer
TimerEvent
ToUIReceiver
ToUISender
Trigger
TurtleAlignRange
UiRunner
Run code on the UI thread from another thread.
Vec2
Vec3
Vec4
VideoBuffer
VideoBufferRef
VideoFormat
VideoFormatId
VideoInputDesc
VideoInputId
VideoInputsEvent
Walk
WebSocket
WindowCloseRequestedEvent
WindowClosedEvent
WindowDragQueryEvent
WindowGeomChangeEvent
WindowHandle
WindowId
WindowMovedEvent
XrAnchor
XrController
XrHand
XrLocalEvent
XrState
XrUpdateEvent

Enums§

Animate
AnimatorAction
ApplyFrom
ArcStringMut
Area
AudioDeviceType
CxOsOp
CxPassParent
CxPassRect
DeferWalk
DigitDevice
DragHit
DragItem
DragResponse
DragState
Ease
Event
Events that can be sent between the Makepad framework and the application.
Flow
GpuPerformance
Hit
HitDesigner
HoverState
HttpMethod
InternLiveId
KeyCode
LiveFieldKind
LivePropType
LiveValue
LogLevel
MacosMenu
MidiEvent
MidiPortType
MouseCursor
NavItem
NavOrder
NavRole
NetworkResponse
OpenUrlInPlace
OsType
PassClearColor
PassClearDepth
Play
ShaderTy
Size
TextureFormat
TextureSize
TextureUpdated
Vec2Index
VideoBufferData
VideoBufferRefData
VideoPixelFormat
VirtualKeyboardEvent
WebSocketMessage
WindowDragQueryResponse

Constants§

LIVE_ID_SEED
MAX_AUDIO_DEVICE_INDEX
MAX_VIDEO_DEVICE_INDEX
V0F0
V00F
VF00

Traits§

ActionCast
ActionCastRef
ActionDefaultRef
ActionTrait
AnimatorImpl
AppMain
CxMediaApi
CxOsApi
DeferCallback
DrawListExt
GeometryFields
LiveApply
LiveApplyReset
LiveApplyValue
LiveComponentRegistry
LiveHook
LiveHookDeref
LiveIdAsProp
LiveNew
LiveNodeSliceApi
LiveNodeSliceToCbor
LiveNodeVecApi
LiveNodeVecFromCbor
LiveRead
LiveRegister
MatchEvent
RedrawingApi
ShaderMath
ToLiveValue
Vec4Ext

Functions§

abs
acos
acosh
asin
asinh
atan
atanh
ceil
clamp
cos
cosh
dvec2
exp
exp2
floor
fract
live_design
ln
log2
log10
log_with_level
max
min
pow
powf
powi
profile_start
rect
shader_enum
sin
sinh
tan
tanh
vec2
vec3
vec4

Type Aliases§

Action
Actions
ActionsBuf
AudioInputFn
AudioOutputFn
LiveNodeSlice
LiveNodeVec
LiveRef
LiveType
NetworkResponsesEvent
Redrawing
VideoInputFn

Derive Macros§

DefaultNone
FromLiveId
Live
LiveAtomic
LiveComponentRegistry
LiveHook
LiveRead
LiveRegister
LiveRegisterWidget
Widget
WidgetRef
WidgetSet