| Crates.io | libobs-window-helper |
| lib.rs | libobs-window-helper |
| version | 0.4.0 |
| created_at | 2024-07-27 14:11:12.267494+00 |
| updated_at | 2026-01-05 13:25:51.471989+00 |
| description | Provides a list of windows that can be captured by OBS |
| homepage | |
| repository | https://github.com/libobs-rs/libobs-rs |
| max_upload_size | |
| id | 1317337 |
| size | 48,040 |
This is just a helper crate for the libobs-simple 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);
}
}