Re: [gtk-list] Re: how to redefine a certain signal/event handler



Friday Sep 10 20:05:20 -0700 1999 Andreas Leitner <leitner@eiffel.com> wrote:
> Uhm, hi again. I have now read the some part of Havoc Pennington
> excellent book and I am a little bit wiser regarding my last question.
> Sorry I know I should have read the book before I am asking dumb
> questions.
> 
> Since `gtk_text_key_press' is the default function of GtkText regarding
> the key press signal, the only clean way to modify it's behavior seems
> to be: inherit from GtkText and redefine it in the new class.
> 
> sorry for the confusion,
> Andreas

May I thank you for the question and for answering it. I have been thinking
how to control what is to be written in a GtkEntry widget. The solution
you presented will be ideal for me :).


> PS: If the actions I outlined above are still wrong I would be happy to
> hear from you guys (;


Tomi



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