[Glade-users] glade custom widget

l l happyarch at gmail.com
Mon Jun 11 22:29:27 EDT 2007


Hi,

I am new to glade and gtk programming, I have a question.

When i study gtk application in anjuta-2.1.3, i succeed to create
simple gtk+/gui example with glade-plugin.

now i want to replace one of the widgets with VteTerminal,
so i have changed the one to custom widget.

Please check my code,

--main.c--
...
GtkWidget *vteterm;
vteterm = glade_xml_get_widget (gxml, "custom1");
...
--eof--

--1.glade--
 <widget class="Custom" id="custom1">
...
                <property name="creation_function">vte_terminal_new()</property>
...
--eof--


More information about the Glade-users mailing list