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

getting started



I'm new to Linux and "C".  I modified the sample program in the tutorial
at 4.5 (packing widgets in a table) because I thought it was time to add
color to something.  I think, from the docs I've read, the way to do
that is by changing the style.  I decided to make a copy of the default
style of the widget and, accordingly started by adding the following
lines:

GtkStyle *defaultstyle;
defaultstyle = gtk_widget_get_default_style();

Adding these two lines compiles but caused a seg fault so I decided
something this simple must mean I should get the latest libraries.

I got glib-1.2.6 and gtk+-1.2.6.  I installed the glib and all went
well.  I tried to install the gtk+ and it says I need glib-1.2.4 or
better.  What do I need to do besides ./configure, make, make install to
get glib-1.2.6 installed so that gtk+-1.2.6 will install?

After I install the latest libraries I will try again on the sample
program.

Thanks for any direction.

Chuck Davis



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