| 58 if(value->value && value->type && !strcmp(value->type, UI_WEBVIEW_OBJECT_TYPE)) { |
58 if(value->value && value->type && !strcmp(value->type, UI_WEBVIEW_OBJECT_TYPE)) { |
| 59 ui_webview_set(value, value->value, UI_WEBVIEW_OBJECT_TYPE); |
59 ui_webview_set(value, value->value, UI_WEBVIEW_OBJECT_TYPE); |
| 60 } |
60 } |
| 61 } |
61 } |
| 62 |
62 |
| 63 ui_set_widget_groups(obj->ctx, webview, args->states); |
63 ui_set_widget_states(obj->ctx, webview, args->states); |
| 64 UiContainerPrivate *ct = (UiContainerPrivate*)obj->container_end; |
64 UiContainerPrivate *ct = (UiContainerPrivate*)obj->container_end; |
| 65 UiLayout layout = UI_ARGS2LAYOUT(args); |
65 UiLayout layout = UI_ARGS2LAYOUT(args); |
| 66 ct->add(ct, webview, &layout); |
66 ct->add(ct, webview, &layout); |
| 67 |
67 |
| 68 return webview; |
68 return webview; |