[Glade-users] Problem on adding custom widget in glade

On Tue, Feb 16, 2010 at 1:19 AM, Muhammad Zillur Rahman Jamali
<zillur.rahman at bjitgroup.com> wrote:
How to link the widget code into executable.
Actually i have followed the eggclock almost.

In the catalog that plugin specifies libegg as the library,
Glade loads that library by hand (it can actually be a plugin
library for implementing editing features inside Glade, which
should usually link to the actual widget library).

You need to tell gcc in what library you put the widget you
need and link when you compile your executable (gcc -lmylib)


With Best Regards
Muhammad Zillur Rahman Jamali

Tristan Van Berkom wrote:
On Mon, Feb 15, 2010 at 10:41 PM, Muhammad Zillur Rahman Jamali
<zillur.rahman at bjitgroup.com> wrote:

I have
-Created a share library
-Created xml
and put them in

.so into /usr/lib/glade3/modules/
xml into /usr/share/glade3/catalogs/

the widget is showing in interface designer.
But when trying to execute creating a design it does not show anything.

I mainly followed this link:
its working only when it calls from current directory like the example.

Dont follow exactly, it works loading your widget into Glade but not into
your program using GtkBuilder ?

How is your widget type named ? and is the widget code linked into
your executable when running it ?

? ? ? ? -Tristan

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