Re: How add text above a scrollbar/GTKHScale widget?? w/ a NEW widget? Which?
- From: Paul Davis <pbd Op Net>
- To: Chris Seberino <seberino spawar navy mil>
- Cc: gtk-list gnome org
- Subject: Re: How add text above a scrollbar/GTKHScale widget?? w/ a NEW widget? Which?
- Date: Mon, 28 Jan 2002 09:05:24 -0500
>When you have a scroll bar or GTKHScale how do you
>add text above it to name/explain it? Do you
>add a new widget? Which one?
this will stack the label below the hscale. obvious variations exist
for putting it above, to the left or right.
GtkWidget *hbox = gtk_hbox_new (...);
GtkWidget *hscale = gtk_hscale_new (...);
GtkLabel *label = gtk_label_new (...);
gtk_box_pack_start (GTK_BOX(hbox), hscale);
gtk_box_pack_start (GTK_BOX(hbox), label);
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]