Gtk Combobox Entry problem



Hello everyone,
      I am using GtkComboBoxEntry to display few names. If it does not contain any required name, then it can 
be added.  So for this,  i display all the existing names and another row  called Newname which the user can 
select and change it to his name. 
   Whenever any existing name is selected, i must set the sensitivity of comboboxentry to false and perform 
some operations. But if he chooses the Newname option, then its sensitivity must not be set to false and he 
must be able to edit it. So i use the signal 'changed' to detect any changes in the ComboBoxEntry. 

  But the problem is... For example...if there is already a name called 'mich' and a user selects Newname 
from the option and tries to add 'michael', then as soon as he enters mich... the sensivity of the 
ComboBoxEntry is set to false...
 But i dont want that to happen....

Is there any solution for this?

Thank you in advance
Sandeep KS

                
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min with Yahoo! Messenger with 
Voice.


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