Thanks, Peter O.
I looked for a forum on this community, specifically for Code::Blocks questions, but didn't see one. I'll look again.
Yes I did try it with the back quotes as well. When you set up the Code::Blocks IDE, for a GTK+ project, as I did last night, I noticed that it added the string `pkg-config gtk-+3.9 --cflags --libs`. Now, I just tried to duplicate that, and can't.
I've played and played with the examples that you've given in your tutorials, and, have learned a lot, but, the questions I'd like to ask you keep coming. The problem is, I've learned that, when it comes to programming, you almost have to know the answer before you ask the question, or else the answer will be more enigmatic than the original question.
Here's one. I'm trying to alter your second Glade Exercise, Ex 8. I want to figure out the minimum program I have to write to have four button and a GtkEntry Window. I want four buttons, one that puts a predefined text in the window, one that enters another predefined text in the window, a third that clears the window, and a button to quit.
I couldn't get it to work, but then I noticed that you needed these two lines:
Code: Select all
window = GTK_WIDGET (gtk_builder_get_object (builder,"window"));
timer = GTK_WIDGET (gtk_builder_get_object (builder,"timer"));
OK, so, you need to invoke 'builder' for window, that I understand. And, I can see you have to invoke 'builder' for timer, which is a GtkEntry widget. OK. But, why don't you have to invoke it for the buttons as well?
-Mike