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
Messing around with Groovy for a work project I ran 开发者_运维技巧into this oddity: def string = \"__RNDHPD(70.2300000..70.2310000)\"
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
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?
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
I 开发者_如何学Goam trying to import GDK to my program however I continue to get an error No module named GDK
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
I\'m investigating an issue and ran across some suspicious code involving com开发者_StackOverflow社区parison of Date instances using comparison operators. e.g.
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
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开发者_开发百科