Re: Default text

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

 



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@xxxxxxxxx
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.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux