MCPcopy
hub / github.com/pdfarranger/pdfarranger / click

Method click

pdfarranger/iconview.py:437–442  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

435 self.cursor_name = 'default'
436
437 def click(self, event):
438 self.cursor_name = 'move'
439 cursor = Gdk.Cursor.new_from_name(Gdk.Display.get_default(), self.cursor_name)
440 self.iconview.get_window().set_cursor(cursor)
441 self.click_x = event.x
442 self.click_y = event.y
443
444 def motion(self, event):
445 if self.cursor_name == 'default':

Callers 15

iv_button_press_eventMethod · 0.45
_mainmenuMethod · 0.45
_assert_page_sizeMethod · 0.45
_page_sizeMethod · 0.45
_popupmenuMethod · 0.45
_import_fileMethod · 0.45
_save_as_chooserMethod · 0.45
_scale_selectedMethod · 0.45
_zoomMethod · 0.45
_quit_without_savingMethod · 0.45
test_01_import_imgMethod · 0.45
test_02_propertiesMethod · 0.45

Calls 1

set_cursorMethod · 0.80

Tested by 15

_mainmenuMethod · 0.36
_assert_page_sizeMethod · 0.36
_page_sizeMethod · 0.36
_popupmenuMethod · 0.36
_import_fileMethod · 0.36
_save_as_chooserMethod · 0.36
_scale_selectedMethod · 0.36
_zoomMethod · 0.36
_quit_without_savingMethod · 0.36
test_01_import_imgMethod · 0.36
test_02_propertiesMethod · 0.36
test_03_zoomMethod · 0.36