Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > ca81b57b553ae75608ba0fc5e7925e4e > files > 746

libgtkmm1.2-devel-1.2.10-1mdk.ppc.rpm

#include "TestFixture.h"

class PaneOptions : public Gtk::Frame
{
public:
  PaneOptions(Gtk::Paned &paned,
	      const string &frame_label,
	      const string &label1,
	      const string &label2);

  void toggleResize(bool isChild1);
  void toggleShrink(bool isChild1);

private:
  Gtk::Table table;
  Gtk::Label label1, label2;
  Gtk::CheckButton resize1, shrink1,
    resize2, shrink2;

  Gtk::Paned &refPaned;
  
};

class PaneTest : public TestFixture
{
  public:
  static TestFixture *  create ();
  virtual              ~PaneTest ();
  virtual void          destroyTest ();
                        PaneTest ();
private:
  // data
  static PaneTest * theTest;
  Gtk::Frame           frame1, frame2, frame3;
  Gtk::HPaned          hpaned;
  Gtk::VPaned          vpaned;
  Gtk::Button          button;
  Gtk::VBox            vbox;

  PaneOptions         *hpaneOptions, *vpaneOptions;
  
};