Re: Start Progress After User Has Entered Info/Data

2006-06-04 Thread tomas
On Sun, Jun 04, 2006 at 10:50:42PM +0200, Peter Robinson wrote: > Dear List, > > I have studied the example program for creating a progress bar and tried > some variations. For my application, the user must set a few parameters > and open a few data files. I would like to have the progress bar sta

Re: gobject, loadable modules

2006-06-04 Thread Morten O. Hansen
On Sun, 2006-06-04 at 19:51 -0400, Tristan Van Berkom wrote: > Please post the stack trace. > > >I compile the so-file with -shared, and everything i expose is > >non-static and has G_MODULE_EXPORT. > > > >Any obvious fault here? I can attach the code (very little code) if that > >helps. > > > >

Re: gobject, loadable modules

2006-06-04 Thread Tristan Van Berkom
Morten O. Hansen wrote: Hello, I'm trying to build a small program using loadable modules, so I have this setup: A class called Plugin (inherits from GTypeModule) which is responsible for loading/unloading. A class called TestPlugin (inherits from GObject) A function in the so-file called pl

gobject, loadable modules

2006-06-04 Thread Morten O. Hansen
Hello, I'm trying to build a small program using loadable modules, so I have this setup: A class called Plugin (inherits from GTypeModule) which is responsible for loading/unloading. A class called TestPlugin (inherits from GObject) A function in the so-file called plugin_init, which registers

Start Progress After User Has Entered Info/Data

2006-06-04 Thread Peter Robinson
Dear List, I have studied the example program for creating a progress bar and tried some variations. For my application, the user must set a few parameters and open a few data files. I would like to have the progress bar start up after that. For whatever reason, although I can see the outline o

Problem with gtk_window_set_geometry_hints and vbox

2006-06-04 Thread Guillaume Duhamel
Hi, I'm writing a gtk interface for my Sega Saturn emulator. It's using a GtkDrawingArea and GtkGlExt to display an OpenGL window. I want the drawing area size to respect some constraint to match the Saturn resolution. It looks like gtk_window_set_geometry_hints does what I need but I have some i

Re: Compilation error with xml

2006-06-04 Thread Yeti
On Sun, Jun 04, 2006 at 01:30:22PM +0200, Guillaume Ruch wrote: > > Thanks for your answer but I think the problem is somewhere else... When I > try to compile a very > minimal program like : > > #include > #include > #include These are very strange include paths and I am surprised they work

Re: Compilation error with xml

2006-06-04 Thread Eduardo M KALINOWSKI
Guillaume Ruch wrote: > Perhaps my compiling command is not good ? : gcc -o prog1 prog1.c `pkg-config > --cflags --libs > gtk+-2.0` `libglade-config --libs gnome` -lxml -export-dynamic > I have no idea if that's the problem, but shouldn't you be using libglade-2.0 together with gtk+-2.0? Which

Re: Compilation error with xml

2006-06-04 Thread Guillaume Ruch
> On Sun, Jun 04, 2006 at 01:46:25AM +0200, Guillaume Ruch wrote: >> When I try to compile my libglade2 program with : >> ... >> I get the following errors : >> >> (prog1:27396): GLib-GObject-WARNING **: specified class size for type >> `GtkData' is smaller than >> the parent type's `GtkObject' cl

Re: TreeView and default widget

2006-06-04 Thread Attilio Fiandrotti
David Nečas (Yeti) wrote: On Sun, Jun 04, 2006 at 12:07:17PM +0200, Attilio Fiandrotti wrote: In my interface i have a button which grabs default focus like this GTK_WIDGET_SET_FLAGS (GTK_WIDGET(my_button), GTK_CAN_DEFAULT); gtk_widget_grab_default (button) so that it gets activated when the

Re: TreeView and default widget

2006-06-04 Thread Yeti
On Sun, Jun 04, 2006 at 12:07:17PM +0200, Attilio Fiandrotti wrote: > In my interface i have a button which grabs default focus like this > > GTK_WIDGET_SET_FLAGS (GTK_WIDGET(my_button), GTK_CAN_DEFAULT); > gtk_widget_grab_default (button) > > so that it gets activated when the user presses enter

TreeView and default widget

2006-06-04 Thread Attilio Fiandrotti
Hi In my interface i have a button which grabs default focus like this GTK_WIDGET_SET_FLAGS (GTK_WIDGET(my_button), GTK_CAN_DEFAULT); gtk_widget_grab_default (button) so that it gets activated when the user presses enter key, and i also have a Treeview which grabs focus like this gtk_widget_gr

Re: Compilation error with xml

2006-06-04 Thread Yeti
On Sun, Jun 04, 2006 at 01:46:25AM +0200, Guillaume Ruch wrote: > When I try to compile my libglade2 program with : > ... > I get the following errors : > > (prog1:27396): GLib-GObject-WARNING **: specified class size for type > `GtkData' is smaller than > the parent type's `GtkObject' class siz