Re: How to get stuff out of a GValue?

2007-11-19 Thread Benoît Dejean
Le lundi 19 novembre 2007 à 11:33 +, Emmanuele Bassi a écrit : > On Mon, 2007-11-19 at 12:18 +0100, Dan H wrote: > > On Mon, 19 Nov 2007 10:56:35 + > > Emmanuele Bassi <[EMAIL PROTECTED]> wrote: > > > > > > Any hints? > > > > > > just one page further: > > > > > > http://library.gnome.o

GUI problem.

2007-11-19 Thread alberto barbaro
Hi. I'm trying to develop a small application. Problem: I have a table with some buttons. I pass the pointer to the table in a thread, in that thread i would update the table with a some new buttons. The buttons will appeare but are not 'clickable'! Why? if I try return thay works but with the mo

Re: How to get stuff out of a GValue?

2007-11-19 Thread Dan H
On Mon, 19 Nov 2007 11:33:36 + Emmanuele Bassi <[EMAIL PROTECTED]> wrote: Hallo Emmanuele, it's not getting better. Here's my code. li->data points to a cild of the table, and the code compiles without warnings with -W -Wall: - g_value_init(&value, G_TYPE_INT); gtk_c

Re: How to get stuff out of a GValue?

2007-11-19 Thread Emmanuele Bassi
On Mon, 2007-11-19 at 12:18 +0100, Dan H wrote: > On Mon, 19 Nov 2007 10:56:35 + > Emmanuele Bassi <[EMAIL PROTECTED]> wrote: > > > > Any hints? > > > > just one page further: > > > > http://library.gnome.org/devel/gobject/stable/gobject-Standard-Parameter-and-Value-Types.html > > Ah, I'm

Re: How to get stuff out of a GValue?

2007-11-19 Thread Dan H
On Mon, 19 Nov 2007 10:56:35 + Emmanuele Bassi <[EMAIL PROTECTED]> wrote: > > Any hints? > > just one page further: > > http://library.gnome.org/devel/gobject/stable/gobject-Standard-Parameter-and-Value-Types.html Ah, I'm using the Debian-supplied version 2.12.4, and your page refers to 2.

Re: How to get stuff out of a GValue?

2007-11-19 Thread Tomas Carnecky
Dan H wrote: > OK, I've got something in the form of a GValue (in this case, integer numeric > data > obtained with gtk_container_child_get()), and I'd like to get access to the > actual number inside. How is this done? I've looked into GValue's > documentation, but all I see is stuff that deals

Re: How to get stuff out of a GValue?

2007-11-19 Thread Emmanuele Bassi
On Mon, 2007-11-19 at 11:50 +0100, Dan H wrote: > OK, I've got something in the form of a GValue (in this case, integer numeric > data > obtained with gtk_container_child_get()), and I'd like to get access to the > actual number inside. How is this done? I've looked into GValue's > documentatio

How to get stuff out of a GValue?

2007-11-19 Thread Dan H
OK, I've got something in the form of a GValue (in this case, integer numeric data obtained with gtk_container_child_get()), and I'd like to get access to the actual number inside. How is this done? I've looked into GValue's documentation, but all I see is stuff that deals only with GValues and