How to set "character" width of GtkEntry widget?

From: Date: Thu, 24 Apr 2003 04:30:52 +0000
Subject: How to set "character" width of GtkEntry widget?
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3271@lists.php.net to get a copy of this message
Hi - I'm just starting out with gtk-php and am muddling my way through some things. I'd dig through the apps up on the website, but it's broken at the moment... One thing I can't figure out is how to make a narrow GtkEntry widget. I know I can do use set_usize(), but that's in pixels and it seems like the wrong way to make a narrow widget??? What I'm looking for is the equivalent of the SIZE attribute in HTML for "<input type=text name='foo' size=5>"? Does that exist? If it doesn't, is the height of a GtkEntry *always* the same (since there is no way to set one and not the other)??? Thanks all! -philip

« previous php.gtk.general (#3271) next »