problems with synchronization of threads in updating a text buffer in gtk2.0

2005-12-21 Thread Suresh Stephen
Hi all, I am working on developing a gui for my application which runs many posix threads. These threads will try to update the text view by adding text. this is how the i have written the code gtk_text_buffer_get_bounds(buffer,start,end);

Re: problems with synchronization of threads in updating a text buffer in gtk2.0

2005-12-21 Thread Daniel Atallah
On 12/21/05, Suresh Stephen [EMAIL PROTECTED] wrote: Hi all, I am working on developing a gui for my application which runs many posix threads. These threads will try to update the text view by adding text. You shouldn't update the text view from a thread other than the main GUI thread.

grey background on trayicons?

2005-12-21 Thread Sean Dague
I'm curious if there is anyway to have the trayicon background transparent from a gtk application. I noticed when writing tray icon support into a recent application (use the perl Gtk2::TrayIcon binding), the background in wmsystray is always grey. It appears that any gtk2 app has a grey

Re: [Glade-users] display of picture

2005-12-21 Thread Yiannis
On 21/12/05, Shiraz Baig [EMAIL PROTECTED] wrote: Thanks. I shall try it. But please tell me,can I load a picture at runtime. For example, I click a button and a picture is loaded. Could you send me some sample code. I have done it in gtk+2.0 but have not succeeded doing it in glade. I am

Button can't be clicked.

2005-12-21 Thread zun03127
Hi ALL, I'm new to this ML. Please give me your help. I have just faced a problem as follows. CONDITION: - On RedHat Linux OS - By using GTK+-2.0(gtk+-2.4.13) and gcc-3 - With a window which has a button widget. - When clicking the button, the sensitive of the button turns FALSE. - After a

Re: Button can't be clicked.

2005-12-21 Thread Tristan Van Berkom
[EMAIL PROTECTED] wrote: [...] Under the above condition, I operate a pointing device(mouse cursor) as follows. 1. Focused on the button. 2. Clicked the button. - then the sensitive of the button turns FALSE. 3. Focused out from the button. 4. Again, focused back in to the button. -

Re: Re: Button can't be clicked.

2005-12-21 Thread zun03127
Thank you for your response. Yes, I can reproduce easily. I will prepare to post short C code(probably about 100 steps or so). I will be back after preparing it. Thank you very much for your help. Best Regards, - Original Message - Date: Wed, 21 Dec 2005 13:30:39 -0500 From: Tristan

Re: Re: Button can't be clicked.

2005-12-21 Thread Matthias Clasen
On Thu, 2005-12-22 at 02:41 +0900, [EMAIL PROTECTED] wrote: Thank you for your response. Yes, I can reproduce easily. I will prepare to post short C code(probably about 100 steps or so). I will be back after preparing it. Thank you very much for your help. Best Regards, an probably

Re: grey background on trayicons?

2005-12-21 Thread Billy Biggs
Sean Dague ([EMAIL PROTECTED]): I'm curious if there is anyway to have the trayicon background transparent from a gtk application. I noticed when writing tray icon support into a recent application (use the perl Gtk2::TrayIcon binding), the background in wmsystray is always grey. It appears

Re: Re: Re: Button can't be clicked.

2005-12-21 Thread zun03127
Hi, Matthias I have confirmed the Bug#56070. This is just the same problem as what I have faced. I greatly thank you for your notice. However, I lost my way to develop my application... Does anyone have good workaround...? Anyway, I must find a way to proceed. Tristan and Matthias, I say again

Re: Re: Re: Button can't be clicked.

2005-12-21 Thread Billy Biggs
[EMAIL PROTECTED] ([EMAIL PROTECTED]): Hi, Matthias I have confirmed the Bug#56070. This is just the same problem as what I have faced. I greatly thank you for your notice. However, I lost my way to develop my application... Does anyone have good workaround...? Anyway, I must find a

Re: Re: Button can't be clicked.

2005-12-21 Thread Matt Hull
i noticed that on xfce4 when i log off and it ask are you sure. sometimes the ok buttons wouldnt work. h no i know why matt On Wed, 21 Dec 2005, Matthias Clasen wrote: On Thu, 2005-12-22 at 02:41 +0900, [EMAIL PROTECTED] wrote: Thank you for your response. Yes, I can reproduce