GTK+ (2.0) - signal "clicked" on GtkEntry?

Posted by Lght on Stack Overflow See other posts from Stack Overflow or by Lght
Published on 2012-04-16T11:25:28Z Indexed on 2012/04/16 11:29 UTC
Read the original article Hit count: 141

Filed under:
|
|
|

i'm testing some signals with Gtk+ 2.0. Actually, i'm looking for a way to get the signal emitted when i click on a GtkEntry.

if (widgets_info[i].action & IG_INPUT)
    {
      widget->frame[i] = gtk_entry_new_with_max_length(MAX_INPUT_LENGTH);
      gtk_entry_set_text(widget->frame[i], widgets_info[i].text);
      catch_signal(widget->frame[i], MY_SIGNAL, &change_entry, widget);
    }

I have a pre-selected text in my entry (widgets_info[i].text) and i want this text to disappear if the user click on my GtkEntry.

Does someone knows what is this signal ?

Sincerely,

Lght

(sorry for my english)

© Stack Overflow or respective owner

Related posts about gtk

Related posts about signal