HandleBox problem
- From: Ofer Oshri <ofer_oshri yahoo com>
- To: gtkmm-list gnome org
- Subject: HandleBox problem
- Date: Sun, 25 Nov 2007 01:44:02 -0800 (PST)
hi all,
i am trying to detach a tab from a notebox and showing it as a floating window. the detached tab comes out with no borders or title. i tried to set the decoration through the get_float_window() method of the HandleBox with no luck. any advice will be appreciated.
here is an example of what i am trying to do:
...
Gtk::HandleBox h1_;
Gtk::Label label1_;
...
example_window win_;
...
win_.add(h1_);h1_.add(label1_);
h1_.signal_child_detached().connect(sigc::mem_fun(*this, &example_window::on_child_detached));
void on_child_detached(Widget* child)
{
h1_.get_float_window()->set_decorations(Gdk::DECOR_TITLE | Gdk::DECOR_BORDER);
}
...
ofer
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]