David Buchan wrote:
> Hi Michael,
>
> My 32-bit, GTK+2 version does
>
> // Secure glib
> if (!g_thread_supported ()) {
> g_thread_init (NULL);
> }
>
> at the beginning, and then the thread is spawned via:
>
>
on_button1_clicked (GtkButton *button1, MyData *data)
> {
> GThread *t
David Buchan wrote:
> Hi Michael,
>
> My 32-bit, GTK+2 version does
>
> // Secure glib
> if (!g_thread_supported ()) {
> g_thread_init (NULL);
> }
>
> at the beginning, and then the thread is spawned via:
>
> on_button1_clicked (GtkButton *button1, MyData *data)
> {
> GThread *t
Did you try to add an additional reference to your widget? (i.e.
explicitly call g_object_ref (your_widget) )
On Tue, Nov 26, 2013 at 3:18 PM, Michal Fizek
wrote:
Actually Gtk.Socket is usable, but the window, that is plugged into
the socket gets destroyed(like if Gtk.Plug() was plugged into
i'm not sure that understand you correctly
but, try to return true on connect event of the socket.
for example
var sock = new Gtk.Socket();
sock.plug_removed.connect(()=>{
return true;//important! allow reuse of socket
});
2013/11/26 Michal Fizek
> Hi,
> i have a problem with GTK Socket
On Wed, 27 Nov 2013 11:59:23 -0800 (PST)
David Buchan wrote:
> Hi Michael,
>
> My 32-bit, GTK+2 version does
>
> // Secure glib
> if (!g_thread_supported ()) {
> g_thread_init (NULL);
> }
>
> at the beginning, and then the thread is spawned via:
>
> on_button1_clicked (GtkButton *but
On 11/27/2013 12:59 PM, David Buchan wrote:
> Hi Michael,
>
> My 32-bit, GTK+2 version does
>
> // Secure glib
> if (!g_thread_supported ()) {
> g_thread_init (NULL);
> }
>
> at the beginning, and then the thread is spawned via:
>
> on_button1_clicked (GtkButton *button1, MyData *data
Hi Michael,
My 32-bit, GTK+2 version does
// Secure glib
if (!g_thread_supported ()) {
g_thread_init (NULL);
}
at the beginning, and then the thread is spawned via:
on_button1_clicked (GtkButton *button1, MyData *data)
{
GThread *thread;
GError *error = NULL;
thread = g_thread_
On Wed, Nov 27, 2013 at 11:20 AM, David Buchan wrote:
> Yes, I've tried the printf thing. It takes about 1.5 sec. Very strange.
It will be hard to help you much further without an example program.
If thread creation does in fact take so long on your platform, you can
perhaps create the thread ah
On 11/27/2013 08:29 AM, David Buchan wrote:
> I have written a program which spawns a new thread when the user
> clicks a button. The new thread does something noticeable immediately
> after starting, so I know when the thread has begun. What I mean is,
> if I run that piece of code that is execute
Hi Andrew,
Yes, I've tried the printf thing. It takes about 1.5 sec. Very strange.
Dave
From: Andrew Potter
To: David Buchan
Cc: gtk-app-devel-list list
Sent: Wednesday, November 27, 2013 1:24 PM
Subject: Re: Delay time to spawn new threads?
On Wed,
On Wed, Nov 27, 2013 at 7:29 AM, David Buchan wrote:
> I have written a program which spawns a new thread when the user clicks a
> button. The new thread does something noticeable immediately after starting,
> so I know when the thread has begun. What I mean is, if I run that piece of
> code th
I have written a program which spawns a new thread when the user clicks a
button. The new thread does something noticeable immediately after starting, so
I know when the thread has begun. What I mean is, if I run that piece of code
that is executed as a new thread, but as a stand-alone program,
On Wed, 27 Nov 2013 14:19:37 +0100, Colomban Wendling
wrote:
> Le 27/11/2013 12:57, Jarosław Sobieszek a écrit :
>> Hello,
>>
>> I'm trying to dynamically modify list based on some action. Program
below
>> should add 3 rows at the top and 3 rows at the bottom of the list for
>> every
>> click of
Le 27/11/2013 12:57, Jarosław Sobieszek a écrit :
> Hello,
>
> I'm trying to dynamically modify list based on some action. Program below
> should add 3 rows at the top and 3 rows at the bottom of the list for every
> click of the button. For some reason it doesn't work - I'm seeing partial
> updat
On Wed, Nov 27, 2013 at 11:57:57AM +, Jarosław Sobieszek wrote:
> Hello,
>
> I'm trying to dynamically modify list based on some action. Program below
> should add 3 rows at the top and 3 rows at the bottom of the list for every
> click of the button. For some reason it doesn't work - I'm seei
Hello,
I'm trying to dynamically modify list based on some action. Program below
should add 3 rows at the top and 3 rows at the bottom of the list for every
click of the button. For some reason it doesn't work - I'm seeing partial
updates with random amount of data (only 2 top rows on first click,
16 matches
Mail list logo