Motif Application will not refresh


 
Thread Tools Search this Thread
Top Forums Programming Motif Application will not refresh
# 1  
Old 05-16-2014
Motif Application will not refresh

I have a Motif Application created with XtVaAppInitialize. I have two field widgets, created with XmCreateTextField. Now when I programmatically change the data in any of the two fields, the widgets don't get refreshed, only after a mouse over.
I have tried anything, from including the "xrefresh" sources, to including the following code...
Code:
XClearArea(XtDisplay(SPMtopWidget),XtWindow(SPMtopWidget),0,0,width,height,TRUE);
XFlush(XtDisplay(SPMtopWidget)); ...

but nothing seems to refresh the Application.
Anone?
I am running Solaris 10 and CDE 1.6.2.
Moderator's Comments:
Mod Comment Please use CODE tags when displaying sample input, output, and code segments.

Last edited by Don Cragun; 05-16-2014 at 03:56 AM.. Reason: Add CODE tags.
# 2  
Old 05-21-2014
Did you change the text with all the funky callbacks? XmTextField(3X)
# 3  
Old 05-22-2014
No, I used XmTextSetString
# 4  
Old 07-02-2014
Well, google and tinker!
# 5  
Old 07-04-2014
Wow, you are such a great help. Unemployed are you?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Change font in Motif

Does anyone know how to change the font size into a larger one, in a basic Motif application? (1 Reply)
Discussion started by: JenniferKuiper
1 Replies

2. Solaris

Motif 2.1 migration from Motif 1.2

An application was getting built using Motif 1.2 that used come along Solaris 6 OS for compiling and linking. Application is run using Motif 2.1 on Solaris 10 and it is working fine. Application compilation and linking is working fine on Solaris 10 with Motif 2.1.0 but running the application... (0 Replies)
Discussion started by: shafi2all
0 Replies

3. Solaris

Motif 1.2 support on Solaris 10

Hello, I used to compile and link the code on Solaris 6 using Motif 1.2 (that used to come as part of Operating System) I would like to use the same version of Motif 1.2 for compilation and linking on Solaris 10. But Solaris 10 has Motif 2.1.0 as default. Is Motif 1.2 supported on... (0 Replies)
Discussion started by: shafi2all
0 Replies

4. UNIX for Advanced & Expert Users

motif application crashes while calling XtDestroyWidget

Hi All, We have a 32bit Motif Gui application. Now we ported the application from Solaris to Linux and the system is crashing very frequently. On our analysis we could find that this issue happened when we are closing the forms in our application. When the forms are closed we will delete the forms... (0 Replies)
Discussion started by: sanushchacko
0 Replies

5. HP-UX

motif reqired for hp-ux 11.11

hello everyone, where can i download motif compatible with HP-UX 11.11.which motif version i have to use. can i use openmotif 2.3 for HP-UX 11.11. pls somebody suggest a solution .it's very urgent. any help appreciated. with regards, Srini (0 Replies)
Discussion started by: mannam srinivas
0 Replies

6. UNIX for Dummies Questions & Answers

Refresh ls list on screen (auto-refresh)?

I am looking for a way to issue a command or string of commands to repeatedly display new files that are written to the directory. I usually use ls -ltr to see the newest files at the bottom of the screen. I would like to automate this command to refresh what is displayed every second or so. Can... (3 Replies)
Discussion started by: skidude
3 Replies

7. Programming

motif help

Hi everyone, I am new in motif programming and I want to learn how to program it. I use Fedora core 3 and every time I compile the program, there are always some errors appear. One of the errors said that I do not have the Xm/xxxx.h However, I do not know precisely how to install header files. I... (0 Replies)
Discussion started by: qqq
0 Replies

8. Programming

Motif - RedHat 7.3

Can somebody help me... I have insalled RedHat 7.3 on my computer and there is motif 2.x and i want to compile a cource code but it doesn't work it says Xm/PushB.h not found..something like that.. I'm trying like this : gcc -o x x.c -lXm -lXt -lX11 pleas help me (3 Replies)
Discussion started by: CreamHarry
3 Replies

9. Programming

Motif

Do you think that Motif programming is old...should I learn it... (3 Replies)
Discussion started by: CreamHarry
3 Replies

10. Programming

Motif resources

I am very glad to be a member of you. where can i look for the resource programe examples about motif? please help me!Thanks a lot. (3 Replies)
Discussion started by: q30
3 Replies
Login or Register to Ask a Question