Re: Calculating the size of TextView
- From: Johan Mattsson <johan mattsson m gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Calculating the size of TextView
- Date: Sat, 24 Nov 2012 08:02:55 +0100
On Sat, Nov 24, 2012 at 8:02 AM, Johan Mattsson
<johan mattsson m gmail com> wrote:
Thank you, this is good news.
My hack to set the size for TextView, is to call set_text when ever
it's parent is drawn. Far from good code but it works:
vbox.draw.connect (() => {
text_view1.set_buffer (text_buffer1);
return false;
});
/Johan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]