84 |
84 |
85 |
85 |
86 obj->ctx = uic_context(obj, mp); |
86 obj->ctx = uic_context(obj, mp); |
87 obj->window = window_data; |
87 obj->window = window_data; |
88 |
88 |
|
89 #if GTK_CHECK_VERSION(4, 0, 0) |
|
90 obj->ctx->action_map = G_ACTION_MAP(obj->widget); |
|
91 #endif |
|
92 |
89 if(title != NULL) { |
93 if(title != NULL) { |
90 gtk_window_set_title(GTK_WINDOW(obj->widget), title); |
94 gtk_window_set_title(GTK_WINDOW(obj->widget), title); |
91 } |
95 } |
92 |
96 |
93 char *width = ui_get_property("ui.window.width"); |
97 char *width = ui_get_property("ui.window.width"); |