[10182] in The GTK GIMP ToolKit mailing list archive
[gtk-list] font width info in GdkFont?
daemon@ATHENA.MIT.EDU (Wayne roberts)
Mon Nov 16 15:07:32 1998
From: Wayne roberts <wroberts1@home.com>
To: gtk-list@redhat.com
Date: Mon, 16 Nov 1998 12:02:48 -0800 (PST)
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Would it be reasonable to add font width info to GdkFont?
as in "short XfontStruct->max_bounds.width"
the reason i ask is that GtkEntry has a fixed requisition width
of MIN_ENTRY_WIDTH of 150, which may be to large for certian layouts
and applications of a text entry widget.
if GdkFont contained the max_bounds.width in XfontStruct, then the
size request function could set requisition->width appropriately.
This would also require some text to be passed to the contsructor
gdk_entry_new() so the width of this entry can be initialized properly.
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null