Re: [gtk-list] Re: Text Entry Size
- From: Kevin Cozens <kcozens interlog com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Text Entry Size
- Date: Mon, 25 Jan 1999 13:22:23 -0500
At 11:00 AM 15/01/1999 -0500, you 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?
>From what I've seen in the source for GIMP, you use -1 for the argument you
don't wish to change.
Cheers!
Kevin. (http://www.interlog.com/~kcozens/)
Internet:kcozens at interlog.com |"What are we going to do today, Borg?"
or:ve3syb at rac.ca |"Same thing we always do, Pinkutus:
Packet:ve3syb@va3bbs.#scon.on.ca.na| Try to assimilate the world!"
#include <disclaimer/favourite> | -Pinkutus & the Borg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]