Re: how to reduce the width of the hbox



Sorry, but i have not tested it.

The link i give you is a tutorial. You should start reading it from the beginning before continue with your project.

The lines outputting those errors are:
if (argc != 2) {
fprintf (stderr, "usage: packbox num, where num is 1, 2, or 3.\n");
/* This just does cleanup in GTK and exits with an exit status of 1. */
exit (1);
}
you have to call it in the way:
./packbox 2 in linux

Any way, if there is a bug in this example somebody will have to fix it.

Bye.



2008/4/7, sowmya bandalli <bandallisj yahoo com>:
 
Dear Jacobi,
Thanks for the suggestion and the program,but when  I try to run the packbox, it gives me error which looks like this,
 
Unsupported setsockopt level=1 optname=9
usage: packbox num, where num is 1, 2, or 3.
 
It does not even allow me to enter 1 or 2 or 3.
Before I enter the options the program exits.
Can you please help me, I am very new in this field,So finding hard to debug.
Thankyou.
 
Best  Regards,
Sowmya
 
 
 

 


Diego Jacobi <jacobidiego gmail com> wrote:


http://library.gnome.org/devel/gtk-tutorial/stable/x364.html


2008/4/6, sowmya <bandallisj yahoo com>:

Hello All,

This is Sowmya, I have writen a program to display 5colorbox and 5 label
using hbox, but the width is very huge that it occupies the whole display,So
can somebody help me to reduce the width of the box.
I will also uplaod the program which I have writeen,It would be great help
If somebody can  help me as I am very new in this field.

Best,
Sowmya http://www.nabble.com/file/p16528053/displaycolor.c displaycolor.c

--
View this message in context: http://www.nabble.com/how-to-reduce-the-width-of-the-hbox-tp16528053p16528053.html
Sent from the Gtk+ - General mailing list archive at Nabble.com.

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list



You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.




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