#ifndef RODENT_POPUP_H
# define RODENT_POPUP_H

#define MAIN_POPUP_ID "main_popup"
#define MAIN_POPUP_MENU_ID "main_popup_menu"

typedef struct extra_key_t {
    GtkWidget *check1;
    GtkEntry *entry;
    gboolean flag1;
    gboolean flag2;
    const gchar *response;
    const gchar *flagfile;
    const gchar *history_file;
} extra_key_t;

/* for button press events: */
void
rodent_pop_menu (const gchar *menu_id, GdkEventButton * event);

void
rodent_reset_menu (void);

void
rodent_reset_menu_toggles (void);

//  rodent_do_popup (const population_t * population_p, GdkEventButton * event);
//
//
//



void
rodent_recover_flags (extra_key_t * extra_key_p);

void
rodent_save_flags (extra_key_t * extra_key_p);

void
  rodent_push_view_go_history (void);

void
rodent_add_navigation_menu_items (GtkWidget *target_menu);

void
rodent_add_general_menu_items (GtkWidget *target_menu);

void
rodent_add_file_menu_items ( GtkWidget *target_menu);

void
rodent_add_exec_menu_items (GtkWidget *target_menu);

void
rodent_add_fileexec_menu_items (GtkWidget *target_menu);

void
rodent_add_size_menu_items (GtkWidget *target_menu);

gchar *
rodent_get_text_editor(record_entry_t *en);

#endif
