Public bug report changed:
https://launchpad.net/malone/bugs/32090

Comment:
Sample program:

#include <gtkmm/main.h>
#include <gtkmm/window.h>
#include <gtkmm/scrolledwindow.h>
#include <gtkmm/label.h>

int main(int argc, char *argv[])
{
  Gtk::Main kit(argc, argv);
  Gtk::Window window;
  Gtk::ScrolledWindow* sw = Gtk::manage(new Gtk::ScrolledWindow);
  Gtk::Label* label = Gtk::manage(new Gtk::Label("Hello\nHello\nHello"));
  sw->add(*label);
  sw->set_policy(Gtk::POLICY_ALWAYS, Gtk::POLICY_ALWAYS);
  sw->set_size_request(250,250);
  sw->set_sensitive(false);
  window.add(*sw);
  window.show_all_children();
  Gtk::Main::run(window);

  return 0;
}

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to