Re: How to disable pasting text in an entry.



Currently I am using gtk 1.2.10 and there is no function called 
gtk_entry_set_invisible_char().

Does the latest version of gtk contains gtk_entry_set_invisible_char() ?

-- Anil

On 13 Aug 2002, Havoc Pennington wrote:

> 
> 
> Anil <anil gdit iiit net> writes:
> > 
> > 	I have implemented an entry which functions like a password entry
> > (MS Windows type) ie when the user types in anything the masking character
> > '*' appears. But when the user pastes the text through mouse middle click, 
> > "key_press_event" is not triggered. So the text appears intact. How can i 
> > disable this? Disable the mouse event entirely or hide the text and show 
> > the masking character.
> > 
> 
> GtkEntry already supports password mode, and will handle the paste
> case correctly. gtk_entry_set_visibility(), gtk_entry_set_invisible_char().
> 
> Havoc
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
> 

-- 





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