gdk
Simulate mouse/keyboard events (gtk + HOOPS 3D)
how can I simulate mouse/keyboard events in gtk/gdk? I have a window widget containing HOOPS 3D widget and need to simulate mouse clicking on various parts of the window, along with simulating keyboar[详细]
2023-04-11 10:34 分类:问答Bug in the Groovy 1.8.0 String class .tokenize(String) method?
Messing around with Groovy for a work project I ran 开发者_运维技巧into this oddity: def string = \"__RNDHPD(70.2300000..70.2310000)\"[详细]
2023-04-01 19:25 分类:问答How do you use GdkRectangle to determine whether you size-allocate is growing or shrinking?
I have a callback for the size-allocate signal on my GtkScrolledWindow.I want to scroll to the right when I am adding stuff to 开发者_StackOverflow社区that window.This works fine but introduces a subt[详细]
2023-03-31 02:29 分类:问答Get screen vendor and serial number under Linux
I have an instance of Gdk::Screen wh开发者_开发技巧ich represents a monitor connected to my computer. How can I read that monitor\'s vendor ID and/or serial number?[详细]
2023-03-26 17:20 分类:问答Create Gtk.Atom with PyGobject Introspection and Gtk+3
Context: There was once a post on preventing window overlap with Gtk+2.x Recent changes in Gtk+3 have however affected the gdk_property_change() function, which has the PyGobject Introspection (hereaf[详细]
2023-03-07 10:11 分类:问答Problems importing GDK
I 开发者_如何学Goam trying to import GDK to my program however I continue to get an error No module named GDK[详细]
2023-03-03 11:37 分类:问答Problem with gdk.Pixbuf in gtk# Mono
I\'m creating a small drawing program in Mono gtk# and using the Cairo graphics library. I\'m coding and compiling on a MacOs X system. I have a drawable object which I put into Pixbuf at a certain ti[详细]
2023-02-21 02:36 分类:问答Using Groovy comparison operators with Date objects
I\'m investigating an issue and ran across some suspicious code involving com开发者_StackOverflow社区parison of Date instances using comparison operators. e.g.[详细]
2023-02-09 06:42 分类:问答gtk.gdk: make image 50% grayer
I have an开发者_如何学编程 image wiht gtk.gdk. I want to make it look grayed out, so I wanna do something like draw a gray rectangle over it with 50% alpha value. How would I do this? The docs are so[详细]
2023-02-09 06:38 分类:问答Gtk+: How to set the cursor of a window from a Cairo context?
I have written the following code to set the cursor of a Gtk::Window from a Cairo::Context. When I run the program and move the cursor into the window, the cursor changes to a horizontal开发者_开发百科[详细]
2023-02-08 18:46 分类:问答