Skip to content

Activate BSplitView binding - #24

Open
cyberman wants to merge 1 commit into
coolcoder613eb:mainfrom
Be-Quiet-Home:fix-bsplitview-activation
Open

Activate BSplitView binding#24
cyberman wants to merge 1 commit into
coolcoder613eb:mainfrom
Be-Quiet-Home:fix-bsplitview-activation

Conversation

@cyberman

@cyberman cyberman commented Jul 28, 2026

Copy link
Copy Markdown

Problem

SplitView.cpp exists but is not included in the Jam build or exported by the Be package, so BSplitView is unavailable to Python callers.

Enabling the source also exposes incomplete layout types, incorrect bindings for the const ItemWeight() overloads, and an owning holder that conflicts with BWindow ownership.

Fix

Add SplitView.cpp to the build and package exports, include the complete layout types, bind both const overloads with py::const_, and use a py::nodelete holder.

Validation

Verified that SplitView.so builds and imports successfully and that a window-owned BSplitView shuts down without an allocator abort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants