Re: nuts!
- From: Chris Vine <chris cvine freeserve co uk>
- To: Gary Kline <kline thought org>
- Cc: gtk-app <gtk-app-devel-list gnome org>
- Subject: Re: nuts!
- Date: Tue, 29 Jul 2014 10:36:03 +0100
On Mon, 28 Jul 2014 23:00:34 -0700
Gary Kline <kline thought org> wrote:
while I can create several {N} labels, they print centered. how do I
get the labels to print from the left side of the window widget:
Use 'gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5)' to align left,
and 'gtk_misc_set_alignment(GTK_MISC(label), 1, 0.5)' to align right.
For multi-line labels, you would also want to call gtk_set_justify().
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]