ganeshredcobra
ganeshredcobra

Reputation: 2081

Adding custom widget to GLADE

Hi am using gtk3 and glade 3.14...I want to add a custom widget to glade so that i can add that to my user interface easily.

I found knob widget is missing in glade and i found knob widget in

http://sourceforge.net/projects/giw/

I downloaded and installed instrumentation widgets but it wont get added to Glade.

Is a knob widget available in glade.

I tried using the knob.c and knob.h file and tried example and got some examples working but couldn't integrate them to gade.

Upvotes: 6

Views: 5124

Answers (1)

drahnr
drahnr

Reputation: 6886

What you need is a glade catalog file which describes your widgets properties, the catalog name and a few other things. You may also have to add an additional catalog path under Edit > Preferences in the dialog section where it says Extra Catalog Paths if the catalog resides outside of the default lookup paths.

For details on how to create a catalog, read the catalogintro.

Upvotes: 5

Related Questions