[Glade-users] glade custom widget
- From: happyarch at gmail.com (l l)
- Subject: [Glade-users] glade custom widget
- Date: Tue, 12 Jun 2007 11:29:27 +0900
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--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]