Re: XForms: Pixmaps need callbacks ?

Matthew Flax (flatmax@cse.unsw.EDU.AU)
Sat, 16 Aug 1997 01:22:47 +1000 (EST)

To subscribers of the xforms list from Matthew Flax <flatmax@cse.unsw.EDU.AU> :

On Thu, 14 Aug 1997, Steve Lamont wrote:

> To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
>
> > Note: I know it enters the callback as I usually have a cout or printf
> > statement which says something like "updating MSsecond" in the callback.
> >
> > I'm wondering if thre is another way of updating a pixmap object, although
> > these methods work before control is passed to the fl_do_forms() loop, I
> > really need the pixmaps to be updated during the fl_do_forms loop.
>
> Run the program with the -sync and -debug flags (set debug level to 5
> -- that's the maximum) and see if that tells you anything.

When I do the above I get the following :

[..snip..]
In NewPixmap [pixmap.c 119] Pixmap=54525965 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525968 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525971 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525974 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525977 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525980 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525983 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525968 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525971 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525974 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525977 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525980 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525983 mask=0
In NewPixmap [pixmap.c 119] Pixmap=54525986 mask=0
****CreateWin OK**** sleeping 3 seconds
In CreateGC [flcolor.c 489] For PseudoColor
waiting Event(21,w=0x3400032 s=662) ReparentNotify
In Reparent [win.c 389] Full x=0 y=0 bw=0
In Reparent [win.c 402] Full x=5 y=22 bw=0
waiting Event(22,w=0x3400032 s=662) ConfigureNotify (392,381) w=250 h=50
Syn
waiting Event(19,w=0x3400032 s=664) MapNotify
waiting Event(12,w=0x3400032 s=664) Expose count=0 serial=298
In EventCallback [events.c 34] Unknown window=0x3400032
Ignored Event(12,w=0x3400032 s=664) Expose count=0 serial=298
In WMReparent [win.c 443] Shift: reqy=359 y=381
In XpmCleanUP [pixmap.c 66] Using 3.4g features--Try again
Xlib: unexpected async reply (sequence 0x2e0)!

Can you see the problem ?
Many fresh vegetables to you too !
Could it be due to the line :
In EventCallback [events.c 34] Unknown window=0x3400032
?

Matt

> You mentioned in your first posting something about some other
> non-XForms GUI being involved. Did I misunderstand what you said?
> Can you elucidate?

No - I don't have any other gui programming skills apart from java.
Hence only using xforms.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/