ui/gtk/text.c

changeset 3
c04433993fbb
parent 2
ea89bbb0c4c8
--- a/ui/gtk/text.c	Thu Dec 10 13:43:25 2020 +0100
+++ b/ui/gtk/text.c	Fri Dec 11 11:46:19 2020 +0100
@@ -173,6 +173,10 @@
     return NULL;
 }
 
+UIWIDGET ui_textarea_gettextwidget(UIWIDGET textarea) {
+    return gtk_bin_get_child(GTK_BIN(textarea));
+}
+
 char* ui_textarea_get(UiText *text) {
     if(text->value.ptr) {
         text->value.free(text->value.ptr);

mercurial