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 7529233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:36:18+00:00 2026-05-30T04:36:18+00:00

I am working on the graphical user interface of a machine. It uses comboboxes

  • 0

I am working on the graphical user interface of a machine. It uses comboboxes in a window that can be redrawn at any time in the main thread, outside the main loop (using the idle_add function inside the gtk-lock). This will happen when a certain button -a real one, not a widget- is pressed on the machine. If this happens while the combobox is open, I get a Gtk-Warning: assertion ‘WIDGET REALIZED FOR EVENT’ failed and my program hungs.

I tried to add the code:

    combo.set_active(-1)
    while gtk.events_pending():
          gtk.main_iteration()

but this didn’t solve the problem.

I have been looking for functions like combo.is_open() or combo.close() but they don’t seem to exist. The signals related to a combo are ‘changed’,’move-active’,’pop-up’ and ‘pop-down’ but the first is only sent when a text is selected in the combo and the other ones are keybinding signals.

Is there any way to check if a combo is open (has been selected) ?

  • 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-30T04:36:19+00:00Added an answer on May 30, 2026 at 4:36 am

    Use the popup-shown property.

    The documentation even tells you to connect to notify::popup-shown which sounds like just what you need.

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

Sidebar

Related Questions

I'm working on a graphics application where the user can draw any number of
I'm working on an app that lets the user stack graphics on top of
I'm working on a project wherein a user can take a snapshot of themselves
For a new SaaS app that I'm working on, I want the end user
I'm working on a source-code visualization project that uses the Processing core library. The
I have a graphical Android project and my primary trick for providing user interface
I'm currently working on the user interface of a win forms application. The primary
Hi I am working on a program where the user can take screenshots. The
I'm working on a Native dll written in C++ that uses mono to show
I'm working on an Android application that requires 2D graphical view with a large

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.