#slot #uniui #basic #signal #structures #properties #familiy

uniui_core

Basic structures like Signal and Slot for uniui_* crates familiy

4 releases

Uses old Rust 2015

0.0.4 Oct 16, 2020
0.0.3 Jul 18, 2020
0.0.2 Jul 17, 2020
0.0.1 Jul 16, 2020

#1 in #uniui

Download history 9/week @ 2023-11-30 12/week @ 2023-12-07 12/week @ 2023-12-14 26/week @ 2023-12-21 8/week @ 2023-12-28 12/week @ 2024-01-04 23/week @ 2024-01-11 6/week @ 2024-01-18 4/week @ 2024-01-25 5/week @ 2024-02-01 21/week @ 2024-02-08 24/week @ 2024-02-15 27/week @ 2024-02-22 34/week @ 2024-02-29 45/week @ 2024-03-07 16/week @ 2024-03-14

122 downloads per month
Used in 12 crates (9 directly)

MIT/Apache

10KB
247 lines

The create provide basic functionality required for uniui_* crates family.

If you are looking information for uniui then the best place to start is (???)[???]

Philosophy

The crate inspired by Qt's signal/slot system. [Signal] can emit data and [Slot] can be connected to the [Signal] to receive data. There is few new concepts like [SlotProxy] and [Property] as well.

There is important difference between uniui and Qt's signal/slots system. [Slot] doesn't activate any peace of code (function/method/etc.) by itself. Instead it have to be pulled from the receiver side (via SlotImpl::next or SlotImpl::last or etc.). Usually it'll be done by uniui_gui::Application's event loop. Please take a look at uniui_gui::UWidget or uniui_gui::UObject for slot processing simplification.

Dependencies

~87KB