Back to index

easystroke  0.5.5.1
Public Member Functions | Private Member Functions | Private Attributes
Check Class Reference
Inheritance diagram for Check:
Inheritance graph
[legend]
Collaboration diagram for Check:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Check (IO< bool > &io_, const Glib::ustring &name)

Private Member Functions

virtual void notify ()
void on_changed ()

Private Attributes

IO< bool > & io
Gtk::CheckButton * check

Detailed Description

Definition at line 25 of file prefs.cc.


Constructor & Destructor Documentation

Check::Check ( IO< bool > &  io_,
const Glib::ustring &  name 
) [inline]

Definition at line 35 of file prefs.cc.

                                                     : io(io_) {
              io.connect(this);
              widgets->get_widget(name, check);
              notify();
              check->signal_toggled().connect(sigc::mem_fun(*this, &Check::on_changed));
       }

Here is the call graph for this function:


Member Function Documentation

virtual void Check::notify ( ) [inline, private, virtual]

Implements Base.

Definition at line 28 of file prefs.cc.

{ check->set_active(io.get()); }

Here is the call graph for this function:

Here is the caller graph for this function:

void Check::on_changed ( ) [inline, private]

Definition at line 29 of file prefs.cc.

                         {
              bool b = check->get_active();
              if (b == io.get()) return;
              io.set(b);
       }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Gtk::CheckButton* Check::check [private]

Definition at line 27 of file prefs.cc.

IO<bool>& Check::io [private]

Definition at line 26 of file prefs.cc.


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