Re: Default text
- From: Alexander Semenov <bohtvaroh gmail com>
- To: Demetris Zavorotnichenko <fgcity4652 cytanet com cy>
- Cc: gtk-list gnome org
- Subject: Re: Default text
- Date: Wed, 19 Nov 2008 14:37:18 +0200
Demetris Zavorotnichenko wrote:
Hi everyone.
How can I make a text field Widget be the default one when I start my
application? (So that the cursor is already located there and ready for
typing)
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
Hi.
There are many examples of this in the gtk tutorial.
E.g. http://library.gnome.org/devel/gtk-tutorial/stable/x1370.html
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_widget_grab_default (button);
Regards.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]