Definition in file duifield-gobj.h.
#include "config.h"
#include "duiresolver.h"
#include "duifield.h"
#include "interface.h"
Go to the source code of this file.
Functions | |
| void | dui_field_set_gobj (DuiField *ft, const gchar *obj, const gchar *prop) |
| void | dui_resolver_resolve_gobj (DuiResolver *res, DuiInterface *rot) |
| void dui_field_set_gobj | ( | DuiField * | ft, | |
| const gchar * | obj, | |||
| const gchar * | prop | |||
| ) |
data is a property on a glib-2.0 gobject
< glib-2.0 gobject
Definition at line 261 of file duifield-gobj.c.
00263 { 00264 struct gobj_field_s * gf = (struct gobj_field_s*) get_gobj_field (ft); 00265 00266 ft->type = DUI_FIELD_GOBJ; 00267 ft->fieldname = g_strdup (obj); 00268 00269 ft->get_field_value = get_gobj_value; 00270 ft->set_field_value = set_gobj_value; 00271 ft->clear_field = gobj_field_clear; 00272 00273 gf->property = g_strdup (prop); 00274 gf->cache_value = NULL; 00275 }
| void dui_resolver_resolve_gobj | ( | DuiResolver * | res, | |
| DuiInterface * | rot | |||
| ) |
< glib-2.0 gobject
Definition at line 280 of file duifield-gobj.c.
00281 { 00282 GList *node; 00283 struct gobj_field_s * gf;; 00284 00285 for (node = res->field_list; node; node=node->next) 00286 { 00287 DuiField *fld = node->data; 00288 if (!DUI_FIELD_IS_TYPE(fld,DUI_FIELD_GOBJ)) continue; 00289 gf = (struct gobj_field_s*) get_gobj_field (fld); 00290 00291 gf->gobj_root = rot; 00292 } 00293 }
1.5.5