ui/gtk/button.c

changeset 29
3fc287f06305
parent 0
2483f517c562
--- a/ui/gtk/button.c	Sun Feb 11 15:59:56 2024 +0100
+++ b/ui/gtk/button.c	Mon Feb 12 17:32:02 2024 +0100
@@ -35,7 +35,7 @@
 #include "../common/context.h"
 #include "../common/object.h"
 
-UIWIDGET ui_button(UiObject *obj, char *label, ui_callback f, void *data) {
+UIWIDGET ui_button_deprecated(UiObject *obj, char *label, ui_callback f, void *data) {
     GtkWidget *button = gtk_button_new_with_label(label);
     
     if(f) {
@@ -132,7 +132,7 @@
     return button;
 }
 
-UIWIDGET ui_checkbox(UiObject *obj, char *label, UiInteger *value) {
+UIWIDGET ui_checkbox_deprecated(UiObject *obj, char *label, UiInteger *value) {
     UiVar *var = NULL;
     if(value) {
         var = malloc(sizeof(UiVar));
@@ -190,7 +190,7 @@
     return rbutton;
 }
 
-UIWIDGET ui_radiobutton(UiObject *obj, char *label, UiInteger *rgroup) {
+UIWIDGET ui_radiobutton_deprecated(UiObject *obj, char *label, UiInteger *rgroup) {
     UiVar *var = NULL;
     if(rgroup) {
         var = malloc(sizeof(UiVar));

mercurial