#slot #uniui #basic #signal #properties #structures #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

46 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