Re: gtk_text_view_set_window_size()
- From: Havoc Pennington <hp redhat com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list redhat com
- Subject: Re: gtk_text_view_set_window_size()
- Date: 24 Jun 2001 11:23:04 -0400
Owen Taylor <otaylor redhat com> writes:
> if (text_view->layout)
> {
> text_view->text_window->requisition.width = text_view->layout->width;
> text_view->text_window->requisition.height = text_view->layout->height;
> }
> else
> {
> text_view->text_window->requisition.width = 0;
> text_view->text_window->requisition.height = 0;
> }
This size_request code used to use the text window size instead of
setting it I think. (Text window size used to just default to 200x200
remember and you could set it to another size, then we decided to make
it match the scrollable area as with clist.)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]