[gnome-db] loading plugin for gnome db grid fail for linked widget



i have linked grid and form. (gnome_db_raw_grid/form)
user information will be display on the form based on the selection
made from the grid.

one column in the form contain photo. so i load the picture plugin using

data_set= gnome_db_basic_form_get_data_set (GNOME_DB_BASIC_FORM (raw_form));
param = gda_parameter_list_find_param (data_set, "photo");
	g_object_set (G_OBJECT (param), "entry_plugin", "picture", NULL);

doesn't work. i got warning

      G_IS_OBJECT (object) failed

i suspect, the plugin doesn't work because no data inside the form
prior the selection made
in the grid.

Is there anyway load the plugin only after the form activate or is
there a way to select a default row in the grid?

thank you


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