#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 30/week @ 2024-04-08 28/week @ 2024-04-15 37/week @ 2024-04-22 24/week @ 2024-04-29 28/week @ 2024-05-06 41/week @ 2024-05-13 18/week @ 2024-05-20 35/week @ 2024-05-27 26/week @ 2024-06-03 26/week @ 2024-06-10 31/week @ 2024-06-17 34/week @ 2024-06-24 14/week @ 2024-07-08 56/week @ 2024-07-15 18/week @ 2024-07-22

95 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