I have a simple form with a GtkEntry and two button (ok/cancel). I want that the ok button is the default button (activate with the enter key) and that the Entry has the focus when the form is showed. I write this code: file_entry.grab_focus() ok_button.set_flags(CAN_DEFAULT) ok_button.grab_default() But if the "file_entry" has the focus the ok_button isn't the default. Someone can help me? Thanks. - To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
- Re: [pygtk] Default button Luca Minuti
- Re: [pygtk] Default button James Henstridge
