[gst-devel] xoverlay with gtk widgets and buttons

sledge hammer sledgehammer_999 at hotmail.com
Mon Jan 25 15:48:37 CET 2010


I don't really have an answer, just another question. Why do you need these buttons above the video? To display controls(like play/pause/stop/exit fullscreen)? If yes, consider putting them in a GtkWindow which is of type "POPUP" and place that window above the video.

Date: Mon, 25 Jan 2010 14:37:30 +0000
From: buckleyassoc at comcast.net
To: gstreamer-devel at lists.sourceforge.net
Subject: [gst-devel] xoverlay with gtk widgets and buttons



Hello,

I am trying to implement a series of GTK+ buttons around the perimeter of a video stream that is rendering in a gst-xoverlay.  The xoverlay auto centers itself and I'd like to put three buttons on the left and three buttons on the right.

 

I have read how to create and pack buttons into boxes.  The buttons are being created and become visible after you click on them.  But they don't look very nice.

 

Are there any examples out there for this and is there a simple way of creating a typical "square GUI button" with colors, images and 3D effects?

 

The gst-xoverlay documentation shows a special way of registering the window-id such that capturing events and mouse-clicks is more reliable.  I am going to try and code that method.

 

john buckley

 		 	   		  
_________________________________________________________________
Νέα Windows 7: Βρείτε τον κατάλληλο υπολογιστή για εσάς. Μάθετε περισσότερα.
http://windows.microsoft.com/shop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100125/14c10751/attachment.htm>


More information about the gstreamer-devel mailing list