#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 22/week @ 2024-02-04 15/week @ 2024-02-11 23/week @ 2024-02-18 40/week @ 2024-02-25 29/week @ 2024-03-03 31/week @ 2024-03-10 33/week @ 2024-03-17 38/week @ 2024-03-24 75/week @ 2024-03-31 23/week @ 2024-04-07 28/week @ 2024-04-14 37/week @ 2024-04-21 31/week @ 2024-04-28 28/week @ 2024-05-05 34/week @ 2024-05-12 25/week @ 2024-05-19

118 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

~86KB