[gtkmm] ever tried a Gtk::HandleBox?



Hi!

I've experimented with HandleBoxes, but
nothing happens in my GUI. A horizontal
bar is drawn but I cannot drag it with
the mouse?!
Any hints would be appreciated.

TIA,
Andi


  ...
  // Add the Button Box and the ScrolledWindow with the TreeView to a VBox
  Gtk::VBox *VBox = Gtk::manage(new Gtk::VBox());
  VBox->pack_start(*ButtonBox);
  VBox->pack_start(m_ScrolledWindow);

  // Add a HandleBox at the bottom of the VBox
  Gtk::HandleBox *TabHandleBox = Gtk::manage(new Gtk::HandleBox());
  TabHandleBox->set_snap_edge(Gtk::POS_BOTTOM);
  VBox->pack_start(*TabHandleBox);

  // Add VBox to frame (a frame can only hold one widget)
  m_Frame.add(*VBox);

  // Pack frame into this object
  pack_start(m_Frame);

  show_all();
  ...




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]