font width info in GdkFont?
- From: Wayne roberts <wroberts1 home com>
- To: gtk-list redhat com
- Subject: font width info in GdkFont?
- Date: Mon, 16 Nov 1998 12:02:48 -0800 (PST)
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]