[9529] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: How can I syncronize two entries?

daemon@ATHENA.MIT.EDU (Xiong Shao Jun)
Thu Oct 22 22:09:03 1998

Date: Fri, 23 Oct 1998 10:09:54 +0800
From: xsj@cmbchina.com (Xiong Shao Jun)
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

I once used gtk_signal_emit_stop_by_name(entry, "changed") on an password
entry, and
replace the entered character with '*', but the "changed" signal are emitted to
the widget.
I then read the code for gtk_entry_set_text, it calls gtk_editable_insert_text
on editable
GTK_EDITABLE(entry), which then emits "changed" signal on the editable widget.
So
gtk_signal_edit_stop_by_name has no effect on it.

By the way, what should I do to handle my password entry?

Xiong Shaojun

James Bailie wrote:

> Scott Stone writes:
>
> >sure, how about using gtk_signal_disconnect?
>
> Better: gtk_signal_emit_stop_by_name( widget, "changed" );
>
> --
> James Bailie
>
> http://www.wwdc.com/~jbailie
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post