[pygtk] Accessing the names of sub menu items

2006-04-07 Thread Thierry Lam
Let's say I have the following menu item(Hello) with it's list of sub menu items(World, Canada, USA). Hello -> World -> Canada -> USA Is there a way to access each of the Hello sub menu items through python codes with just the Hello Gtk.MenuItem only? Thanks Thierry ___

[pygtk] Determining PyGTK version

2006-04-05 Thread Thierry Lam
Is there a way to determine which version of PyGTK I'm using by writing python codes? Thierry ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Blocking codes

2006-03-10 Thread Thierry Lam
Let's say I have the following gui codes: Popup_window1() Popup_window2() Both of the above will start 2 popup windows back to back. Is there a way to block the code at Popup_window1() until a button is pressed in that window. Once that button is pressed, then I want the Popup_window2() to st

[pygtk] Changing corner icon

2006-02-15 Thread Thierry Lam
Does anyone know how to change the top left corner icon(it usually defaults to the green python icon) in a PyGTK window? Thanks Thierry ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www

RE: [pygtk] Resizing problem with a button widget in a window

2006-02-08 Thread Thierry Lam
believe that "Fixed Positions" is the feature which let you place widgets wherever you want on a window. Thierry -Original Message- From: Danny Milosavljevic [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 2:02 PM To: Thierry Lam Cc: pygtk Subject: Re: [pygt

[pygtk] Resizing problem with a button widget in a window

2006-02-08 Thread Thierry Lam
I have a GUI program which has an "About" menu item. After clicking on it, an About window is generated. The About window was created with Glade, here are the steps for its creation: - Create a new window - Set the window to "Fixed Positions" - Add some text, pictures and a button Here's how it l

[pygtk] Changing the radio button look to a check mark

2006-02-06 Thread Thierry Lam
Let's say I have a menu item which contains a bunch of radio buttons from a specific group. Is there a way to make the radio buttons look more pronounced as if they were to stay in a main window by themselves? If the above is not possible, is there a way to keep the radio buttons in the menu item

[pygtk] How do you make a widget lose its focus?

2006-01-10 Thread Thierry Lam
Let’s say I have Gtk.ComboBoxEntry.  Each time I select an entry, the widget.is_focus() returns true. If I want to click another window, can I explicitly set the widget’s focus to False?   Thanks Thierry ___ pygtk mailing list pygtk@daa

[pygtk] Activating the text cursor in a GtkComboBoxEntry

2006-01-05 Thread Thierry Lam
I have a ComboBoxEntry with a pull down menu represented by a small down arrow on the right hand side of the Entry widget. Each time I select something from the drop down menu, the text cursor is not shown in the Entry widget. Is there a way to activate this text cursor in the Entry widget? Thank

[pygtk] Listening to a GtkComboBoxEntry selection

2006-01-04 Thread Thierry Lam
How do I listen to a selection of a drop down selection of a GtkComboBoxEntry? Thanks Thierry ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Retrieving the signal_name from a handler function

2006-01-04 Thread Thierry Lam
For the follow codes: handler_id = object.connect("signal_name", handler, arg1, arg2, arg3) def handler(object, arg1, arg2, arg3): How can I determine the "signal_name" from within the handler function? Thanks Thierry ___ pygtk mailing list pygt

[pygtk] GtkComboBoxEntry and focus

2006-01-04 Thread Thierry Lam
Let's say I have a GtkComboBoxEntry widget and each time I select it, I have a cursor blinking which tells me that the widget is in focus. How do I check that the GtkComboBoxEntry is no longer in focus whenever I select some other part of the GUI. Thanks Thierry _

[pygtk] Help with modal in Gtk::FileChooserDialog

2005-11-22 Thread Thierry Lam
  Does anyone know how to set modal to True for Gtk::FileChooserDialog?   Thanks Thierry ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Disabling or greying out other windows

2005-11-21 Thread Thierry Lam
Let's say I have a main window which has a File menu. When I click on the File menu and the open button, I have a File Chooser window which comes in front of my main window.  How do I make the main window unselectable?  That is, the only window I should be able to select at this point is th

[pygtk] (no subject)

2005-11-21 Thread Thierry Lam
[EMAIL PROTECTED] ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/