开发者

Glade GTK accessing individual widgets

I constructed a database manipulating GUI using glade, for my add button hierarc开发者_如何学运维hy is add->confirmation dialog->(if yes)add data. how could each widget values in the main form be accessed? i am new to gtk and glade, i managed to get rid of most of the errors.


Ordinarily you would use GtkBuilder like Ethan said. As far as I know, dynamically-created widgets can't be so easily looked-up. I'd just pass a small array of pointers to the modules that need them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜