gtk
Is it possible to use GTK+ in Android?
Is it possible to use GTK+ library with Androi开发者_JAVA百科d?Try GTKAndroid. It still has many limitations at the moment when I\'m writing this comment,[详细]
2023-03-26 21:45 分类:问答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 分类:问答Glade GTK accessing individual widgets
I constructed a database manipulating GUI using glade, for my add button hierarc开发者_如何学运维hy is add->confirmation dialog->(if yes)add data.[详细]
2023-03-26 12:26 分类:问答How do you attach a popup menu to a column header button in GTK2 using PyGObject?
I want to popup a context menu when the user right-clicks o开发者_如何学运维n the header row of a Gtk.TreeView. In GTK3, Gtk.TreeViewColumn has a get_button() method, which makes this easy; simply att[详细]
2023-03-26 09:37 分类:问答Getting a coordinate's pixel color from a GtkDrawingArea
T开发者_StackOverflow中文版he question pretty much sums my question. I\'ve a GtkDrawingArea and its surface (cairo_surface_t) has format CAIRO_FORMAT_INVALID (by default), i.e. \"no such format exists[详细]
2023-03-26 06:02 分类:问答Check webkit version with javascript embedded pywebkitgtk?
Apparently the best way to check the version of webkit is /AppleWebKit\\/([\\d.]+)/.exec(navigator.userAgent)[详细]
2023-03-26 05:05 分类:问答Has threading in GTK w/ Python changed in PyGObject introspection?
I\'m in the process of converting a program from PyGTK to PyGObject introspection for the first time and I\'ve hit a roadblock with threading. I have a process that takes some time to complete, so I p[详细]
2023-03-25 17:36 分类:问答Adding a slider to AppIndicator (Ubuntu 11.04)
I\'m trying to add a slider to an AppIndicator similar to what the Sound Menu has. I\'ve looked through the code of the Sound Menu and found that I should be using libido-0.1.[详细]
2023-03-25 10:40 分类:问答gtk, regexp: how to get groups value
I have following code: gchar **split = g_strsplit(str, \"\\n\", 0); gchar **pointer = NULL; GRegex *line_regex = NULL;[详细]
2023-03-25 03:09 分类:问答Auto scroll a gtkscrolledwindow
I have a form interface with a large number of horizontal drop down and text boxes that are inside a GTKscrolledWindow.The form has to be aligned horizontally because there are an unlimited number of[详细]
2023-03-24 16:27 分类:问答