[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] Problem with redrawing/updating a pg_window widget
From: |
Mark Prins |
Subject: |
Re: [paragui-users] Problem with redrawing/updating a pg_window widget |
Date: |
Mon, 13 Jan 2003 20:35:18 +0100 (CET) |
Forgive me asking...
I just found out what I was doing wrong..
At some point in the code i created a NEW label and did not throw away the old
one, so there was an
extra label. That way it did leave a smudgy text behind cuz it had put another
text over the first one.
Forgive me my mistakes :-)
Greets,
Mark
On Mon, 13 Jan 2003, Mark Prins wrote:
> It is probably a little thing I overlooked somewhere, but im having a hard
> time with it right now.
>
> I have created a PG_Window widget, and added a few labels to it and some
> buttons.
>
> When the app is running, I update the contents of some of the PG_Label's in
> the PG_Window (using the buttons),
> With the callback functions I the .Redraw unction of the PG_Window, which
> should redraw the widget and his contents.
>
> The problem is that it draws the labels right over the other ones which
> (after being called a few times) will
> leave a smudgy looking window. I thought it would redraw the widget and would
> not leave the previous text on it.
>
> What am I doing wrong?
>
> Thanks in advance,
>
> Mark Prins
>
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/paragui-users
>