Re: GTK+ screen shots

2008-10-18 Thread paragasu
i never do it. but i guess you can use import, it come with the imagick. maybe we can use gtk to call this. On 10/18/08, shyjumon <[EMAIL PROTECTED]> wrote: > Dear all, > Is there any one explored on taking screen shots by using gtk ? > I basically trying to create a gtk program which will capure

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]> >

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

2008-09-23 Thread paragasu
e: > 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. > > >> >>

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

2008-09-23 Thread paragasu
GDA_PARAMETER (g_slist_nth_data (list, 0)); str = gda_parameter_get_value_str (param); i am not sure it is the best way. is there any other better way i can do it in V3? thank you On 9/23/08, Vivien Malerba <[EMAIL PROTECTED]> wrote: > 2008/9/23 paragasu <[EMAIL PROTECTED]> &g

how to print selected row in gnome_db_raw_grid?

2008-09-22 Thread paragasu
how to get the value from the selected row in gnome_db_raw_grid? so i can put it inside gtk_dialog thank you.. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

how to modify the GnomeDbDataWidgetInfo?

2008-09-16 Thread paragasu
by default, gnome_db_form/gnome_db_grid widget create a set of control (GnomeDbDataWidgetInfo). To add or manipulate data. For my application, i only need the update button, i do not need the insert, add or the next record button. How to remove all button except the update button? Or how i can cr

Re: libgnomedb3.0: WARNING **: could expand "" into list of field

2008-09-01 Thread paragasu
ba <[EMAIL PROTECTED]> wrote: > 2008/9/1 paragasu <[EMAIL PROTECTED]>: >> i am very new into this gtk and libgnomedb. this is my first attempt > > Please post to the Gnome-Db list if your post is about Gnome-DB. > >> write one, i have one >> function. >

libgnomedb3.0: WARNING **: could expand "" into list of field

2008-09-01 Thread paragasu
i am very new into this gtk and libgnomedb. this is my first attempt write one, i have one function. [snip] GtkWidget *page_1(GdaConnection *conn) { GtkWidget *vbox; GdaQuery *query; GdaDict *dict = gda_dict_new(); gda_dict_set_connection(dict, conn); query

how to enable reorder in gnomeDbRawGrid?

2008-08-29 Thread paragasu
we can reorder the row of the gtktreeview by clicking on the gtktreeview header. is it possible to do so in gnomedbrawgrid? how? thank you ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-dev

Re: how to display photo in the GnomeDbGrid?

2008-08-27 Thread paragasu
thanks vivien, the link you give me really help.. thanks On 8/26/08, Vivien Malerba <[EMAIL PROTECTED]> wrote: > 2008/8/26 paragasu <[EMAIL PROTECTED]>: >> i am developing gtk application using libgnome-db and postgresql. >> i store photo as bytea inside one of the

how to display photo in the GnomeDbGrid?

2008-08-26 Thread paragasu
i am developing gtk application using libgnome-db and postgresql. i store photo as bytea inside one of the table column. how to display the photo using the gnomedbgrid? is it possible to do it? thank you ___ gtk-app-devel-list mailing list gtk-app-devel

Re: can anyone explain what is this sql query?

2008-08-19 Thread paragasu
n, Aug 18, 2008 at 11:46 PM, paragasu <[EMAIL PROTECTED]> wrote: > >> [snip] >> #define CONTENTS_DEL_SQL "DELETE FROM order_contents WHERE order_id = >> ##oid::gint AND product_ref = ##-0::gchararray AND quantity = >> ##-2::gint AND discount = ##-3::gdouble" >>

can anyone explain what is this sql query?

2008-08-18 Thread paragasu
[snip] #define CONTENTS_DEL_SQL "DELETE FROM order_contents WHERE order_id = ##oid::gint AND product_ref = ##-0::gchararray AND quantity = ##-2::gint AND discount = ##-3::gdouble" [/snip] i take this from the official gnome-db documentation http://library.gnome.org/devel/libgnomedb-3.0/unstable/ch

save image and display image from postgresql

2008-07-23 Thread paragasu
i am very new to gtk programming. I am sorry for this beginner questions, but after asking google i fail the get the right answer. I hope this mailing list will help me. anyone can please point me a way on how to save image to postgresql database and display the image again. thank you ___

Re: developing postgresql app using gtk

2008-07-22 Thread paragasu
On 7/22/08, Germán Póo-Caamaño <[EMAIL PROTECTED]> wrote: > On Tue, 2008-07-22 at 21:44 +0800, paragasu wrote: >> i am very new to gtk programming. still struggling to learn how to >> develop program using gtk. >> i am using debian linux workstation. but i have to deve

developing postgresql app using gtk

2008-07-22 Thread paragasu
i am very new to gtk programming. still struggling to learn how to develop program using gtk. i am using debian linux workstation. but i have to develop gtk program that run in windows. is it possible to develop gtk in linux and later on run on windows without any code modification? i search all o