gobject
Python bindings for a vala library
I am trying to create python bindings to a vala library using the following IBM tutorial as a reference.[详细]
2023-01-03 14:37 分类:问答Is there a good way to copy a Gtk widget?
Is there a way, using the Gtk library in C, to clone a Gtk button (for instance), and pack it somewhere else in the app. I know you can\'t pack the same widget twice. And that this code obviously woul[详细]
2023-01-03 07:08 分类:问答Should a g_object_new have a matching g_object_unref?
I\'m using libnotify to show desktop notifications in my application; notify_notification_new()returns a NotifyNotification*, which should be passed as the first param to further function calls of the[详细]
2022-12-31 13:14 分类:问答Using `g_object_set_data` for passing user name
I am using g_object_set_data to set user name with event_box so in call back i can get it with in event_box pointer.[详细]
2022-12-29 06:16 分类:问答Is there an alternative to gobject.timeout_add() in Python?
I\'m using gobject.timeout_add() to display a timer in my project (dojotools). I was wondering if there is 开发者_如何学运维any other way to achieve the same results, but without the gobject dependen[详细]
2022-12-22 18:21 分类:问答GObject.add_emission_hook usage
I was kindly directed to use GObject\'s \"add_emission_hook\" following a recent question on SObut I can\'t seem to find a usage ex开发者_Python百科ample.[详细]
2022-12-17 12:51 分类:问答GObject Subclassing in Ruby for custom CellRenderer in GtkTreeView
I am trying to implement a customized CellRenderer in Ruby/GTK, and I\'ve already found this suggestion:[详细]
2022-12-16 19:23 分类:问答gobject io monitoring + nonblocking reads
I\'ve got a problem with using the io_add_watch monitor in python (via gobject). I want to do a nonblocking read of the whole buffer after every notification. Here\'s the code (shortened a bit):[详细]
2022-12-09 07:36 分类:问答