GObject - create with arguments.

2005-04-17 Thread Uzytkownik
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 I'm newbie in GObject(before I use C++). Can I create object with arguments? In C++: class xyz { public: xyz(int i); }; Regards. - -- Linux user: #376500 (see http://counter.li.org/) -BEGIN PGP SIGNATURE- Version:

Re: GObject - create with arguments.

2005-04-17 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Uzytkownik [EMAIL PROTECTED] writes: I'm newbie in GObject(before I use C++). Can I create object with arguments? In C++: class xyz { public: xyz(int i); }; Yes. As a (poor) example: MyClass * my_class_new(gint foo,