ui/gtk/button.c

branch
newapi
changeset 253
087cc9216f28
parent 174
0358f1d9c506
child 257
a334f9ebc5d0
--- a/ui/gtk/button.c	Sun Feb 11 15:44:33 2024 +0100
+++ b/ui/gtk/button.c	Sun Feb 11 22:06:23 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