Where is Glib::strfreev()?

2009-05-01 Thread sledge hammer
Hello, I use Gtk::SelectionData::get_uris() and in the docs says that if I get a non-0 result I should use Glib::strfreev() to free it. The problem is there is no documentation about Glib::strfreev() and I don't know how to use it. I cant even find an example that uses it. So can you show me

Problems using/understanding drag-and-drop.

2009-04-30 Thread sledge hammer
Hi, In my app I want the user to drag-n-drop files from nautilus, then the application should open them. I am using as Targets: 1. STRING 2. text/plain Then when the drag_data_received() signal is emitted, I use the get_text() method on the SelectionData to get the text. Everything works fine

RE: Custom container with multiple GdkWindows. Adding widgets don't show.

2009-03-25 Thread sledge hammer
Thanks. Your first solution helped a bit. But I finally understood how totem does it. It is an entirely different approach and maybe easier. Totem uses, for the video part, a custom widget named "Bacon". When in fullscreen mode Bacon covers the whole screen. The controls that pop-up when the mo

Custom container with multiple GdkWindows. Adding widgets don't show.

2009-03-24 Thread sledge hammer
Hi a had multiple problems building this widget but I always knew where to look and I fixed them. But now I have a problem that I am truly clueless on how to solve it. Let me explain. I am trying to develop a program which uses Gstreamer, so I needed a video widget. This widget should do the fo