I noticed after your response (thank you for that when I canceled the
Timeout by returning false from the callback that the libbamf signal
callbacks also stopped, which I found curious, because if it was a setup
thing and if the Timeout was doing some sort of setup, then surely after
the Timeout
Hello!
I'm having issues getting signals to callback in my Vala application and
I'm kind of at a loss. I'm fairly confident that this is a setup issue
relating to Gtk.Appplication.run() and Gtk.main() but I cannot be sure.
Here's my basic setup:
main () creates and runs a Gtk.Application which
I suspect your connect was done before a
main loop was created and libbamf doesn't
automatically create one. Timeout, on the
other hand, will cause a default main loop
to be created.
Nice day
Nor Jaidi Tuah
PRIVILEGED/CONFIDENTIAL information may be contained in this message. If you
are
Hello there!
I've being experiencing a bug for a while now and I have no clue how to
solve it. The situation is as follows:
I have a set of classes (most of which handle some GtkWidget build from
a Glade XML using a GtkBuilder instance). One of those classes has a
GtkGrid and another has a
Victor,
truth is I don't have the code on me right now and I won't have access
to my email during the weekend 'cause I can only use the connexion at
work.
The code (at least the relevant part) looks kinda this (I promise I'll
send the actual one on monday):
class UIBuilder : Object {
private
On Thu, 2010-04-08 at 07:38 -0500, Sandino Flores Moreno wrote:
I think the real question is:
Does GObject allow same signal redefinition?
Personally, I don't think it's supported, but I don't really know.
Since signals are always something abstract and they don't require any
implementation,
Hi,
I have upgraded from vala 0.7.6 to 0.7.9 and now when I compile the same
code, i get this error:
Signals with the same name as a signal in a base type are not supported
The error is in GenericItem. Here is an excerpt from the code.
public interface IItem : GLib.Object {
public abstract
with keybindings that don't necessarily connect to a (clicked-, ..)
signal of existing widgets.
Is there some way around this problem until the patches land? Have I
missed some GLib functionality that can be applied to the Vala signals?
Best regards,
Julius
I have a glade file which places a treeview item inside a window.
I want to create a treeview object using Glade.XML:
public class Simple : GLib.Object
{
private Gtk.TreeView treeview;
public Simple ()
{
Glade.XML xml = new Glade.XML (...);
Gtk.Window window =
http://bugzilla.gnome.org/show_bug.cgi?id=561989
test case:
class AAA {
public AAA() {
}
public signal void changed();
public void change() {
changed();
}
public static int main(string[] args) {
AAA aaa = new AAA();
aaa.changed+= (o) = {
10 matches
Mail list logo