Gtk::Table with a Gtk::TextView
- From: Daniel Albuschat <d albuschat gmail com>
- To: gtkmm-list gnome org
- Subject: Gtk::Table with a Gtk::TextView
- Date: Wed, 10 Aug 2005 19:52:55 +0200
Hi there,
I got some problems with a Gtk::TextView attached to a Gtk::Table.
The result just displays a one-pixel wide TextView instead of
spreading it over the whole table's width/height.
Here's my example application:
#include <gtkmm.h>
struct Win: public Gtk::Window {
public:
Gtk::Table t;
Gtk::Frame v;
Win(): t(2,2) {
add(t);
t.attach(v,0,2,0,2, Gtk::EXPAND, Gtk::EXPAND);
show_all();
}
};
int main( int argc, char *argv[] ) {
Gtk::Main m(argc, argv);
Win win;
Gtk::Main::run(win);
}
I bet it's something rather simple, but well.
Thanks,
Daniel
--
eat(this); // delicious suicide
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]