xlib
Set X11 cursor to arrow
I attempted the following in a call to XCreateWindow(开发者_如何转开发): unsigned long ctt_attribute_mask = CWWinGravity | CWCursor;[详细]
2023-03-21 04:54 分类:问答How to draw an image from file on window with Xlib
This is my code: int main() { Display *d = XOpenDisplay(0); unsigned int bitmap_width, bitmap_height; int x, y;[详细]
2023-03-18 10:06 分类:问答selective RECORD using python xlib?
I\'m trying to implement clickable areas on the root window, using python xlib\'s RECORD extension. this is what i\'ve got so far:[详细]
2023-03-18 03:41 分类:问答Set a image(jpeg | png) backgound using GLX ( opengl and Xlib)
I create a x11 window with opengl functionality, i need to load a image(jpeg | png) on its background where size of window be bigger than image, it doesn\'t matter. I surfed to get resylts like use De[详细]
2023-03-14 08:31 分类:问答Load image onto a window using xlib
I\'ve createdwindow class and i want to insert an image as a background of that window. File formats need to be png. I used XImage of magick++ to load an image. but don\'t know how to make its as a ba[详细]
2023-03-13 20:45 分类:问答minimize fullscreen Xlib OpenGL Window
I\'m currently trying to enable alt-tabbing out of my fullscreen Xlib OpenGL window, but am having some difficulties.I\'ve tried XUnmapWindow(..), which kindof works, but the resolution does not reset[详细]
2023-03-13 09:45 分类:问答Get relative position of mouse in a window in x11
I need to get the relative position of mouse pointer in the window in which it is clicked, i\'ve coded to capture the click event, but when i use this code[详细]
2023-03-13 03:45 分类:问答Enable antialiasing using Xlib
I\'m trying to develop a custom set o开发者_如何学JAVAf libraries for creating GUIs in Linux, with, you know, widgets, buttons, etc. So I\'m now learning to creating user interfaces using X11 and its[详细]
2023-03-12 20:39 分类:问答Desktop effects (compiz) turned on: How to capture the image of a window WITH border/frame/title bar?
I would like to get the image of an X server Window (toplevel window, parent is the root Window) with its border/frame/title bar. I have already tried several libraries (Xlib, XRender, gdk, cairo) but[详细]
2023-03-10 13:10 分类:问答Are Xlib's graphic functions fast?
I am a absolutely new GUI programmer with very little experience (except some small apps in Java). I am considering writing a small app that needs simple 2D graphs. I don\'t know if I should use Xlib[详细]
2023-03-08 18:03 分类:问答