slint/internal/core
Tobias Hunger 93f72b8c99
Some checks are pending
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
CI / files-changed (push) Waiting to run
CI / build_and_test (--exclude bevy-example, ubuntu-22.04, 1.82) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, --exclude bevy-example, windows-2022, 1.82) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, macos-14, stable) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.82) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / wasm_demo (push) Blocked by required conditions
CI / tree-sitter (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
core: Fix the component container
This fixes the contents of the `n`-th repeater inside the
`ComponentContainer` to also show up in the `n`-th repeater *after*
the `ComponentContainer`.

The ComponentContainer is lowered to a Comonent Container and a
dynamic tree node. The tree node is managed manually and I messed
up the repeater indices since there were no entries in the repeater
array for the embedded components. That mad things hard to keep
consistent as components get merged.

This chnages that: It lowers a Component Container to Something like this:

```slint
    ComponentContainer {
        if false: Emtpy {}
    }
```

This way the standard mechanismns make sure we have something to put into
the repeater list and that unscrews the indices, saving a bit of code along
the way.

The inserted repeated node is still marked as `is_component_placeholder`, so
that we can wire it up as needed.
2025-06-05 13:48:16 +02:00
..
graphics Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
items core: Fix the component container 2025-06-05 13:48:16 +02:00
LICENSES Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
model A few more format arg inlining 2025-02-07 06:43:19 +01:00
properties Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
software_renderer swrenderer: interface for hw rendering of rectangle with border or gradients (#8384) 2025-05-06 15:53:53 +02:00
textlayout Fix clippy issues, plus a few manual cleanups 2025-02-06 17:28:51 +01:00
window Fix clippy issues, plus a few manual cleanups 2025-02-06 17:28:51 +01:00
accessibility.rs Expose more kinds of text edit widgets to AccessKit 2025-03-17 14:27:08 +01:00
animations.rs Janitor: Always use `#![no_std] for runtime lib 2025-01-27 19:22:00 +01:00
api.rs Implement Debug for PlatformError 2025-05-12 13:03:23 +02:00
callbacks.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
Cargo.toml Add Platform.os as well as a rudimentary test 2025-05-06 13:06:27 +02:00
component_factory.rs Janitor: Always use `#![no_std] for runtime lib 2025-01-27 19:22:00 +01:00
context.rs Janitor: Always use `#![no_std] for runtime lib 2025-01-27 19:22:00 +01:00
date_time.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
future.rs Janitor: Always use `#![no_std] for runtime lib 2025-01-27 19:22:00 +01:00
graphics.rs Remove CompositionMode enum 2025-05-07 15:49:58 +02:00
input.rs Expose FocusReason to .slint as an argument in focus-event-changed and add focus-gained and focus-lost callbacks (#8569) 2025-06-04 09:51:26 +02:00
item_focus.rs Janitor: Always use `#![no_std] for runtime lib 2025-01-27 19:22:00 +01:00
item_rendering.rs Support default-font-* properties in Live-Preview 2025-04-24 09:18:45 +02:00
item_tree.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
items.rs Expose FocusReason to .slint as an argument in focus-event-changed and add focus-gained and focus-lost callbacks (#8569) 2025-06-04 09:51:26 +02:00
layout.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
lengths.rs Add support for rotation to the partial renderer 2025-01-23 09:17:54 +01:00
lib.rs Add Platform.os as well as a rudimentary test 2025-05-06 13:06:27 +02:00
menus.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
model.rs live-preview: Remember recent colors 2025-05-22 15:30:30 +02:00
platform.rs ContextMenuArea: Intercept long press on Android 2025-02-24 18:27:25 +01:00
properties.rs core: Fix doc comment 2025-04-02 15:14:02 +02:00
README.md Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
renderer.rs Janitor: Always use `#![no_std] for runtime lib 2025-01-27 19:22:00 +01:00
rtti.rs Janitor: Always use `#![no_std] for runtime lib 2025-01-27 19:22:00 +01:00
sharedvector.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
slice.rs Fix clippy issues, plus a few manual cleanups 2025-02-06 17:28:51 +01:00
software_renderer.rs swrenderer: interface for hw rendering of rectangle with border or gradients (#8384) 2025-05-06 15:53:53 +02:00
string.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
tests.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
textlayout.rs Fix clippy issues, plus a few manual cleanups 2025-02-06 17:28:51 +01:00
timers.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
translations.rs Upgrade cbindgen and use unsafe(no_mangle) attributes (#8539) 2025-05-26 11:21:33 +02:00
unsafe_single_threaded.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
window.rs Expose FocusReason to .slint as an argument in focus-event-changed and add focus-gained and focus-lost callbacks (#8569) 2025-06-04 09:51:26 +02:00

Slint Runtime Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.