DOKK / manpages / debian 13 / libpdl-graphics-trid-perl / PDL::Graphics::TriD::ButtonControl.3pm.en
PDL::Graphics::TriD::ButtonControl(3pm) User Contributed Perl Documentation PDL::Graphics::TriD::ButtonControl(3pm)

PDL::Graphics::TriD::ButtonControl - default event handler subroutines

new()

Bless an oject into the class ButtonControl, expects the associated Window object to be supplied as an argument.

The ButtonControl class is a base class which all TriD event controllers should inherit from. By itself it does not do much. It defines ButtonPress and ButtonRelease functions which are expected by the Event loop.

A do-nothing function to prevent errors if not defined in a subclass

A do nothing function to prevent errors if not defined in a subclass

Activates the viewport the mouse is inside when pressed

Define the width and Height of the window for button control

2025-04-11 perl v5.40.1