Re: [gtk-list] Re: Text Entry Size



You can always get the text entry widget to be 3/4 the window or something by
bounding boxes inside of boxes and the like.

Nathan R Heagy wrote:

> Either would work. Of course, proportionally is better, because it can
> compensate for typeface changes.
>
> Thanks,
> Nathan.
>
> -----Original Message-----
> From: Chris Knight <cknite@danville.net>
> To: gtk-list@redhat.com <gtk-list@redhat.com>
> Date: January 15, 1999 10:54 AM
> Subject: [gtk-list] Re: Text Entry Size
>
> >Are you wanting to make the text-entry an exact width or proportionally
> >always, say, 3/4 the window or something?
> >
> >Chris
> >
> >"Sergei O. Naoumov" wrote:
> >
> >> Alexander Kotelnikov <sacha@AK2614.spb.edu> writes:
> >>
> >> > > I am writing a simple GTK program after going through the tutorial.
> My
> >> > > problem is this: how do I set the width of a text-entry box? I want
> the
> >> > > height to remain the same, but I would like the width to be smaller.
> >> >
> >> > You can custom size of any(?) widget with
> >> >     gtk_widget_set_usize(GTK_WIDGET(Your_Widget),X,Y);
> >> >
> >>
> >> This is actually not what he asked. This way you need to tell it both
> >> width and height. Quite honestly, I am plagued with this question for
> >> a long while. Does anyone know how to solve this?
> >>
> >>         Sergei
> >>
> >> --
> >> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
> /dev/null
> >
> >--
> >To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> >
> >
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

--
Chris Knight

Wolfram Research, Inc. - Makers of Mathematica
http://www.wolfram.com





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