FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Activate BSplitView binding by cyberman · Pull Request #24 · coolcoder613eb/Haiku-PyAPI · GitHub

Repository navigation

Activate BSplitView binding - #24

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

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

Conversation

cyberman commented Jul 28, 2026 •
edited
Loading

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.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL