Back to index

Public Member Functions | Private Member Functions | Private Attributes
ButtonSet< T > Class Template Reference
Collaboration diagram for ButtonSet< T >:
Collaboration graph

List of all members.

Public Member Functions

 ButtonSet (IO< T > &io_, const Glib::ustring &name, T def_)

Private Member Functions

void on_click ()

Private Attributes

IO< T > & io

Detailed Description

template<class T>
class ButtonSet< T >

Definition at line 126 of file

Constructor & Destructor Documentation

template<class T >
ButtonSet< T >::ButtonSet ( IO< T > &  io_,
const Glib::ustring &  name,
) [inline]

Definition at line 131 of file

                                                              : io(io_), def(def_) {
              Gtk::Button *button;
              widgets->get_widget(name, button);
              button->signal_clicked().connect(sigc::mem_fun(*this, &ButtonSet::on_click));

Here is the call graph for this function:

Member Function Documentation

template<class T >
void ButtonSet< T >::on_click ( ) [inline, private]

Definition at line 129 of file

{ io.set(def); }

Here is the caller graph for this function:

Member Data Documentation

template<class T >
T ButtonSet< T >::def [private]

Definition at line 128 of file

template<class T >
IO<T>& ButtonSet< T >::io [private]

Definition at line 127 of file

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