| Crates.io | libobs-window-helper |
| lib.rs | libobs-window-helper |
| version | 0.1.5 |
| created_at | 2024-07-27 14:11:12.267494+00 |
| updated_at | 2025-09-16 21:49:57.790007+00 |
| description | Provides a list of windows that can be captured by OBS |
| homepage | |
| repository | https://github.com/joshprk/obs-window-helper |
| max_upload_size | |
| id | 1317337 |
| size | 40,611 |
This is just a helper crate for the (to be released) libobs-sources crate. It provides a way to get a list of all windows that OBS can capture (eiter window_capture or game_capture). If you want to use this crate nevertheless, here's an example.
use libobs_window_helper::{get_all_windows, WindowSearchMode};
fn main() {
let res = get_all_windows(WindowSearchMode::ExcludeMinimized, false).unwrap();
for i in res {
/// This struct contains all crucial information about the window like title, class name, obs_id etc.
println!("{:?}", i);
}
}