pygtk
Python AppIndicator bindings -> howto check if the menu is open?
Here is a minimal example of an AppIndicator: #!/usr/bin/python import gobject import gtk import appindicator[详细]
2023-03-27 22:47 分类:问答Reopened PyGtk window is empty
I am working with Glade to make a simple GUI application using PyGTK. I have two windows, one only showing up when a button i开发者_开发技巧s pressed.[详细]
2023-03-27 20:29 分类:问答Cannot Import GTK in Ubuntu Python 2.7
I\'m trying to import GTK in Ubuntu Python 2.7, and I get the following error. PyGTK imports just fine. When I import gtk, I get the following error:[详细]
2023-03-27 18:47 分类:问答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 分类:问答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 分类:问答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 分类:问答Python GtkTreeview; How to refresh the list when an item is selected
I\'m making a rudimentary file manager and am stuck on the question in my post\'s title. First it looks in a directory, generates a list of items, and appends them to the treeview list.[详细]
2023-03-24 10:56 分类:问答Cannot Import GST in Python
I\'m in a quandary. I\'m following the following tutorial (specifically, 6.4.2) http://majorsilence.com/pygtk_audio_and_video_playback_gstreamer[详细]
2023-03-24 05:55 分类:问答Developing T.120 protocol in Python
I am creating a chat application which supports chat, group chat, file sharin开发者_Python百科g, whiteboard(not mandatory). I make it own to contribute fedora. if anyone wants to join to grow it welco[详细]
2023-03-24 03:44 分类:问答Gnomeapplet - Seeing only a white dot where an entry and a button should be
I have written a gnomeapplet for gnome-panel, and the corresponding server file. Everything seems to work fine when I use the \"debug mode\", but when I try to load the applet from the panel it shows[详细]
2023-03-23 21:30 分类:问答