[Geany-devel] Creating a new window in Geany plugin
Lai Hoang Nam
laihoangnam at xxxxx
Wed Feb 17 18:58:38 UTC 2010
Hello,
I'm developping a plugin for Geany and the objective is to create a window
to display something (some texts...). However, the difficulty is that I
don't know how to insert a new window into Geany (ex: a text view just below
the Message Window of Geany). I have tried to add something like:
GtkWidget *view;
view = gtk_text_view_new();
gtk_box_pack_start(GTK_BOX(ui_
lookup_widget(geany->main_widgets->window, "vbox1")), view, TRUE, TRUE, 0);
gtk_widget_show(view);
in the function plugin_init but it doesn't work as I expected.
I'm very happy if anyone can help me!
Thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20100217/1c800156/attachment.html>
More information about the Devel
mailing list