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 =

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

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 integer?

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_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_get_int()

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 conver GValue to gint

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 [EMAIL

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

Re: GTK adjustement changes create incompatible behaviour between versions?

2008-09-23 Thread Patryk Zawadzki
On Mon, Sep 22, 2008 at 1:07 PM, Vincent Untz [EMAIL PROTECTED] wrote: Le lundi 22 septembre 2008, à 12:24 +0200, Patryk Zawadzki a écrit : Can we request a global freeze break permission to fix this and only this? Could work, especially since we have a list of files that might need to be

Re: GTK adjustement changes create incompatible behaviour between versions?

2008-09-23 Thread Patryk Zawadzki
2008/9/22 Davyd Madeley [EMAIL PROTECTED]: I think GTK+ is now doing the right thing. I believe it would do twice the right thing if it also ignored page_size for spinenr buttons. As it is used to represent the number of data records (be it table rows, canvas pixels or something else) presented

Minutes of the GTK+ Team Meeting - 2008-09-23

2008-09-23 Thread Emmanuele Bassi
= minutes for the 2008-09-23 meeting = * GtkAdjustment change - applications should be considered broken - apparently strictness caused too much trouble - four options + revert + keep the strictness + limit the strictness to SpinButtons + revert and add a warning - revert + add a warning

Re: Minutes of the GTK+ Team Meeting - 2008-09-23

2008-09-23 Thread Morten Welinder
* Deprecate the H/V split and add orientation instead + mitch has a patch deprecating all the H/V classes + adds a constructor for base classes + defaults can be fixed + subclassing is easier + change orientation at runtime + massive deprecation at branch for 2.90 + everyone agrees

Re: Minutes of the GTK+ Team Meeting - 2008-09-23

2008-09-23 Thread Cody Russell
On Tue, 2008-09-23 at 18:31 -0400, Morten Welinder wrote: + massive deprecation at branch for 2.90 + everyone agrees ACTION: mitch files bugs with the various patches This late-cycle deprecation will make it hard to write code that is kosher in both the old and the new world. That is

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