#include <progressbar.h>
Public Member Functions | |
ProgressBar (unsigned pulse_units=0) | |
~ProgressBar () | |
unsigned | pulse_units () |
void | set_pulse_units (unsigned units) |
Protected Member Functions | |
void | on_data (size_t n) |
virtual void | on_read_data (size_t n) |
virtual void | on_write_data (size_t n) |
Protected Attributes | |
unsigned | m_pulse_units |
Conexus::Gtk::ProgressBar::ProgressBar | ( | unsigned | pulse_units = 0 |
) |
Conexus::Gtk::ProgressBar::~ProgressBar | ( | ) |
void Conexus::Gtk::ProgressBar::on_data | ( | size_t | n | ) | [protected] |
References Conexus::Gtk::DataProgressWatcher::m_data_count, and m_pulse_units.
Referenced by on_read_data(), and on_write_data().
void Conexus::Gtk::ProgressBar::on_read_data | ( | size_t | n | ) | [protected, virtual] |
void Conexus::Gtk::ProgressBar::on_write_data | ( | size_t | n | ) | [protected, virtual] |
unsigned Conexus::Gtk::ProgressBar::pulse_units | ( | ) |
References m_pulse_units.
void Conexus::Gtk::ProgressBar::set_pulse_units | ( | unsigned | units | ) |
References m_pulse_units.
unsigned Conexus::Gtk::ProgressBar::m_pulse_units [protected] |
Referenced by on_data(), pulse_units(), and set_pulse_units().