Play the sound in an idle handler which is set in the callback function.
Padraig
Michal Kepien wrote:
Hi, I'm quite a newbie to GTK+ and got some trouble with handling button clicks.
I've got a callback function which reads in and plays a sound file. This
function is connected to the "clicked" even
Either use a separate thread or have the idle handler return
periodically to allow the main loop to process events.
Padraig
Michal Kepien wrote:
Play the sound in an idle handler which is set in the callback function.
That's quite a step forward. What if I want to play the sound in the
back
Peter,
This sounds like a Solaris linker question. You do not want the link to
fail because of the unresolved reference. Try using -z nodefs linker
option. ASee man opage for ld(1).
Padraig
Peter Zhelezniakov wrote:
Hi!
Trying to compile a trivial GTK program on Solaris, i get this error:
# cc `
Is this error occuring at link time. It sounds like you are missing
-l where is the library containing gnome_print_job_new.
abhi rocks wrote:
hi guys
Could someone please help me with this problem. Its
like this
When i am compiling my gtk application it give me an
error saying 'undefined referen
Markus Fischer wrote:
Hi,
I'm adding items to a tree like this (simplified):
while (data->next()) {
new_iter = model_append(parent_iter, data);
}
at some point there's a row appended I need for later usage, I do this:
while (data->next()) {
new_iter = model_append(parent_iter, data
David Rosal wrote:
Allin Cottrell wrote:
gchar *text = g_strdup_printf("banana %d", i);
gtk_entry_set_text(GTK_ENTRY(entry), text);
g_free(text);
Is the above code really safe?
You're passing the address of "text" to the function
gtk_entry_set_text(). Next you g_free() that address, so