diff options
author | Chris Toshok <toshok@ximian.com> | 2001-04-10 10:14:08 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-04-10 10:14:08 +0800 |
commit | fc3440ee9c435bc2fa30fb695caa853d71c17557 (patch) | |
tree | 6003917d995bf55efcfe67a595c417ab1cea7d68 /HACKING | |
parent | c3c9ca3526ff8d8678c28338cd7368e955b75ef6 (diff) | |
download | gsoc2013-evolution-fc3440ee9c435bc2fa30fb695caa853d71c17557.tar gsoc2013-evolution-fc3440ee9c435bc2fa30fb695caa853d71c17557.tar.gz gsoc2013-evolution-fc3440ee9c435bc2fa30fb695caa853d71c17557.tar.bz2 gsoc2013-evolution-fc3440ee9c435bc2fa30fb695caa853d71c17557.tar.lz gsoc2013-evolution-fc3440ee9c435bc2fa30fb695caa853d71c17557.tar.xz gsoc2013-evolution-fc3440ee9c435bc2fa30fb695caa853d71c17557.tar.zst gsoc2013-evolution-fc3440ee9c435bc2fa30fb695caa853d71c17557.zip |
on BUTTON_PRESS: if it's button 1, store the button x, y, and set
2001-04-09 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_event): on BUTTON_PRESS: if
it's button 1, store the button x, y, and set drag_button_down to
TRUE. on BUTTON_RELEASE: always set drag_button_down to FALSE.
for MOTION_NOTIFY: initiate drag if the pointer has moved 3
pixels.
* gui/widgets/e-minicard.h (struct _EMinicard): add fields for
button x, y, and a bit for if the button has been pressed so we
can tell whether a motion should be a drag.
(struct _EMinicardClass): add drag_begin signal.
* gui/widgets/e-minicard-view.c (e_minicard_view_drag_begin): new
function, starts the drag.
(book_view_loaded): connect the "drag_data_get" signal.
(e_minicard_view_drag_data_get): new function.
* gui/widgets/e-minicard-view.h (struct _EMinicardView): add
drag_card and id for canvas_drag_data_get_id.
* gui/widgets/e-addressbook-view.c (table_drag_data_get): new
function.
(create_table_view): add d&d stuff.
svn path=/trunk/; revision=9209
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions