gtk_text_buffer_insert

2005-01-09 Thread Aaron Yang
hi everyone, does anyone know how to solve this? main() { GtkWidget *text; GtkTextBuffer *buffer; GtkTextIter iter; GtkTextIter start, end; . . . function1(text, buffer, iter); function2(text, buffer, iter); } void function1 (GtkWidget *text, GtkTextBuffer *buffer,

Re: gtk_text_buffer_insert

2005-01-09 Thread Gian Mario Tagliaretti
On Sun, 9 Jan 2005 02:40:48 -0800 (PST), Aaron Yang <[EMAIL PROTECTED]> wrote: > > in the above program, only function1 prints, but not > function2, and instead i got the following error: > If you insert a letter or whatever into the buffer all the iters you have created before are not valid an

Howto apply a sensitive state to a checkbutton?

2005-01-09 Thread Andreas Fey
Hi GTK-Fans, I have written my first GTK-1.2 application. All thing works fine except on little design behavior. I want to grey out some widgets to signal the user that they are not active. So I found the senstivie property which is exactly that what I wanted. But on my checkbutton-widget it does

Re: GTK+ 2.6.1 released

2005-01-09 Thread Andreas Rottmann
Archit Baweja <[EMAIL PROTECTED]> writes: > Hi > > Ok this is more of a personal 'itch'. But it would be really nice to > mention that there is Ruby and Ruby bindings for Gtk+ and friends for > RAD (with good English Documentation). > Well, if you mention Ruby, you could as well mention Guile, whi

Re: GTK+ 2.6.1 released

2005-01-09 Thread Owen Taylor
On Sun, 2005-01-09 at 01:41 -0500, Archit Baweja wrote: > Hi > > Ok this is more of a personal 'itch'. But it would be really nice to > mention that there is Ruby and Ruby bindings for Gtk+ and friends for > RAD (with good English Documentation). > > As you would have probably guessed, I use ruby

Re: Howto apply a sensitive state to a checkbutton?

2005-01-09 Thread Gian Mario Tagliaretti
On Sun, 9 Jan 2005 15:16:37 +0100, Andreas Fey <[EMAIL PROTECTED]> wrote: > Hi GTK-Fans, > > I have written my first GTK-1.2 application. If you are just starting with GTK why don't you start with GTK-2? > All thing works fine except on little design behavior. I want to grey out > some widgets t

Limiting gtk app to single instance,

2005-01-09 Thread Phillip Phirrip
  Hello All, Is there a way to limit the number of instances of a gtk application to one only. If an instance of this application is already running then can I bring it to focus. I tried to read from the process table and find if the application is running, this works but the app has to wait ti

Re: Which signal is emitted when the arrow in GtkComboBoxEntry() is pressed?

2005-01-09 Thread Greg Breland
Did a bug ever get filed on this? I can't seem to find it if there was. I have a pretty good usage scenario that is quite common with database applications. The combo control is the most common control used with DB apps and contains values pulled from a different database table than the data