[Glade-users] glade custom widget


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,

GtkWidget *vteterm;
vteterm = glade_xml_get_widget (gxml, "custom1");

 <widget class="Custom" id="custom1">
                <property name="creation_function">vte_terminal_new()</property>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]