Re: GObject Singleton

2005-09-08 Thread Stefan Kost
hi, Uzytkownik wrote: I have singleton A and subclass B, C and D. 1. How do it in GObject? The sigleton pattern is usually realized by having a factory method. The application would use e.g. gdk_display_manager_get() which returns a reference to always the same GdkDisplayManager object.

Re: GObject singleton.

2005-09-08 Thread Stefan Kost
hi, Uzytkownik wrote: I have class A(abstract), which is singleton. It have subclasses called B, C and D. Is it possible that create class B overload static A methods? If A is abstract, than the default virtual methods will just have a g_return_if_reached() and a subclass not overloading

Flash player in GTK

2005-09-08 Thread bhaber
Hello, everyone. I'm developing a rather complicated interface in GTK for a project and I want to integrate some flash animations into it, triggered by button clicks. (Click a button, a flash animation appears in a box in the same window, stuff like that.) I've checked out swfdec, but apparently