Update gtk136

This commit is contained in:
daleclack 2022-07-23 10:29:02 +08:00
parent a001c77284
commit be99278186
1 changed files with 53 additions and 51 deletions

View File

@ -4,7 +4,8 @@
*/
#include <gtk/gtk.h>
struct key{
struct key
{
gint id;
GtkWidget *button;
};
@ -23,6 +24,7 @@ static void button_clicked(GtkWidget *button, gpointer *user_data)
gtk_entry_set_text(GTK_ENTRY(user_data[1]), string);
g_free(string);
}
int main(int argc, char *argv[])
{
gtk_init(&argc, &argv);