Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class label

boost::ui::label — Widget that displays static text.

Synopsis

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


class label : public boost::ui::widget {
public:
  // construct/copy/destruct
  explicit label(widget &, const uistring & = uistring());
  explicit label(const uistring &);
  label();

  // public member functions
  void clear();
  label & text(const uistring &);
  uistring text() const;

  // private member functions
  void init();
  detail_impl * get_impl();
  const detail_impl * get_impl() const;
};

Description

See Also:

Label (Wikipedia)

label public construct/copy/destruct

  1. explicit label(widget & parent, const uistring & txt = uistring());
    Creates label widget with text.
  2. explicit label(const uistring & txt);
    Creates label widget with text.
  3. label();

label public member functions

  1. void clear();
    Clears text.
  2. label & text(const uistring & txt);
    Sets text.
  3. uistring text() const;
    Returns text.

label private member functions

  1. void init();
  2. detail_impl * get_impl();
  3. const detail_impl * get_impl() const;

PrevUpHomeNext