Jump from PyGTK to C GTK



Hello, i have been using glade to build a GUI, doing an app to fill the entry-boxes with data. OK so far. But when i wanted to color the boxes with help of PyGTK according to their content and did not succeed with that i decided to start using c instead, where i have 20 years more experience. But i fell on a simple detail, when in PyGTK i wanted a pointer to an entrybox, using MyBox  = builder.get_object ( "MyBoxID" ) and tried to find an equivalent in GTK c i was in no luck. So, how to exchange MyBox  = builder.get_object ( "MyBoxID" ) to c-acceptable code? ALL the example code i have found uses pointer derived with a variant of 'new', not applicable using glade! PLEASE point me right!

--
Nils Söderman    nils meditalk com
Gråbergsvägen 15A

SE-752 40 Uppsala Sweden
Ph. +46 18 59 10 10
Ph. +46 18 55 28 27
Mob +46 707 25 30 69




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