Re: [gtkmm] focus to DialogWindow
- From: "Andreas B. Thun" <abt gmx de>
- To: Detlef Reichl <detlef reichl gmx org>, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] focus to DialogWindow
- Date: Mon, 29 Mar 2004 14:20:59 +0200
Detlef, thanks for your reply.
Actually, I want to set the focus on a displayed Gtk::DialogWindow
which contains the button.
When the window pops up, it has no focus. I have to move the mouse
pointer in..
Use the
set_default_response(int response_id)
methode. The response_id for the OK Button is
GTK_RESPONSE_OK
Cheers
detlef
On Son, 2004-03-28 at 16:39 +0200, Andreas B. Thun wrote:
Dear list members,
how can I set focus to the OK-Button of a GtK::DialogWindow?
set_focus() wants a widget (OK-Button) but I donīt know how
to get the button widget...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]