Re: [gtkmm] TextView sizing question



On Wed, 2004-04-28 at 19:42, erik_ohrnberger dme net wrote:
> I've got a TextView inside a ScrolledWindow to allow the user to enter
> multi-lined text entry.  I'd like to force this widget to be of a certain
> size.  Which method to call to accomplish this?
> 
> I've checked the online docs, examples, and class references, but didn't
> find what I was looking for.
> 
> Just a hint or pointer would do me just fine.

Gtk::Widget::set_size_request() might be what you need.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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