title: How to set text editable in GtkEntry
body: <p>Pretty straight forward question, I have a <code>GtkEntry</code> widget that I want to set to be editable.  I know the function I should use is:</p>
  
  <pre><code>gtk_editable_set_editable
  </code></pre>
  
  <p>But I don't know how to make it take a <code>GtkEntry</code> widget as an argument</p>
  
  <p>Here is the code I'm using:</p>
  
  <pre><code>GtkWidget *TextEntry;
  TextEntry = gtk_entry_new();
  
  gtk_entry_set_visibility(GTK_ENTRY(TextEntry), TRUE);
  gtk_entry_set_editable(GTK_ENTRY(TextEntry), TRUE);
  gtk_entry_set_overwrite_mode(GTK_ENTRY(TextEntry), TRUE);
  gtk_widget_set_can_focus(GTK_WIDGET(TextEntry), TRUE);
  gtk_widget_grab_focus(TextEntry);
  
  panel_applet_request_focus(applet, 10);
  gtk_container_add (GTK_CONTAINER (applet), TextEntry);
  
  gtk_widget_show_all (GTK_WIDGET (applet));
  </code></pre>
  
  <p>So far as getting keyboard focus, I think I need the <code>panel_applet_request_focus ()</code> function.  It requires that i pass it the applet in question and the timestamp of the event triggering the window focus </p>
  
  <p>I'm not sure what to put in for the timestamp.  I compiled the code as above and I still can't get keyboard focus when I click the applet.</p>