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

  • Home
  • SEARCH
  • 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 9164105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:36:07+00:00 2026-06-17T14:36:07+00:00

Using python and the gi.repository module, I am trying to call Gdk.threads_add_idle , but

  • 0

Using python and the gi.repository module, I am trying to call Gdk.threads_add_idle, but I get the error message that three arguments are required. The documentation, however, only mentions two args.

You can try the function (on a linux only, i guess) by typing the following in a python interpreter:

from gi.repository import Gdk

Gdk.threads_add_idle(...)

Any ideas what the three args are?

  • 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-06-17T14:36:08+00:00Added an answer on June 17, 2026 at 2:36 pm

    By looking on a source code search engine, I was able to find a python project using that call.

    Gdk.threads_add_idle(GLib.PRIORITY_DEFAULT_IDLE, self._idle_call, data)
    

    It looks like introspection data is wrong, the priority should already default to PRIORITY_DEFAULT_IDLE (as specified in the the documentation you pointed out). You should file a bug on http://bugzilla.gnome.org.

    UPDATE:

    Pouria’s bug report has been resolved NOTABUG, as this is a naming confusion between the C and Python API.

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

Sidebar

Related Questions

Using Python module re, how to get the equivalent of the \w (which matches
Using Python, I'm trying to connect to my AppEngine app's remote_api handler, but I
Is there a Python way without using a subprocess to clone a git repository?
Using Python's csv module, is it possible to read an entire, large, csv file
I'm trying to convert a CVS repository to Git using cvs2svn and am following
Background: I am using Ubuntu The newer python version is not in the apt-get
Created using Sphinx 0.6.5. I know Python's documentation uses reStructuredText , but it has
I'm trying to rename some committers in a git repository, using git filter-branch .
I'm trying to write simple graphic editor using PyGObject and python 3. I need
I'm using ubuntu 12.04 and I'm trying to write a python plugin to query

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.