Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6717579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:52:08+00:00 2026-05-26T08:52:08+00:00

I have a project built in Python, PyGTK 2.24, and PyGST (GStreamer). I have

  • 0

I have a project built in Python, PyGTK 2.24, and PyGST (GStreamer). I have my video working perfectly in a gtk.DrawingArea object.

However, I need to display other GUI elements OVER this video while it is playing. (Please don’t ask why, just trust me.) Right now, they all appear to be behind. In the code, the video objects (and gtk.DrawingArea) are declared and put into the gtk.Fixed FIRST, following by everything else.

So, how do I do this? Do I need to change what object GStreamer is playing on? I know it is possible…I’ve seen GStreamer programs that have things like buttons and labels sitting on top of the video.

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:52:09+00:00Added an answer on May 26, 2026 at 8:52 am

    You can do this in GTK 3.2 and above using GtkOverlay.

    If you can’t upgrade, then here is a summary of the old-fashioned way: connect to the expose-event signal of the DrawingArea, and paint the information on yourself using Cairo. When the information changes, trigger a redraw of the drawing area using widget.queue_draw(). Make sure your handler runs after the handler that draws the actual video onto the drawing area. This will work for labels and non-interactive GUI elements.

    If you want an actual functioning GUI element to hover above your video, that’s rather more complicated and I don’t know how to do it. I don’t think Fixed guarantees any z-order. I suspect that your buttons and whatnot are being overpainted by the video being drawn onto the drawing area, so maybe triggering a redraw of those in your expose-event handler will work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project built in Python 2.7, using SQLite3 as the database. I
I am working on a project built on python 2.4 (It is an embedded
I have a project built and packaged with a specific version of jsp-apiand servlet-api
I have a project that is built and managed by Maven. I have a
I have a project that comprises pre-build Dll modules, built some time in the
I have a .NET project which references another assembly that is built outside of
I have Android pet-project DroidIn which utilizes HttpClient 4 (built into Android) to do
I have built a web setup project in VS2008 which installs my ASP.NET/Silverlight app
I have an exe that is built and placed into a Setup project for
I have a small RIA that I built as a learning/make-my-life-easier project that uses

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.