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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:35:21+00:00 2026-05-15T15:35:21+00:00

Todo: On button click in main window, open a popup dialog Framework: pygtk Experience:

  • 0

Todo:

On button click in main window, open a popup dialog

Framework:

pygtk

Experience:

Beginner

  • 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-15T15:35:22+00:00Added an answer on May 15, 2026 at 3:35 pm
    import gtk
    
    d = gtk.Dialog()
    d.add_buttons(gtk.STOCK_YES, 1, gtk.STOCK_NO, 2)
    
    label = gtk.Label('Do you like GTK?')
    label.show()
    d.vbox.pack_start(label)
    
    answer = d.run()
    d.destroy()
    
    print answer
    

    gtk dialog example

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

Sidebar

Related Questions

I'm trying to create an application such that when I click on a button
I have a button click event that executes a group of file copy operations.
I'm trying to do a custom button to my form (which has FormBorderStyle =
I'm trying to do a very simple button that changes color based on mouseover,
I'm developing a todo list application. I'm looking for any way to alert the
I'm building a simple Todo List application where I want to be able to
Each of my clients can have many todo items and every todo item has
Our solution has a lot of todo comments, but unfortunately it seems the only
I've been crossing things out on my TODO list. I've recently picked up Colemak.
I have resharper installed and I use the todo list functionality pretty often. My

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.