Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBWidgetValueConnection Class Reference

TBWidgetValueConnection maintains a connection between TBWidget and TBWidgetValue. More...

#include <tb_widget_value.h>

Inheritance diagram for tb::TBWidgetValueConnection:
tb::TBLinkOf< TBWidgetValueConnection > tb::TBLink

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...
 

Friends

class TBWidgetValue
 

Additional Inherited Members

Detailed Description

TBWidgetValueConnection maintains a connection between TBWidget and TBWidgetValue.

Member Function Documentation

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.


The documentation for this class was generated from the following files: