in reply to How to get the width/height of a Tk::Button widget?
$widget->cget() returns the configured value which may be:
Try using $widget->height() and $widget->width(). Both give the value in pixels. See Tk::Widget for details.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to get the width/height of a Tk::Button widget?
by bcarroll (Pilgrim) on Feb 06, 2012 at 19:06 UTC |