extern "C" void on_command_clear_press (GtkEntry *cmd, GtkEntryIconPosition*, GdkEvent*, gpointer box) { gtk_entry_set_text (cmd, ""); gui.fill_entries (GTK_WIDGET (box)); }
extern "C" void on_terminal_toggled (GtkToggleButton *term, gpointer box) { gui.fill_entries (GTK_WIDGET (box)); }
extern "C" void on_entry_clipboard (GtkEntry *entry, gpointer box) { gui.entry_changed (gtk_widget_get_name (GTK_WIDGET (entry))); gui.fill_entries (GTK_WIDGET (box)); }
extern "C" void on_command_changed (GtkEditable *entry, gpointer box) { gui.fill_entries (GTK_WIDGET (box)); }
extern "C" void on_entry_key_press (GtkWidget *entry, GdkEvent*, gpointer box) { gui.entry_changed (gtk_widget_get_name (GTK_WIDGET (entry))); gui.fill_entries (GTK_WIDGET (box)); }