[gtkmm] Gtk::TreeView and configure event
- From: Igor Gorbounov <igorbounov voronezh serw ru>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Gtk::TreeView and configure event
- Date: Fri, 31 Oct 2003 11:51:21 +0300
Hi, All!
I'm trying to handle events, when my treeview is resized:
class hardw_window : public hardw_window_glade
{
public:
hardw_window();
~hardw_window() {};
AddHardwColumns addhardwColumns;
Glib::RefPtr<Gtk::TreeStore> addhardwModel;
private:
bool on_hardwtree_configure_event(GdkEventConfigure* event);
};
//-------
hardw_window::hardw_window()
{
hardwtree->signal_configure_event().connect(
SigC::slot(*this, &my_window::on_hardwtree_configure_event));
}
//-----
bool hardw_window::on_hardwtree_configure_event(GdkEventConfigure* event)
{
std::cout << "here" << std::endl;
return true;
}
But nothing happens when I resize the tree (by dragging the edge of
a window or by expanding tree rows).
So what's wrong? Maybe, TreeView is unable to receive configure event?
Igor Gorbounov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]