Re: How to emit signals in Glib::Object derived modules?


use Glib::Object::Subclass

They parent class is supposed to be here rather than the name of this
class. Glib::Object if you're creating a simple object, Gtk2::Button
(for instance) if you're created a new type of button.

Ok, but I do not want to derive a widget, but create a new object instead.
In other words: I am trying to use Glib's signal/event mechanism for a non-
widget module.
Is this not possible?


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