GtkEntry maximizing ?



-----BEGIN PGP SIGNED MESSAGE-----

Hi !

I got another small problem: I have a GtkEntry widget that I put into
a scrollable window (gtk_container_add) because the text in there
might well be longer than the window is wide.

Then I gave the GtkEntry a relatively big max-text number to prevent
cutting the line off too early.

Unfortunately the GtkEntry widget resized itself to fit the scrolled
window, so the scrolled window sees no need to scroll... :-)

I can do a gtk_widget_set_usize(text_field, <big number>, -1) and that
works somewhat, but it is a.) ugly and n.) doesn't assure me that
there is all the text displayed at any point.

So what do I do now ? I couldn't find a "maximize" function or
anything like that... suggestions ?

Later,
	Georg

- -- 
Georg C. F. Greve <greve@fusebox.hanse.de>
http://porter.desy.de/~greve/ - ICQ#10016966
"People who fight may lose. People who do not
fight have already lost." -- Bertolt Brecht

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: Processed

iQCVAwUBNaieJVZXgZXDxqJtAQGq9gP/bSpGwNMWvna68mdJl2wPho7wtdUMQOAt
9nXEYfGtBJNib1cyEX0zluTT1B0xL45PlO1Sw+9hPXS7gZq2I8VA/povxAGi1Ajn
rvn5Gs8rhKuV4ZGJFReQxpFuORy5Nt3imHAuSH7dl2nG3GQVe+N6COXj9N7DsvkD
9flTrpB58r8=
=cHRB
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]