1TriD::ButtonControl(3)User Contributed Perl DocumentationTriD::ButtonControl(3)
2
3
4
6 PDL::Graphics::TriD::ButtonControl - default event handler subroutines
7
9 new()
10 Bless an oject into the class ButtonControl, expects the associated
11 Window object to be supplied as an argument.
12
13 The ButtonControl class is a base class which all TriD event
14 controllers should inherit from. By itself it does not do much. It
15 defines ButtonPressed and ButtonRelease functions which are expected by
16 the Event loop.
17
18 mouse_moved
19 ButtonRelease
20 ButtonPressed
21 Activates the viewport the mouse is inside when pressed
22
23 set_wh
24 Define the width and Height of the window for button control
25
26
27
28perl v5.34.0 2021-08-16 TriD::ButtonControl(3)