title: Combining SDL with GTK in Perl
body: <p>I'm trying to make a gameboy emulator in Perl and I would like to know if it is even possible to <strong>embed SDL into Gtk ?</strong></p>
  <p><strong>EDIT:</strong>
  Like I precised in the comments, I am searching for a way to make a normal Gtk GUI app that contains various widgets (but mainly a menu bar) and that also contain the video framed rendered by SDL (which comes from the regular update of a frame buffer or sprite positions on a SDL surface).</p>
  <p>There is no problem in doing a Gtk GUI app in its own window, or to render &quot;video&quot; in a bare window with SDL. But I want to combine both in the same window to be able to have widgets around the sort of bare video window that SDL provides.</p>
  <p><strong>EDIT 2:</strong>
  I've just found out that we can have widgets with SDL / SDLx so I'm going to do my project this way. This is just a little disappointing to not be able to use Gtk3 though. Maybe the idea of combining Gtk and SDL is hacky anyway. And sadly, it really doesn't help that GUI frameworks on CPAN seems out of date lately.</p>
  <p>If someone says that this is basically an XY problem and that there is a better way to do what I want to do, I would gladly accept it.</p>