Re: Signal for GtkEntry



I want to know about the GtkEntry Signal because I want to do something when user has the focus on the GtkEntry so I can do something when the signal occurs. For example, when user click on a GtkEntry to do some input, the program set a GtkButton's SENSITIVE to FALSE.

Would you please give me some working example how to do this?

Thanks.
Simonz.
(Sorry, I made mistake on the Subject:)

Date: Fri, 24 Aug 2001 08:25:42 +0200
From: Oliver Buecker <o buecker fz-juelich de>
Organization: Forschungszentrum
To: Simonz May <pssoft7 hotmail com>
Cc: gtk-app-devel-list gnome org
Subject: Re: Signal for GtkEntry

Hi Simonz

GtkEditable is the Base class for all text-editing widgets.
Aus you can see, also in the Object Hierarchy of  GtkEntry

 GtkObject
    +----GtkWidget
          +----GtkEditable
                +---- GtkObject

So you can use the activate signal of GtkEditable.

void GtkEditable::activate      (GtkEditable *,
                                                      gpointer);

I hope that is what you wanted to know.

--
Mit freundlichen Grüßen
Oliver Bücker

 Forschungszentrum Juelich
      52425 Juelich




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





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