diff options
author | Thomas White <taw@physics.org> | 2021-05-07 17:17:35 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-05-07 17:17:35 +0200 |
commit | e693445ac62fdd54eacf56b8436f55fa579cc50f (patch) | |
tree | 95a2941ee58571f258f1e1fd69b672c0d067a9d4 /src/gtk-util-routines.h | |
parent | 86995ac65ed3fd0ec20799a0e5a08a111c72b8a8 (diff) |
Add deselect_when_active()
Diffstat (limited to 'src/gtk-util-routines.h')
-rw-r--r-- | src/gtk-util-routines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gtk-util-routines.h b/src/gtk-util-routines.h index 08b8537e..e378a49f 100644 --- a/src/gtk-util-routines.h +++ b/src/gtk-util-routines.h @@ -37,6 +37,7 @@ extern unsigned int get_uint(GtkWidget *entry); extern float get_float(GtkWidget *entry); extern int i_maybe_disable(GtkWidget *toggle, GtkWidget *widget); extern int i_maybe_disable_and_deselect(GtkWidget *toggle, GtkWidget *widget); +extern void deselect_when_active(GtkWidget *toggle, GtkWidget *widget); extern void set_active(GtkWidget *tb, int active); extern void redraw_widget(GtkWidget *wid); extern const char *get_text_or_null(GtkEntry *entry); |