[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
GtkEntry move_cursor signal
- From: Günther Rapp <guenther rapp-informatik de>
- To: gtk-app-devel-list gnome org
- Subject: GtkEntry move_cursor signal
- Date: Sun, 26 Oct 2003 15:10:35 +0100
I need help on Gtk 1.2
why is the move_cursor signal not called with his small test code
GtkWidget*
create_window1 (void)
{
GtkWidget *window1;
GtkWidget *entry1;
window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_object_set_data (GTK_OBJECT (window1), "window1", window1);
gtk_window_set_title (GTK_WINDOW (window1), _("window1"));
entry1 = gtk_entry_new ();
gtk_widget_ref (entry1);
gtk_object_set_data_full (GTK_OBJECT (window1), "entry1", entry1,
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (entry1);
gtk_container_add (GTK_CONTAINER (window1), entry1);
gtk_signal_connect (GTK_OBJECT (window1), "destroy_event",
GTK_SIGNAL_FUNC (gtk_main_quit),
NULL);
gtk_signal_connect (GTK_OBJECT (window1), "destroy",
GTK_SIGNAL_FUNC (gtk_main_quit),
NULL);
gtk_signal_connect (GTK_OBJECT (entry1), "changed", /*
this called without problems */
GTK_SIGNAL_FUNC (on_entry1_changed),
NULL);
gtk_signal_connect (GTK_OBJECT (entry1), "move_cursor", /*
this never not moving cursor with mouse */
GTK_SIGNAL_FUNC (on_entry1_move_cursor), /* or
with the arrow keys */
NULL);
/* is there a mask
missing or what happens */
/* I think it is only a
little bit but I do not see it */
return window1;
}
Best Regards
Günther
--
R=I+S Rapp Informatik Systeme GmbH
Rosenbühlstr. 24
D-89182 Bernstadt
Tel: +49 (0)7348-7755
Fax: +49 (0)7348-6086
E-MAIL mailto: guenther@rapp-informatik.de
WEB www.rapp-informatik.de
PS:
Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .PPT) Format
Bitte lesen Sie
http://www.fsf.org/philosophy/no-word-attachmentsi.de.html
Please don't send me any attachment in Microsoft (.DOC, .PPT) format
please
Read http://www.fsf.org/philosophy/no-word-attachments.html
begin:vcard
n:Rapp;Günther
tel;fax:+49 (0)7348-6086
tel;work:+49 (0)7348-7755
x-mozilla-html:FALSE
url:www.rapp-informatik.de
org:R=I+S;Rapp Informatik Systeme GmbH
adr:;;Rosenbühlstr. 24;D-89182 Bernstadt;Germany;;
version:2.1
email;internet:guenther@rapp-informatik.de
x-mozilla-cpt:;1312
fn:Günther Rapp
end:vcard
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]