You are not logged in.

#1 2012-07-26 18:30:28

neok
Member
From: Cyprus
Registered: 2003-12-14
Posts: 190
Website

How to get a widget from its parent in GTK3

Hi,

I am attempting to migrate from GTK+ 2 and glade 2 to GTK+ 3 and glade 3. I am stuck with trying to get a widget from its parent (a GtkEntry from the main window), which previously I would do with the support function lookup_widget(). If I get the Entry using GtkBuilder, although I can set the text in the entry, it doesn't show. It seems that using GtkBuilder to get an object from an already created parent doesn't work well.

I feel that I am missing some simple thing here, but all my efforts have failed, including searching the 'net. I would very much appreciate some hints here.

My thanks i advance.


Regards

Neoklis ... Ham Radio Call: 5B4AZ

Offline

Board footer

Powered by FluxBB