[Xpert]Xt and dialog box

2002-03-06 Thread Jean-Yves Lamoureux

Hi, I would like to use Xt on a hand-made window. 
Is there doc or tutorial about this ?
Thanks a lot

Jylam
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Smallest X initialisation

2002-02-20 Thread Jean-Yves Lamoureux

Hi all

I was wondering if my initialisations was ok.
Here is the smallest Xlib init I can have (open a window and create an 
ximage).

Has anyone smaller ?

  display = XOpenDisplay (NULL);
  root_window = DefaultRootWindow (display);
  window = XCreateWindow (display, root_window, 10,  10, 320, 200, 0, 16, 1, 
visual, 0,  0);
  XMapRaised (display, window);
  XFlush (display);
  ximage = XCreateImage (display, CopyFromParent, depth, ZPixmap, 0, NULL, 
320, 200, 32, 320 * 2);



-- 
Jean-Yves Lamoureux
Software Developper
---
As you see I'm working :
LinesFile
640 /prive/alambik/video/video.c
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert