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...
Horbal asked 1/5, 2012 at 8:42

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,...
Wooton asked 17/3, 2012 at 5:10

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...
Pena asked 12/3, 2012 at 13:3

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? ...
Altagraciaaltaic asked 28/10, 2011 at 9:12

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 ...
Pyromagnetic asked 19/8, 2011 at 11:33

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 ...
Naoise asked 17/5, 2010 at 10:30

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...
Merimerida asked 22/10, 2009 at 11:46

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...
Ylla asked 31/1, 2010 at 12:57

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.
Berkowitz asked 15/9, 2008 at 20:41

© 2022 - 2024 — McMap. All rights reserved.