Specifying size of Entry and Text widgets

I haven't been able to figure this out from the documentation, so
apologies if this is a stupid question.

Is there a way to specify the on-screen size of Entry and Text widget, in
units of character widths (or "nominal" character widths for a
proportional font) and lines?  The "set_usize" function for the Widget
class appears to operate in pixels, which isn't the most natural unit for
Entry and Text widgets, and is indeed a bad unit to use if you want a
modicum of font sensitivity.


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