Row-Column addressable Text Locations in TextView and TextBuffer

2006-02-03 Thread Bill Sousan
Is there a way to use TextView and TextBuffer to setup an addressable area of text? In other words, I want to have a Text Window where I can specify to display a given string at a specific Row and Column. I want to avoid the overhead of having a Fixed container and popping up Labels all over the

gtk_menu_bar_append deprecated?

2006-02-03 Thread Evan Behar
As I was writing the code for the menu bar in my application, I noticed that the GTK+ 2.0 API documentation at http://developer.gnome.org/doc/API/2.0/gtk/GtkMenuBar.html says that gtk_menu_bar_append, gtk_menu_bar_prepend and gtk_menu_bar_insert are deprecated, but there's no mention of replace

Re: gtk_menu_bar_append deprecated?

2006-02-03 Thread devel
I believe what you want is gtk_menu_shell_append(). Travis - Original Message - From: "Evan Behar" <[EMAIL PROTECTED]> To: Sent: Friday, February 03, 2006 12:19 PM Subject: gtk_menu_bar_append deprecated? As I was writing the code for the menu bar in my application, I noticed tha

Re: Row-Column addressable Text Locations in TextView and TextBuffer

2006-02-03 Thread Ronald Vincent Tarrant
Bill Sousan wrote: Is there a way to use TextView and TextBuffer to setup an addressable area of text? In other words, I want to have a Text Window where I can specify to display a given string at a specific Row and Column. I want to avoid the overhead of having a Fixed container and popping u

Re: GTK and threaded applications

2006-02-03 Thread kornelix
I last reported that GTK was making my multi-threaded application run as multiple single threads, one after the other. It was suggested to lock only the GTK calls instead of the whole thread. I tried this. I wrapped the individual GTK calls as follows: gdk_threads_enter(); do GTK calls

Re: GTK and threaded applications

2006-02-03 Thread Daniel Atallah
On 2/3/06, kornelix <[EMAIL PROTECTED]> wrote: > I last reported that GTK was making my multi-threaded application run > as multiple single threads, one after the other. It was suggested to > lock only the GTK calls instead of the whole thread. I tried this. > > I wrapped the individual GTK calls

Re: GTK and threaded applications

2006-02-03 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/3/2006 2:14 PM, kornelix wrote: > I last reported that GTK was making my multi-threaded application run > as multiple single threads, one after the other. It was suggested to > lock only the GTK calls instead of the whole thread. I tried this. >

GtkExtra example doesn't build

2006-02-03 Thread Nickolai Dobrynin
Good afternoon -- I have just downloaded the latest CVS snapshot of GtkExtra and tried to build testrealtime.c. The error messages I got were: testrealtime.cc:154: error: invalid conversion from `int' to `GtkPlotAxisPos' testrealtime.cc:154: error: initializing argument 2 of `GtkPlotAxis* gtk_p

Re: GTK and threaded applications

2006-02-03 Thread Tor Lillqvist
> > FYI, here is something I pulled from the Microsoft web site on Win32 > > programming with threads. > That's a bit irrelevant: the Win32 API doesn't need to run on different > architectures, different OSes, and with different graphics-drawing backends. Indeed. And actually, I was a bit sur