Dynamic Object

2005-10-30 Thread Kranz, Willi
Hallo all! I have to create ca. 50 Objects in an application. Each Object has 2 Eventboxes, 2 Labes and a Pixmap and 2 or 3 callback-functions. It is possible to make such Object and to create it perhaps with objectPTR = new SuperObject(). Or what is the best way to solve this problem.

Re: g_module...: module calls function of core applicatioin

2005-10-30 Thread Simon Bone
On Sun, 2005-10-30 at 19:24 +0100, David Necas (Yeti) wrote: > On Sun, Oct 30, 2005 at 05:43:21PM +0100, Tobias Kipfelsberger wrote: > > I have a plugin which is registered and loaded with the g_module functions. > > So far so good everything works find. > > But how can i let the modul access a fun

Re: g_module...: module calls function of core applicatioin

2005-10-30 Thread David Necas (Yeti)
On Sun, Oct 30, 2005 at 05:43:21PM +0100, Tobias Kipfelsberger wrote: > I have a plugin which is registered and loaded with the g_module functions. > So far so good everything works find. > But how can i let the modul access a function of the coreapplication? > > Example: > in CoreApplication.h: >

Re: problems with window size

2005-10-30 Thread Dan McMahill
Daniel Pekelharing wrote: Hi, I had this same problem with a dialog I created.. I got it to look OK by just setting in a fixed size request on the GtkScrolledWindow like such: gtk_widget_set_size_request(scrolled_window, 300, 200); Of course this is not the perfect solution, but I find it a

g_module...: module calls function of core applicatioin

2005-10-30 Thread Tobias Kipfelsberger
Hi... I have a plugin which is registered and loaded with the g_module functions. So far so good everything works find. But how can i let the modul access a function of the coreapplication? Example: in CoreApplication.h: G_MODULE_EXPORT void setCoreMenuAppbarText (const gchar* text) {} in plugi

Re: problems with window size

2005-10-30 Thread Daniel Pekelharing
Hi, I had this same problem with a dialog I created.. I got it to look OK by just setting in a fixed size request on the GtkScrolledWindow like such: gtk_widget_set_size_request(scrolled_window, 300, 200); Of course this is not the perfect solution, but I find it a lot better than tiny sized wi