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
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
updates
On Wed, 27 Nov 2013 14:19:37 +0100, Colomban Wendling
lists@herbesfolles.org 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
On Wed, Nov 27, 2013 at 7:29 AM, David Buchan pdbuc...@yahoo.com 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
Hi Andrew,
Yes, I've tried the printf thing. It takes about 1.5 sec. Very strange.
Dave
From: Andrew Potter agpot...@gmail.com
To: David Buchan pdbuc...@yahoo.com
Cc: gtk-app-devel-list list gtk-app-devel-list@gnome.org
Sent: Wednesday, November 27, 2013
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 executed
On Wed, Nov 27, 2013 at 11:20 AM, David Buchan pdbuc...@yahoo.com 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
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 =
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)
{
On Wed, 27 Nov 2013 11:59:23 -0800 (PST)
David Buchan pdbuc...@yahoo.com 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
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 fizek.mic...@centrum.cz
Hi,
i have a
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 fizek.mic...@centrum.cz
wrote:
Actually Gtk.Socket is usable, but the window, that is plugged into
the socket gets destroyed(like if
David Buchan pdbuc...@yahoo.com 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)
{
David Buchan pdbuc...@yahoo.com 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)
{
14 matches
Mail list logo