Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class item

boost::ui::layout::item — Layout item with arrangement parameters.

Synopsis

// In header: <boost/ui/layout.hpp>



// Layout item with arrangement parameters.

class item {
public:
  // construct/copy/destruct
  item();
  item(const widget &);
  item(const box_layout &);
  ~item();

  // public member functions
  item & no_margin();
  item & stretch(int = 1);
};

Description

item public construct/copy/destruct

  1. item();
  2. item(const widget & w);
    Constructs widget item.
  3. item(const box_layout & l);
    Constructs layout item.
  4. ~item();

item public member functions

  1. item & no_margin();
    Resets layout item margin.
  2. item & stretch(int value = 1);
    Sets layout item stretch factor.

PrevUpHomeNext