Re: [gnome-db] gnome_db_entry_text code example





2008/10/4 paragasu <paragasu gmail com>
can anyone give me an example on how to use the
gnome_db_entry_text() ?

what is the DataHander *dh? i cannot find the doc on it.
and how to get the value from gnome_db_entry_text()?

This API is semi-private, you don't normally need to use it directly (it's used internally by the GnomeDbBasicForm widget).

Anyway, if you want to use it, then use  gnome_db_entry_text_new() to create a widget which you'll have to manipulate using the GnomeDbDataEntry interface.

The GdaDataHandler object can be obtained using gda_get_default_handler() or gda_server_provider_get_data_handler_gtype() or gda_server_provider_get_data_handler_dbms() depending on the situation.

Regards,

Vivien




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]