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_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
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?
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.
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()
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
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 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
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
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 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
* 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
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 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
Hello friends
I need to draw an cairo rectangle on an gtk app. does this rectangle can be
draw inside an gtk_drawing_area_new() widget?
Regards
Luiz
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Hello everybody.
I'm trying to load libraries with g_module_open in windows and linux, I don't
have problems in Windows, can load perfectly the libraries. but when I do it in
linux tells me that don't find the function
I am compile mi libmilib.so with
///file1.cpp
float xfun(int d){
Hint: You are compiling it as C++.
--tml
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
--- El mar 23-sep-08, Tor Lillqvist [EMAIL PROTECTED] escribió:
De:: Tor Lillqvist [EMAIL PROTECTED]
Asunto: Re: problem with g_module_symbol
A: [EMAIL PROTECTED]
Cc: gtk-list@gnome.org
Fecha: martes, 23 septiembre, 2008, 12:50 pm
Hint: You are compiling it as C++.
--tml
yes, I am
Sorry, kind of a long question...
I'm writing a GTK wrapper around a utility that accepts input on its
stdin and dumps results to its stdout, but there's no guarantee that it
will be a strict stimulus/response (or filter-like) behaviour--the
utility can dump to its stdout asynchronously with
gdk_threads_enter/leave doesn't work in all cases. Use g_idle_add in
your worker thread to add a callback for your gtk main thread.
-Anthony Vallone
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Moller
Sent: Tuesday, September 23, 2008 4:52 PM
I change all files of *.cpp to *.c, and compile with gcc, but I still have the
same mistake, I can't load the function
__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.com.mx/
I have a spin button that allows the user to enter 0-65534. When they click a
radio button I want to make the spin button read 65535 and not allow them to
change it until they select a different radio button. Is there a function
that can disable a spin button?
Something like [code]void
And I found the problem.
The problem is that I was compiling with g++ the library and the program, but
as explained on this
(http://www.cs.indiana.edu/~welu/notes/node36.html#c++_name_mangling) page,
where I compiled with g++ the names changed, So I can not call the function
with the same
Hi,
I am working on a task writing a gtk application to show up webcam view finding.
This application works now.
But after I click window right top icon for maximum, the window is
maximum and no response.
I have read some threads from web said that the application need a
call back function to
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
25 matches
Mail list logo