Re: [gtkmm] focus to DialogWindow



Hi,

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...
> 
> 
> TIA,
> Andi
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
-- 
Wer für alles offen ist, kann nicht ganz dicht sein.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]