ui/gtk/text.h

branch
newapi
changeset 310
4918f9132552
parent 282
3a77b9048664
--- a/ui/gtk/text.h	Mon Sep 23 23:22:27 2024 +0200
+++ b/ui/gtk/text.h	Thu Sep 26 22:43:13 2024 +0200
@@ -75,9 +75,13 @@
 typedef struct UiPathTextField {
     UiObject *obj;
     
+    GtkWidget *stack;
     GtkWidget *hbox;
+    GtkWidget *entry_box;
     GtkWidget *entry;
+#if GTK_MAJOR_VERSION == 3
     GtkWidget *buttonbox;
+#endif
     
     char *current_path;
     UiPathElm *current_pathelms;
@@ -136,6 +140,7 @@
 void ui_textfield_set(UiString *str, const char *value);
 
 int ui_pathtextfield_update(UiPathTextField* pathtf, const char *full_path);
+int ui_pathtextfield_update_widget(UiPathTextField* pathtf);
 char* ui_path_textfield_get(UiString *str);
 void ui_path_textfield_set(UiString *str, const char *value);
 

mercurial