30 using namespace GtkCRN;
41 return new Gtk::Label(
_(
"null object"));
49 Glib::ustring txt(
"<i>(empty)</i>");
50 Gtk::Label *lab = Gtk::manage(
new Gtk::Label(txt));
51 lab->set_use_markup();
56 Gtk::Expander *expander =
new Gtk::Expander(
"Map");
57 #ifdef CRN_USING_GTKMM3
58 Gtk::Grid *tab = Gtk::manage(
new Gtk::Grid);
60 Gtk::Table *tab = Gtk::manage(
new Gtk::Table(
int(m->
Size()), 2));
81 Glib::ustring txt(
"<i>(empty)</i>");
82 Gtk::Label *lab = Gtk::manage(
new Gtk::Label(txt));
83 lab->set_use_markup();
88 Gtk::Expander *expander =
new Gtk::Expander(
"Vector");
89 Gtk::VBox *vbox = Gtk::manage(
new Gtk::VBox);
91 for (crn::Vector::const_iterator it = v->
begin(); it != v->
end(); ++it)
104 pw->set_sensitive(
false);
108 const auto *s =
static_cast<const crn::String*
>(obj);
111 return new Gtk::Label(s->CStr());
117 return new Gtk::Label(su->CStr());
121 return new Gtk::Label(
typeid(*obj).name());
iterator begin()
Returns an iterator to the first element.
A UTF32 character string class.
iterator begin()
Returns an iterator to the first element.
std::map< String, SObject >::const_iterator const_iterator
const_iterator on the contents of the container
iterator end()
Returns a iterator to the end of the list.
size_t Size() const noexcept
Returns the number of data objects in the map.
bool IsEmpty() const noexcept
Tests if the map is empty.
A widget for ternary values representation.
A character string class.
Gtk::Widget * create_widget_from_object(const crn::Object *obj)
Creates a widget to display an object.
iterator end()
Returns an iterator after the last element.
bool IsEmpty() const noexcept
Tests if the vector is empty.