Community

What are the common...
 
Notifications
Clear all

What are the common types of events handled in a GUI?

1 Posts
1 Users
0 Reactions
124 Views
(@edwardadex23)
Posts: 653
Noble Member
Topic starter
 
[#5082]

Common types of events handled in a GUI include:

 

1. Mouse events:

    - Click

    - Double-click

    - Right-click

    - Mouse move

    - Mouse enter

    - Mouse leave

 

2. Keyboard events:

    - Key press

    - Key release

    - Text input

 

3. Window events:

    - Open

    - Close

    - Resize

    - Move

    - Minimize

    - Maximize

 

4. Button events:

    - Click

    - Press

    - Release

 

5. Text events:

    - Text change

    - Text input

    - Text selection

 

6. Selection events:

    - Select

    - Deselect

    - Change

 

7. Focus events:

    - Focus gain

    - Focus loss

 

8. Drag and drop events:

    - Drag start

    - Drag end

    - Drop

 

9. Scroll events:

    - Scroll up

    - Scroll down

    - Scroll left

    - Scroll right

 

10. Touch events (for touch-enabled devices):

    - Tap

    - Double tap

    - Long press

    - Swipe

    - Pinch

 

  • These events allow GUI components to respond to user interactions, making the interface dynamic and interactive.

 
Posted : 15/08/2024 4:49 pm
Share:
Scroll to Top