[Gtk-sharp-list] Scrolled TreeView without scrollbars?
Sat, 11 Dec 2004 17:39:27 -0500
I would not set any scrolling policy then.
ScrolledWindow sw =3D new ScrolledWindow ();
this.PackStart (sw, true, true, 0);
_treeStore =3D new TreeStore (typeof (string));
_rootIter =3D _treeStore.AppendValues ("Connections");
_treeView =3D new TreeView (_treeStore);=09
_treeView.AppendColumn ("Connections", new
CellRendererText (), "text", 0);
_treeView.HeadersVisible =3D false;
[mailto:email@example.com] On Behalf Of Christian =
Sent: Saturday, December 11, 2004 9:10 AM
Subject: [Gtk-sharp-list] Scrolled TreeView without scrollbars?
I have a TreeView with two columns inside a ScrolledWindow.
If I add a long text to one of the columns, the window increases its =
to show all of the text. I don't want that.
If I set the horizontal scrolling policy to auto or always the window =
isn't changed when the text is added which is good. But I now have a =
scrollbar which I don't want.
So is it somehow possible to have the window to not increase its witdh =
at the same time not show the scrollbar? So the user has to manually
increase the window width too see all of the text?
Christian Rudh <firstname.lastname@example.org>
Gtk-sharp-list maillist - Gtkemail@example.com