Re: gtk_entry text cursor
- From: Mycroft <microft-mail web de>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk_entry text cursor
- Date: Mon, 12 May 2014 10:09:41 +0000 (UTC)
John Coppens <john <at> jcoppens.com> writes:
On Sun, 11 May 2014 18:50:51 +0000 (UTC)
Mycroft <microft-mail <at> web.de> wrote:
How to set the cursor position in a gtk_entry.
gtk_editable_set_position(GTK_EDITABLE(w), pos);
w is the gtkEntry... pos is the position
John
http://vega.frugalware.org/tmpgit/gnome.old/source/xlib/gtk+2/pkg.gtk+2-docs/usr/share/gtk-doc/html/gtk/gtk-GtkEditable.html
This does not work no cursor apears.
cu
i used gtk_widget_grap_focus
and for test reason a gtk_editable_select_region and this works.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]