Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding custom widget to GLADE

Tags:

gtk

glade

gtk3

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.

like image 579
ganeshredcobra Avatar asked Mar 06 '14 09:03

ganeshredcobra


Video Answer


1 Answers

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.

like image 56
drahnr Avatar answered Sep 23 '22 13:09

drahnr