Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class password_box

boost::ui::password_box — Password editor widget.

Synopsis

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


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

Description

Usage example:

ui::string_box string_box = ui::string_box(parent, "Initial text");
string_box.on_edit([&]
{
    ui::log::info() << "Edited text: " << string_box.text();
});

See Also:

Text box (Wikipedia)

password_box public construct/copy/destruct

  1. explicit password_box(widget & parent, const uistring & text = uistring());
    Creates widget.

    Parameters:

    parent

    Parent widget

    text

    Initial text in the editor

  2. password_box();

PrevUpHomeNext