Qt 4.8
Functions
qwidgetcreate_x11.cpp File Reference
#include "qwidget.h"
#include "qt_x11_p.h"

Go to the source code of this file.

Functions

Window qt_XCreateSimpleWindow (const QWidget *, Display *display, Window parent, int x, int y, uint w, uint h, int borderwidth, ulong border, ulong background)
 
Window qt_XCreateWindow (const QWidget *, Display *display, Window parent, int x, int y, uint w, uint h, int borderwidth, int depth, uint windowclass, Visual *visual, ulong valuemask, XSetWindowAttributes *attributes)
 
void qt_XDestroyWindow (const QWidget *, Display *display, Window window)
 

Function Documentation

◆ qt_XCreateSimpleWindow()

Window qt_XCreateSimpleWindow ( const QWidget ,
Display display,
Window  parent,
int  x,
int  y,
uint  w,
uint  h,
int  borderwidth,
ulong  border,
ulong  background 
)

Definition at line 64 of file qwidgetcreate_x11.cpp.

Referenced by getNetWmState().

67 {
68  return XCreateSimpleWindow(display, parent, x, y, w, h, borderwidth,
69  border, background);
70 }
Q_GUI_EXPORT EGLDisplay display()
Definition: qegl.cpp:589

◆ qt_XCreateWindow()

Window qt_XCreateWindow ( const QWidget ,
Display display,
Window  parent,
int  x,
int  y,
uint  w,
uint  h,
int  borderwidth,
int  depth,
uint  windowclass,
Visual *  visual,
ulong  valuemask,
XSetWindowAttributes *  attributes 
)

Definition at line 53 of file qwidgetcreate_x11.cpp.

Referenced by getNetWmState().

58 {
59  return XCreateWindow(display, parent, x, y, w, h, borderwidth, depth,
60  windowclass, visual, valuemask, attributes);
61 }
Q_GUI_EXPORT EGLDisplay display()
Definition: qegl.cpp:589

◆ qt_XDestroyWindow()

void qt_XDestroyWindow ( const QWidget ,
Display display,
Window  window 
)

Definition at line 73 of file qwidgetcreate_x11.cpp.

Referenced by getNetWmState(), and QWidgetPrivate::isBackgroundInherited().

74 {
75  if (window)
76  XDestroyWindow(display, window);
77 }
NSWindow * window
Q_GUI_EXPORT EGLDisplay display()
Definition: qegl.cpp:589