Embedding Gedit
So how does one embed a Gedit control into an application?
GtkWidget *gedit_control; gedit_control = bonobo_widget_new_control "OAFIID:GNOME_Gedit_Control", CORBA_OBJECT_NIL); gtk_widget_show (gedit_control); gtk_container_add (GTK_CONTAINER(vbox), gedit_control);
That was easier than I thought it was going to be. However I can’t edit text in it yet as I’m not sure how to manipulate the object. Here is a screenshot.
