gobject Questions
1
Solved
I am working with some legacy C code which I need to refactor and generally clean up, to remove spaghetti type programming, adhere to the DRY principle etc.
I was thinking of rewriting using...
4
Solved
The Introduction
Okay, so after version 0.60 of GTK+, the designers realized that for future development and progress, the entire toolkit needed to be rewritten to be object-oriented.
Now,...
2
Solved
all I need some window to host webkit or/and cairo drwaing, but i have to deal with all that first to understand what I'm doing.
now. I'm lost and no more understand what's all that about.
and th...
1
Solved
In PyGTK, what does gobject.type_register() do? The documentation merely says
registers the specified Python class as a PyGTK type
Well, duh. What does registering a class as a PyGtk type do?
...
2
I'm trying to use a Gtk.Switch widget in an app but "activate" signal is not firing by clicks.
It works fine when using the widget with keyboard by hitting reture/space key on it but clicks don't ...
1
Solved
With introduction of GObject introspection the way to access theme colors through widget.get_style() method is gone. I am interested on how to get theme colors when GTK+ is used through GOBject int...
Romberg asked 28/6, 2011 at 0:54
2
I have a script with a GTK(GObject) interface I use for posting to my photo blog.
I'm trying to improve it's responsiveness by loading the images in a background thread.
I've had no luck trying t...
Skiing asked 30/4, 2011 at 5:57
1
Solved
I have written a python script to use gstreamer (pygst and gst modules) to calculate replaygain tags, and it was crashing inconsistently with various gobject errors. I found somewhere that you coul...
Homolographic asked 23/9, 2010 at 22:27
2
Solved
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 wo...
Kyliekylila asked 9/6, 2010 at 6:56
2
Solved
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 ...
2
Solved
GObject class A implements interface IA, B is a derived class of A. How can B override A's method that is part of the interface IA?
Or, is this possible in GObject?
I know how to override parent...
1
Solved
According to GObject reference
g_signal_connect_swapped(instance, detailed_signal, c_handler, data); connects a GCallback function to a signal for a particular object. The instance on which the...
3
Solved
I've created a python object, but I want to send signals on it. I made it inherit from gobject.GObject, but there doesn't seem to be any way to create a new signal on my object.
© 2022 - 2024 — McMap. All rights reserved.