[XFree86] How to hide a widget?

2003-08-14 Thread james amen atayi
Hallo!

I need please help on how to hide a widget when I'm using XtRealizeWidget to 
realize it.
Bellow a piece of code to show how I'm proceding.



[begin of code]

Widget my_Widget;
Display* display;
XtAppContext appContext;

...

my_Widget = XtVaAppInitialize(appContext, my_App,
   cmdLineOptions, numCmdLineOptions,
   argc, argv, fallback_resources,
   dopyborderWidth, 0, NULL);
...

display = XtDisplay(my_Widget);
XtRealizeWidget(my_Widget);
[end of code]

I would like to include some code before or behind 
XtRealizeWidget(my_Widget); to hide the
widget.


thanks a lot for helping.

james

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] XtVaSetValues arguments list

2003-08-14 Thread james amen atayi
Hallo!

where to find the argument list (...) from  void XtVaSetValues(w, ...) where w 
is a widget?

Regards

James

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] wich framebuffer?

2003-07-11 Thread james amen atayi
Hallo!

I'm using the VESA driver with a VGA compatible controller: Matrox Graphics, 
Inc. MGA G400 AGP (rev 85) . How do I determine which frammebuffer is 
actually in use?

thanks for helping.

james



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: FWD: RE: [XFree86] read directly from the video card framebuffer

2003-07-11 Thread james amen atayi
Am Freitag, 11. Juli 2003 14:16 schrieben Sie:
 [EMAIL PROTECTED]
well,

The thing is that I know it must be possible to do it. Commercial products do 
the same job. Camtasia for example records on windows the screen. I can 
allready do it using xwd or other tools to make the screenshots. The problem 
is that with these tools the mousepointer disappears when
a screenshot is made. The user can no more work properly. So I'm thinking in 
the way to do it as the VESA driver refresh the screen.Just send the 
framebuffer output, in this case  not to the display but into a file with a 
very simple command like  cp framebuffer file. I want to use
for this example the VESA framebuffer that is fb0. (path /dev/fb0). But it is 
not working properly.
The file I create is very big a can't be displayed.

here how I'm processing.

[begin of code]
[EMAIL PROTECTED] cp /dev/fb0 t1
[EMAIL PROTECTED] dir t1
-rw-r-1 userusers33554432 2003-07-11 14:35 t1
[EMAIL PROTECTED] display t1
display: Incorrect image header in file (t1).
[end of code]

Any idea or comment?


thanks


James

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] read directly from the video card framebuffer

2003-07-11 Thread james amen atayi
Am Freitag, 11. Juli 2003 16:39 schrieben Sie:
Amen!

Thanks a lot!

but in the way vnc realises to capture the display I would like to be able to 
do it. 

nice week-end 

james

 On Thu, Jul 10, 2003 at 11:06:22AM +0200, james amen atayi wrote:
  Hallo!
 
  Is it possible to directly read the video card output and save it into a
  file as a screen shot?  I have to capture for a long time the display.
  Doing it making screen shots is not a good solution. That why I'm trying
  to find out how to capture the video card output. In other way, how can I
  record the screen as a movie file without making screen shots?
 
  thank for your help

 OK, this is messy and only an outline of what to do, but I think I have a
 couple ways for you to solve your problem.

 On a Windows box:

1) Install an X windows implementation such as X-Win32 (the one I use)
   or Cygwin.
2) Obtain one of many Windows utilities to make a movie out of screen
   activity (I have no direct experience with such packages -- I hear
   there are many such as gifgifgif and Camtasia).
   of the package he uses is not in right now).
3) Set up the security on your Windows-box X server so your XFree86 box
   can access the X server.  You likely just have to put the IP of the
   XFree86 box into some security dialog.

 On the XFree86 box where you'd like to do the video capture:

4) Reset the DISPLAY environment variable to your Windows box IP with

   :0 for the display number (or whatever it takes to redirect the
   : windows

   to your Windows box and start your XFree86 application.

 The biggest issue I think you'll have is running a window manager and
 keeping it from interfering with the appearance of your application.

 Here's the alternate (probably better) solution...

 On a Windows box:

1) Obtain a VNC client for Windows.
2) Obtain a Windows screen capture movie program (same as #2 above).

 On your XFree86 box:

3) Install VNC server and VNC client.
4) Start a VNC server with :1 as the display.
5) Start your application with :1 as the display.
6) Start the VNC client using :1 as the display -- go full screen.
   [At this point you should be able to do whatever you would on
   your XFree86 box and your VNC client will display the activity.
   It should look normal to you (not crucial, but reassuring).

 On the Windows box (suggested order of events):

7) Start your screen capture utility.
8) Start your VNC client using the XFree86 IP address and display :1
   then go full screen.
9) Do whatever work you'd like to do on the XFree86 box via the VNC
   client on your Windows box.  When you're done just stop the screen
   capture utility.  You naturally have to edit the captured result
   to drop whatever you don't want at the start.

 Please accept the above as concepts.  I have tinkered around with trying
 to capture XFree86 activity on Redhat 7.3 and did set up a VNC client on
 Windows/NT (full screen) so I could see what was happening on the XFree86
 box.  I never took the next step of recording the activity, I simply made
 a recommendation to a gentleman who wanted to go to the next step.

 Good luck!
 Joel Breazeale
 ___
 XFree86 mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/xfree86


 To: [EMAIL PROTECTED]


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] read directly from the video card framebuffer

2003-07-10 Thread james amen atayi
Is it possible to directly read the video card output and save it into a file 
as a screen shot?  I have to capture for a long time the display. Doing it 
making screen shots is not a good solution. That why I'm trying to find out 
how to capture the video card output. in other way how can I record the screen 
as a movie file without making screen shots?
 
thank for your help

James


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] read directly from the video card framebuffer

2003-07-10 Thread james amen atayi
Hallo!

Is it possible to directly read the video card output and save it into a file 
as a screen shot?  I have to capture for a long time the display. Doing it 
making screen shots is not a good solution. That why I'm trying to find out 
how to capture the video card output. In other way, how can I record the 
screen as a movie file without making screen shots?
 
thank for your help

James


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] read directly from the video card framebuffer output

2003-07-10 Thread james amen atayi
Hallo!
 
Is it possible to directly read the video card output and save it into a file 
as a screen shot?  I have to capture for a long time the display. Doing it 
making screen shots is not a good solution. That why I'm trying to find out 
how to capture the video card output. in other way how can I record the screen 
as a movie file without making screen shots?
 
thank for your help

James


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86