Re: Newbie text widget question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3 May 2001, Havoc Pennington wrote:

::
::Vicki Stanfield <vicki stanfield net> writes:
::> I have programmed using Motif for several years but am just beginning
::> with GTK. I have created a window  with two text widgets on it. Each
::> widget displays only part of the text instead of defaulting to the size
::> required to display it all. I have toyed with the word wrapping and text
::> wrapping functions but can't get it to enlarge the window so that all
::> text is displayed. Any hints?
::>
::
::If the user can't edit the text to make it huge and you know the text
::will be smallish, just use GtkLabel. If the user can edit the text or
::the text might be big, do you really want this to happen?
::
::This is the rationale for why the text widget behaves as it does,
::anyway. Can you explain the situation or behavior you want in more
::detail?
::
::Havoc

Actually I am trying to create a window with some static text in addition to
some other widgets. Am I supposed to use a text widget for this or a label
widget? Since the text is static, sizing should not be a problem.

Have a good day!
- -Vicki
+-----------------------------------------------------------------+
|              E-mail:  vicki thepenguin org                      |
|    My public key - http://www.thepenguin.org/vicki/key.txt      |
|         My Linux page - http://www.thepenguin.org               |
+-----------------------------------------------------------------+
**The best things in life aren't things.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE68eHTvFwCsl/kaSARAqN6AJ9dV2dPzsfqsk4aVVxe2mXtc5i27gCggI3q
TE4dsuvoxtKDC4sjvNl7V6k=
=7Qze
-----END PGP SIGNATURE-----





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