Re: Text widget redraw.
- From: Scott Gregory <gregory lurhq com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Text widget redraw.
- Date: Fri, 2 Feb 2001 12:21:15 -0500
Sorry, but this is not really an answer, just a 2nd to illicit more
thought/response. I have also seen this and I feel it may be a problem with
the scrolled window. If you select an unexposed page with scrollbars, set
focus to the vertical scrollbar and use <PgDn>, the scroll bar will properly
reflect the ammount of data in the window.
On Friday 02 February 2001 12:14, you wrote:
1. How can I redraw text widget?
[should I emit signal "expose"? :-| or...]
The problem is: I have GtkNotebook widget with some (currently two)
pages. One of the pages is GtkTable with GtkText and two scrollbars.
So if I freeze text, del it all, insert new text and after that
thaw text - I get a mix of the old text and new one (i.e. old text on the
_screen_ wasn't delete and new text is painting on it). But if I
change page in Notebook (from text to other) and after that change it
back I got what I want: no mix, no old text only new one.
How can I redraw text without ugly page switching?
2. Is text's scrollbars (i.e. adjustments) updated automaticly when I
change text stuff? (if I add new text or if I del a piece of text so
on.) or I should do this update manualy? (e.g. emit "changed" signal).
---
Dmitry Ponomaryov
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]