Re: Started adding GObject signals to gnome-class



On Sat, 2017-09-02 at 10:20 +0300, Sebastian Dröge wrote:

Things to come:
- Some GObject interface

Yes, please!  I'm thinking that right now we have

gobject_gen! {
    class Foo: Parent {
        ...
    }
}

should we also allow "interface" as well as "class" in there?

Definetely! And similar to traits, you can have default
implementations for the interface methods or leave them
unimplemented.

Oh and interfaces can also have properties (to be
implemented/overridden by implementors) and signals.

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]