author | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 15 Jan 2008 16:33:29 +0000 (16:33 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 15 Jan 2008 16:33:29 +0000 (16:33 +0000) | ||
commit | 844b3f1ccd684cf1979db02b46a89c3c00fef3ec | |
tree | 6aab72d928aa91f24a208a64f3df0be611c39e5d | tree | snapshot |
parent | c0cd5511d3b975ebe07d019c1f5528108725e438 | commit | diff |
RegisteredWidget has been renamed to RegisteredWdg. This is a deprecated class, all that use it should be recoded and RegisteredWdg should be deleted as soon as possible.
The *new* RegisteredWidget is a template class and should be subclassed (eventually) from Gtk::Widget, for example RegisteredWidget<Scalar> will be subclassed from Scalar, which is subclassed from Labelled, => Gtk::HBox => Gtk::Widget. This way, a RegisteredWidget<T> can be directly used as Gtk::Widget, and gtk::manage works, etc! This all should solve the problem of having multiple widgets for the same parameters.
The *new* RegisteredWidget is a template class and should be subclassed (eventually) from Gtk::Widget, for example RegisteredWidget<Scalar> will be subclassed from Scalar, which is subclassed from Labelled, => Gtk::HBox => Gtk::Widget. This way, a RegisteredWidget<T> can be directly used as Gtk::Widget, and gtk::manage works, etc! This all should solve the problem of having multiple widgets for the same parameters.