Hasty Badger
Small UI library (a branch of Turbo Badger)
|
TBWidgetValueConnection maintains a connection between TBWidget and TBWidgetValue. More...
#include <tb_widget_value.h>
Public Member Functions | |
void | Connect (TBWidgetValue *value, TBWidget *m_widget) |
Connect the value and widget. More... | |
void | Unconnect () |
Unconnect the value and widget if it is connected. More... | |
TBID | GetName () const |
Get the connection name id. More... | |
void | SyncFromWidget (TBWidget *source_widget) |
Synchronize the value of the widget to the TBWidgetValue and all other connected widgets. More... | |
Public Member Functions inherited from tb::TBLinkOf< TBWidgetValueConnection > | |
TBWidgetValueConnection * | GetPrev () const |
TBWidgetValueConnection * | GetNext () const |
Public Member Functions inherited from tb::TBLink | |
bool | IsInList () const |
Return true if the link is currently added to a list. More... | |
Friends | |
class | TBWidgetValue |
Additional Inherited Members | |
Public Attributes inherited from tb::TBLink | |
TBLink * | prev |
TBLink * | next |
TBLinkList * | linklist |
TBWidgetValueConnection maintains a connection between TBWidget and TBWidgetValue.
void tb::TBWidgetValueConnection::Connect | ( | TBWidgetValue * | value, |
TBWidget * | m_widget | ||
) |
Connect the value and widget.
TBID tb::TBWidgetValueConnection::GetName | ( | ) | const |
Get the connection name id.
void tb::TBWidgetValueConnection::SyncFromWidget | ( | TBWidget * | source_widget | ) |
Synchronize the value of the widget to the TBWidgetValue and all other connected widgets.
void tb::TBWidgetValueConnection::Unconnect | ( | ) |
Unconnect the value and widget if it is connected.