[gst-devel] xoverlay with gtk widgets and buttons

Tristan Matthews tristan at sat.qc.ca
Mon Jan 25 17:17:57 CET 2010


2010/1/25 John Buckley <buckleyassoc at comcast.net>

> 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 a simple example that renders gst video in a gtkwindow and has one
slider widget. It hides the widget when you fullscreen the window. It might
be useful:
http://svn.sat.qc.ca/trac/miville/browser/inhouse/prototypes/gstreamer/cpp/fullscreen_with_widgets/test.c?rev=4540

Otherwise I would suggest trying to build prototypes in glade to get the
spacing right. It will also help you in experimenting with different
widgets, i.e. custom widgets with cairo rendering etc.

Good luck,
Tristan

> 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
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>


-- 
Tristan Matthews
email: tristan at sat.qc.ca
web: http://tristanswork.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100125/9b96d5a1/attachment.htm>


More information about the gstreamer-devel mailing list