5 Commits
Author SHA1 Message Date
cnmcdee 6cb1b3d2f2 Phase 3: widget setters for Inspector props (ProgressBar, SpinEdit, Calendar, Image, Notebook, ToggleButton, ListView, TreeView, Splitter, StatusBar, ToolBar, ColorButton, Shape, Spreadsheet, Window) 2026-11-30 11:57:42 +00:00
cnmcdee b66bc2fbf8 Fix -Wunused-parameter in window widgets after drag removal
The drag removal left on_button_release with an unused button
parameter in GtkWindow and GtkApplicationWindow. Add (void)button.
TForm uses button, so it needed no change. Build is 0 warnings.
2026-11-30 03:29:52 +00:00
cnmcdee e126946ac1 Generated app: window widgets can no longer be dragged
Root cause: GtkWindow, TForm and GtkApplicationWindow implemented
title-bar drag-to-move (drag_/dragging_ set on title-bar press,
on_motion moved the whole widget). In the generated app that let the
user drag a window widget around by its title bar -- widgets behaved
like design objects. Verified: dragging Toplevel_001 (GtkWindow) by
its title bar moved it before this change; after, it stays put.
Regular widgets (Button etc.) never moved -- only the three window
widgets had drag code. Removed the drag-to-move from all three
(members, press-to-start-drag, motion move, release clear). The
designer canvas still moves widgets via its own set_bounds path, so
design-time moving is unaffected. The Rust repo shares these widget
headers (/opt/lightgui/widgets), so Rust-generated apps get the fix
too.
2026-11-30 03:15:06 +00:00
cnmcdee 60427589ca Getter/setter pass Group A Windows & Dialogs: expose hardcoded draw colours as Srgb properties + missing state accessors (26 widgets, 128 colours, 14 state accessors) 2026-11-29 22:05:08 +00:00
cnmcdee 77a5edfe2c Merge expanded widget set: 547 XFrame widgets, combined palette (583), layout, docs 2026-11-29 03:38:35 +00:00