GTK+ 2.14.3 released

2008-09-23 Thread Matthias Clasen
GTK+ 2.14.3 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.14/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.14/ gtk+-2.14.3.tar.bz2 md5sum:: 359e44c8e47dfe04a09ac09b8e015e58 gtk+-2.14.3.tar.gz md5sum: 8ef27c79774555c69d66c7b856427b5a This is a bug fix release in the 2.14 s

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread paragasu
> g_value_get_float > g_value_get_double > g_value_get_int i am very surprise because i do not realized that this function actually exists. thanks for your help.. On 9/24/08, Daniel Espinosa <[EMAIL PROTECTED]> wrote: > 2008/9/23 Vivien Malerba <[EMAIL PROTECTED]> > >> >> >> 2008/9/23 paragasu <

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread Daniel Espinosa
2008/9/23 Vivien Malerba <[EMAIL PROTECTED]> > > > 2008/9/23 paragasu <[EMAIL PROTECTED]> > >> > gda_value_stringify(value) >> >> assume that i know, the value return is string, then i can simply use >> this function so i can print >> (GValue to gchar) the string. but there is no function to conv

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread Vivien Malerba
2008/9/23 paragasu <[EMAIL PROTECTED]> > > gda_value_stringify(value) > > assume that i know, the value return is string, then i can simply use > this function so i can print > (GValue to gchar) the string. but there is no function to conver > GValue to gint or gfloat.. Yes, there are g_value_g

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread paragasu
> gda_value_stringify(value) assume that i know, the value return is string, then i can simply use this function so i can print (GValue to gchar) the string. but there is no function to conver GValue to gint or gfloat.. the only function i can think of is gda_value_numeric but it doesn't do that.

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread Vivien Malerba
2008/9/23 paragasu <[EMAIL PROTECTED]> > gda_data_model_iter_get_value_at is in V4 > > can i do g_printf("%s", value) ? No, you can't because value is a pointer to a GValue structure, not a string. > > > i am always confuse with the datatype GValue.. how to make sure it is > of type char or in

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread paragasu
gda_data_model_iter_get_value_at is in V4 can i do g_printf("%s", value) ? i am always confuse with the datatype GValue.. how to make sure it is of type char or integer? using try and error. i manage to print the value using list = GDA_PARAMETER_LIST (iter)->parameters; param = GDA_PARAMETER (g

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread Vivien Malerba
2008/9/23 paragasu <[EMAIL PROTECTED]> > how to get the value from the selected row in gnome_db_raw_grid? > so i can put it inside gtk_dialog > GdaDataModelIter *iter; iter = gnome_db_data_widget_get_current_data (GNOME_DB_DATA_WIDGET (raw_grid); const GValue *value; value = gda_data_model_iter_g