Report when tabbable attachments change, and expose the state
This commit is contained in:
@@ -539,6 +539,8 @@ Tabbable::showhide_att_right (bool yn)
|
||||
} else {
|
||||
content_right_vbox.hide ();
|
||||
}
|
||||
|
||||
StateChange (*this);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -563,6 +565,8 @@ Tabbable::showhide_att_left (bool yn)
|
||||
} else {
|
||||
content_att_left.hide ();
|
||||
}
|
||||
|
||||
StateChange (*this);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -587,6 +591,8 @@ Tabbable::showhide_att_bottom (bool yn)
|
||||
} else {
|
||||
content_att_bottom.hide ();
|
||||
}
|
||||
|
||||
StateChange (*this);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -102,6 +102,10 @@ public:
|
||||
void att_right_button_toggled();
|
||||
void att_bottom_button_toggled();
|
||||
|
||||
bool att_left_visible () const { return content_att_left.get_visible (); }
|
||||
bool att_right_visible () const { return content_att_right.get_visible (); }
|
||||
bool att_bottom_visible () const { return content_att_bottom.get_visible (); }
|
||||
|
||||
protected:
|
||||
virtual void showhide_att_left (bool yn);
|
||||
virtual void showhide_att_right (bool yn);
|
||||
|
||||
Reference in New Issue
Block a user