LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-16-2008, 08:29 AM   #1
johnnybgoode
LQ Newbie
 
Registered: Feb 2005
Location: belgium
Distribution: Mandriva
Posts: 3

Rep: Reputation: 0
Glade 3 how to access the AboutDialog "Close" button?


How can I access the Help>About button from the gtk.AboutDialog. Clicking on it has no effect and there is no "Edit" item on the menu bar.
 
Old 01-19-2008, 03:39 PM   #2
Rexbron!
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
I was dealing with the same problem. Here is how I solved it:

Since you are asking about the close button, I will assume that you have been able to make it show.

Code:
def about(self, widget):
    print 'showing widget'
    self.aboutWidget.run()#show the dialog, holds in a while loop untill close is pressed.
    self.aboutWidget.hide()#Hidess the dialog after the close button terminates the while loop.
The key is to call run() to actually show the dialog and follow it by hide.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Glade 3 how to access the AboutDialog "Close" button? johnnybgoode Mandriva 0 01-15-2008 11:42 AM
"NIM thread blocked" & "Deadman Switch (DMS) close to trigger" errors sosborne Linux - Networking 1 06-28-2006 02:07 PM
Glade freezes when I click the "Edit Menu" button josedsilva Linux - Software 0 12-26-2005 10:45 PM
<input type="button" disabled="true" > does not work in ns4.7 or 4.9 cybercop12us Programming 2 11-29-2002 08:31 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration