ImGui ​
Overview ​
ImGui provides immediate mode GUI functions for creating custom interfaces, overlays, and interactive elements within Growlauncher scripts.
Categories ​
- Demo & Debug Utilities - Debug and demo functions
- Window Management - Window creation and control
- Child Windows - Child window management
- Window Utilities - Window helper functions
- Content Region - Content region management
- Scrolling - Scroll control
- Style Stacks - Style stack operations
- Cursor & Layout - Layout and cursor control
- Text Widgets - Text display widgets
- Main Widgets - Primary interactive widgets
- Color Editor/Picker - Color selection widgets
- Trees - Tree view widgets
- Selectables - Selection widgets
- Data Plotting - Data visualization widgets
- Menus - Menu creation
- Popups & Modals - Popup and modal windows
- Columns - Column layout
- Tab Bars & Tabs - Tab interface
- Drag & Drop - Drag and drop
- Focus & Activation - Focus management
- Item Utilities - Item helper functions
- Miscellaneous Utilities - Miscellaneous functions
- Input Handling - Input event handling
- Input Text Widgets - Text input widgets
- Image Functions - Image display
- Tables - Table creation
Quick Start ​
lua
-- Basic ImGui window
function onDrawImGui(deltaTime)
if ImGui.Begin("My Window", true) then
ImGui.Text("Hello, ImGui!")
if ImGui.Button("Click Me") then
print("Button clicked!")
end
ImGui.End()
end
end
addHook(onDrawImGui, "onDrawImGui")
applyHook()Notes ​
- All ImGui functions should be called within the
onDrawImGuicallback - Windows must be properly closed with
ImGui.End() - Use
ImGui.Begin()to start new windows - Refer to individual category pages for detailed function documentation