testing-repository/Gtk3/gtk28/test.h

29 lines
862 B
C
Raw Normal View History

2020-12-20 11:22:22 +08:00
#include <gtk/gtk.h>
2020-12-27 10:19:41 +08:00
//Show config
2020-12-20 11:22:22 +08:00
void print(GtkWidget *widget,gpointer data);
2020-12-20 22:14:40 +08:00
2020-12-27 10:19:41 +08:00
//Quit application
2020-12-20 22:14:40 +08:00
void quit(GtkWidget *widget,gpointer data);
2020-12-21 18:37:01 +08:00
2020-12-27 10:19:41 +08:00
//Callback function of "config" menuitem
2020-12-26 11:11:22 +08:00
void config_activate(GtkWidget *widget,gpointer data);
2020-12-27 10:19:41 +08:00
//Callback function of "config1" menuitem
2020-12-25 13:35:42 +08:00
void config1_activate(GtkWidget *widget,gpointer data);
2020-12-22 19:33:36 +08:00
2020-12-27 10:19:41 +08:00
//InputBox:Input content and write the content to specificed file
2020-12-25 13:35:42 +08:00
void InputBox(const gchar *content,const char *filename);
2020-12-22 19:33:36 +08:00
2020-12-27 10:19:41 +08:00
//A callback function of entry "activate" signal
2020-12-26 19:29:58 +08:00
void entry_activate(GtkWidget *widget,gpointer data);
2020-12-27 10:19:41 +08:00
//MsgBox:Show Message and use a specific title
2020-12-24 19:39:34 +08:00
void MsgBox(const gchar *title,const gchar *msg);
2020-12-23 21:07:43 +08:00
2020-12-27 10:19:41 +08:00
//Callback function of "config2" menuitem
2020-12-25 23:44:06 +08:00
void config2_activate(GtkWidget *widget,gpointer data);
2020-12-23 21:07:43 +08:00
2020-12-27 10:19:41 +08:00
//Callback function of "about" menuitem
2020-12-23 21:07:43 +08:00
void about_activate(GtkWidget *widget,gpointer data);