Skip to main content

Crate teksilo_core

Crate teksilo_core 

Source

Re-exports§

pub use accessibility::AccessNodeBuilder;
pub use accessibility::AccessibilityInfo;
pub use accessibility::Announcement;
pub use action::Action;
pub use action::ActionBuilder;
pub use action::ActionHandler;
pub use animated_quad::AnimatedQuadHandle;
pub use animated_quad::AnimatedQuadKind;
pub use animated_quad::AnimatedQuadRegistry;
pub use animation::AnimationRequest;
pub use animation::AnimationScheduler;
pub use animation_builder::AnimationSpec;
pub use app_event::AppEvent;
pub use app_event::RepaintWindowRequest;
pub use arena::WidgetArena;
pub use async_completion::AsyncCompletionHandle;
pub use async_completion::AsyncCompletionPayload;
pub use binding::BindingLevel;
pub use binding::BindingRegistry;
pub use build_context::BuildContext;
pub use color_prop::ColorProp;
pub use color_prop::TextStyleProp;
pub use drag_payload::DragData;
pub use drag_payload::DragImageData;
pub use drag_payload::DragOrigin;
pub use drag_payload::DragPayload;
pub use drag_payload::DropOutcome;
pub use drag_payload::ExternalDropData;
pub use drag_payload::OutboundDragData;
pub use environment::Environment;
pub use environment::LayoutDirection;
pub use event::ButtonMask;
pub use event::EventResponse;
pub use event::Key;
pub use event::Modifiers;
pub use event::PointerButton;
pub use event::ScrollDelta;
pub use event::WidgetEvent;
pub use event_source::AppEventPoster;
pub use event_source::EventSource;
pub use event_source::EventSourceAdapter;
pub use event_source::SubscriptionHandle;
pub use event_source::SubscriptionId;
pub use focus::FocusOrigin;
pub use focus::TraversalScopePolicy;
pub use frame_tick_scheduler::FrameTickScheduler;
pub use frame_tick_scheduler::FrameTickSubscription;
pub use gesture::DoubleTapRecognizer;
pub use gesture::DragRecognizer;
pub use gesture::GestureArena;
pub use gesture::GestureEvent;
pub use gesture::GestureRecognizer;
pub use gesture::GestureResult;
pub use gesture::LongPressRecognizer;
pub use gesture::RawPointerEvent;
pub use gesture::SwipeDirection;
pub use gesture::SwipeRecognizer;
pub use gesture::TapEvent;
pub use gesture::TapRecognizer;
pub use gesture::TripleTapRecognizer;
pub use idle::IdleDeadline;
pub use ime::ImeContext;
pub use ime::ImePurpose;
pub use intent::Intent;
pub use intent::IntentKind;
pub use intent::IntentResponse;
pub use menu_item_id::MenuItemId;
pub use modal::ModalBuilder;
pub use modal::ModalCloseBehavior;
pub use modal::ModalContent;
pub use modal::ModalPresentation;
pub use modal::ModalRequest;
pub use modal::QueuedModalRequest;
pub use overlay::DismissBehavior;
pub use overlay::OverlayId;
pub use overlay::OverlayLayer;
pub use overlay::OverlayManager;
pub use overlay::OverlayPlacement;
pub use overlay::OverlayRequest;
pub use overscroll::OverscrollBehavior;
pub use overscroll::SCROLL_MOVE_EPSILON;
pub use paint_prop::GradientStopProp;
pub use paint_prop::PaintProp;
pub use paint_prop::angle_to_endpoints;
pub use raw_handle::ParentHandle;
pub use shortcut::CaptureHandle;
pub use shortcut::EffectiveShortcut;
pub use shortcut::KeyCaptureCallback;
pub use shortcut::KeyStroke;
pub use shortcut::KeyStrokeOverride;
pub use shortcut::Shortcut;
pub use shortcut::ShortcutBuilder;
pub use shortcut::ShortcutOnActivate;
pub use shortcut::ShortcutRegistry;
pub use shortcut::ShortcutScope;
pub use shortcut::SlotOverride;
pub use signal::ObserverHandle;
pub use signal::Prop;
pub use signal::Signal;
pub use signal::SignalAccessError;
pub use styles::Theme;
pub use styles::ThemeAppearance;
pub use styles::ThemeExtensions;
pub use styles::ThemeId;
pub use widget::CursorIcon;
pub use widget::EventContext;
pub use widget::LayoutContext;
pub use widget::LayoutResponse;
pub use widget::PaintContext;
pub use widget::PendingChild;
pub use widget::Widget;
pub use widget::WidgetPlacement;
pub use widget_builder::AccessSubtreeMode;
pub use widget_builder::AccessibilityOverrides;
pub use widget_builder::HandlerSet;
pub use widget_builder::WidgetBuilder;
pub use widget_builder::WidgetWithHandlers;
pub use widget_builder_branching::IntoTeksiChild;
pub use widget_builder_branching::IntoTeksiCondition;
pub use widget_builder_branching::TeksiBranch;
pub use widget_builder_branching::TeksiBranch3;
pub use widget_builder_branching::TeksiBranch4;
pub use widget_id::WidgetId;
pub use widget_tree::WidgetTree;
pub use window::state::WindowStateInit;
pub use window::CloseBlockedCallback;
pub use window::CloseGuard;
pub use window::CloseResponse;
pub use window::DecorationsMode;
pub use window::ModalConfig;
pub use window::NoopWindowOps;
pub use window::PostRootBuilder;
pub use window::RootBuilder;
pub use window::SizeToContent;
pub use window::TeksiloWindowId;
pub use window::UserAttentionKind;
pub use window::WindowCommand;
pub use window::WindowConfig;
pub use window::WindowIcon;
pub use window::WindowOps;
pub use window::WindowPlacement;
pub use window::WindowRemovedCallback;
pub use window::WindowRemovedEvent;
pub use window::WindowState;
pub use window_chrome::ControlTarget;
pub use window_chrome::HitRegions;
pub use window_chrome::PlatformError;
pub use window_chrome::PlatformTitleBarHost;
pub use window_chrome::ResizeBorders;
pub use window_chrome::ResizeEdge;
pub use window_chrome::TitleBarHostCallbacks;
pub use window_chrome::TitleBarHoverEvent;
pub use window_chrome::TitleBarSyntheticEvent;
pub use accesskit;

Modules§

accessibility
action
Widget-owned units of behavior bound to named intents.
animated_quad
Shader-driven animated quads.
animation
Animation scheduler — drives Signal<f32> values smoothly over time.
animation_builder
AnimationSpec — fluent ergonomic façade over Signal::animate_to / animate_looping / try_animate_with_options.
app_event
Application-level events for cross-thread communication.
arena
async_completion
Generic, runtime-agnostic delivery of a one-shot main-thread callback that runs with a fresh EventContext bound to a window’s tree.
binding
Binding registry: the dirty-tracking infrastructure shared between Signal<T> instances and WidgetTree.
build_context
BuildContext — context available during Widget::build().
color_prop
ColorProp — the unified input type for widget color builders.
deferred_subtree
DeferredSubtree — a child whose subtree is not built until it is first revealed, and is retained from then on.
dim_when_inactive
DimWhenInactive — a wrapper widget that dims its subtree when the host window loses active status.
drag_payload
Typed drag payload for intra-application drag and drop.
environment
event
event_source
Backend event subscription infrastructure (architecture §9.4).
focus
frame_tick_scheduler
Per-frame-effect scheduler.
gesture
UIKit-style gesture recognizer model.
idle
Idle callback system for incremental work between frames.
ime
Input-method-editor (IME) descriptors attached to widget nodes.
intent
Runtime intents dispatched by shortcuts and programmatic callers.
menu_item_id
Process-unique identifier for a menu item.
modal
motion_visibility
Shared visibility predicates used by every motion subsystem (the looping-tween AnimationScheduler, the shader-driven AnimatedQuadRegistry, and the per-frame-effect FrameTickScheduler) to decide whether their owner widget is visible enough to keep pumping frames for.
overlay
Overlay system for tooltips, dropdown menus, context menus, and popovers.
overscroll
OverscrollBehavior — boundary scroll-chaining policy.
paint_prop
PaintProp — a fill input that may be a flat color or a gradient.
presets
Built-in Theme presets.
raw_handle
Opaque platform window/display handle wrapper.
shortcut
User-facing rebindable keyboard shortcuts.
signal
Unified reactivity primitives for Teksilo.
styles
Teksilo’s theming system: Theme aggregator, ThemeAppearance flag, typed ThemeExtensions registry, Tier 2 paint-recipe primitives, and Tier 3 per-widget style trait protocols.
telemetry
Pure trait + type surface for usage telemetry.
text_surface
TextSurface — “the widget the caret is in”, as an application sees it.
widget
widget_builder
WidgetBuilder trait — blanket-implemented for all Widget types.
widget_builder_branching
Branching widget types and child-insertion trait for the teksu! DSL.
widget_id
widget_tree
window
Window identity and per-window state.
window_chrome
Platform abstraction for custom window chrome (title bars).

Enums§

DropFeedback
A drop target’s response to a drag hovering over it.