Re: running real time application behind glade

2004-11-01 Thread Aaron Yang
hi, thanks for replying     I was referring to both actually.     For instance, when I start my glade program, a real-time counter begins in the background, so that it'll be displayed in my glade program, counting in 1 second interval.   Then when I want to execute something in hard real-time, a si

newbie question: connecting signals to callbacks

2004-11-01 Thread Neil Zanella
Hello, I have a basic question which I would like to ask: The function prototype for gtk_main_quit() is: void gtk_main_quit(void); The GtkObject signal prototype for the "destroy" callback is: void user_function(GtkObject *object, gpointer user_data); Yet I can connect the two as follows: g_

Re: undocumented parameters

2004-11-01 Thread Sven Neumann
Hi, Neil Zanella <[EMAIL PROTECTED]> writes: > OK, I am now connecting the "switch-page" for notebooks which seems to > be the only > one that works. However, > > void foo(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, > gpointer data) { > > assert(page_num == (guint) gtk_noteboo

Re: undocumented parameters

2004-11-01 Thread Neil Zanella
OK, I am now connecting the "switch-page" for notebooks which seems to be the only one that works. However, void foo(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer data) { assert(page_num == (guint) gtk_notebook_get_current_page(notebook)); ... } The above assertion a

Re: running real time application behind glade

2004-11-01 Thread Valdis . Kletnieks
On Mon, 01 Nov 2004 01:30:36 PST, Aaron Yang said: > does anyone know how do I go about running a real > time application after I executed a glade program? Do you mean "real time" as in "the program is running at the same time as your Glade program, and they interact back and forth", or do you m

Re: List of gtkrc-2.0 options?

2004-11-01 Thread expires-31-12-2004
> > Could someone point me to a list of valid gtkrc-2.0 options? > > You can use all settings there (I notice that the fact that settings can > be set in rc files is not mentioned in our docs of the rc file > syntax...) The settings are documented here: > http://developer.gnome.org/doc/API/2.0/g

gtk+ 2.4.13 not compiling with vanilla pango 1.6.0

2004-11-01 Thread Mathieu Doidy
Hi, I have built pango 1.6.0 successfully without any problem with --prefix=/opt/gnome28 and was now building gtk+ 2.4.13. The ./configure fails with this error : checking Pango flags... -I/opt/gnome28/include/pango-1.0 -I/usr/X11R6-xorg/include -I/usr/include/freetype2 -I/usr/include/freetype

Re: running real time application behind glade

2004-11-01 Thread Neil Zanella
Hi, I would like to help you except I do not fully understand your question... How is the fact that your application is real time different in this context. I.e. what does it have to do with Glade? Are you trying to embed an OpenGL window within some widgets? What OS are you running? If I underst

Re: List of gtkrc-2.0 options?

2004-11-01 Thread Matthias Clasen
On Mon, 2004-11-01 at 09:43, [EMAIL PROTECTED] wrote: > Hello, > > Could someone point me to a list of valid gtkrc-2.0 options? They > seem to be kept secret, although the following ones were accidently > disclosed in some older release notes: > > gtk-can-change-accels = 1 > gtk-font

List of gtkrc-2.0 options?

2004-11-01 Thread expires-31-12-2004
Hello, Could someone point me to a list of valid gtkrc-2.0 options? They seem to be kept secret, although the following ones were accidently disclosed in some older release notes: gtk-can-change-accels = 1 gtk-font-name = "Arial 9" gtk-key-theme-name = "Emacs" I'm willin

drag wtih drawing_area (Like the "Hand Tool" in acroread)

2004-11-01 Thread Florian Heidenreich
Hi, I want to use a drawing_area and a mouse+mouse_button to drag a map (or something else painted with drawing_area) with the mousepointer . Like the "Hand Tool" in acroread especially how to program the events/signals! how? ___ gtk-list mailing list [

running real time application behind glade

2004-11-01 Thread Aaron Yang
hi, does anyone know how do I go about running a real time application after I executed a glade program? how should I edit main.c, so that glade shows the windows created and at the same time, runs a real time program in the background? I'm using rtlinux-3.2-pre2, and have written a progra