X and Windows extern window inside sdl sdl

hello all :slight_smile:

iam new to sdl and would like to use it for a small program with my friends :slight_smile:

iam trying to open a file manager ( dolphin - the kde4 file manager and file explorer) inside a parent sdl window

however, how can that be done ? do i have to use xcb/xlib or is it already implemented into sdl ?

i have googled and found nothing :frowning: so i hope you guys can help

thanks :slight_smile:

You mean for it to be rendered within a pre-existing SDL window? I don’t think so, at least not with SDL alone.

However, you could start it then grab its XWindow and convert it into an SDL_WindowID for use by an SDL application (SDL 1.3 only), but I’m not sure how much you can do with it once you’ve done that.

yes to be rendered into an existing sdl window and then i can just work with it normally insdide the parent sdl window

but what do you mean by " you could start it then grab its XWindow and convert it into an SDL_WindowID for use by an SDL application "

would please show me an example or something ?

btw , is that possible on windows too ?