logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

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

Functions

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.

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

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

   ButtonPress
       Activates the viewport the mouse is inside when pressed

   set_wh
       Define the width and Height of the window for button control

perl v5.40.1                                       2025-04-11             PDL::Graphics::...::ButtonControl(3pm)

Name

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

See Also