static gboolean gnt_entry_clicked(GntWidget *widget, GntMouseEvent event, int x, int y) { if (event == GNT_MIDDLE_MOUSE_DOWN) { clipboard_paste(GNT_BINDABLE(widget), NULL); return TRUE; } return FALSE; }
static void handle_screen_context_action(madshelf_state_t* state, int item_num, bool is_alt) { _loc_t* _loc = (_loc_t*)state->loc; if (item_num == 4) { clipboard_paste(state, _loc->dir); } if(item_num == 3) { set_show_hidden(state, !state->show_hidden); } else { set_sort(state, (madshelf_sort_t)item_num); } Evas_Object* choicebox = evas_object_name_find(state->canvas, "contents"); choicebox_scroll_to(choicebox, 0); _update_filelist_gui(state); close_screen_context_menu(state->canvas); }
void Selection_Paste (void) { clipboard_paste(Map_ImportSelected); }