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

Re: width of GtkEntry



Deborah Swayne wrote:
> 
> Is there some simple way to set the width of a GtkEntry based
> on the number of characters it will hold?  I see how I can
> restrict the number of characters, but how about the geometry?

I don't know if this can help you (I'm quite a newbie to GTK too...) but
with 

gtk_widget_set_usize(GtkWidget *widget, width, height);

you can set the width of your GtkEntry i guess...

Greetzzz
Bart

-- 
Bart Vandewoestyne		http://hello.to/MC303		
Hugo Verrieststraat 48		Bart.Vandewoestyne@skynet.be
8550 ZWEVEGEM			ICQ# 21275340
BELGIUM - EUROPE		nick: MC303
Phone: +32(0)56/75.48.11
-------------------------------------------------------------
"If we knew what it was we were doing, it would not
 be called research, would it?"
				-- Albert Einstein --




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