Re: How to get a GtkSizeGroup? (with attachment)
- From: Jaap Haitsma <jaap haitsma org>
- To: GTK-APP-DEVEL-LIST <gtk-app-devel-list gnome org>
- Subject: Re: How to get a GtkSizeGroup? (with attachment)
- Date: Wed, 16 Nov 2005 23:01:47 +0100
Jaap Haitsma wrote:
Hi,
I have a number of comboboxes that I want to have exactly the same size,
and also I want them to align vertically. I can't use a table because in
the dialog I want to use them there will be some text in between.
Somebody on this list pointed me to use GtkSizeGroup.
However using that I still can't get it right. I attached a very simple
project, where I try and do it. I'm hoping that somebody can take a took
at it and tell me what I do wrong.
Thanks
Jaap
PROGRAM = gtksizegroup
PREFIX = /usr
CFLAGS = -g `pkg-config --cflags libgnomeui-2.0` \
`pkg-config --cflags libglade-2.0` \
-ansi -Wall \
-DPREFIX=\""$(PREFIX)\"" \
-DSYSCONFDIR=\""$(PREFIX)/etc"\" \
-DDATADIR=\""$(PREFIX)/share"\" \
-DLIBDIR=\""$(PREFIX)/lib"\"
LIBS = `pkg-config --libs libgnomeui-2.0` \
`pkg-config --libs libglade-2.0`
$(PROGRAM): $(PROGRAM).c
gcc -o $(PROGRAM) $(PROGRAM).c $(CFLAGS) $(LIBS)
clean:
rm -f $(PROGRAM)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]