Re: Pixmap in a button created with gtk_button_new_with_label()
- From: Havoc Pennington <hp redhat com>
- To: Ignacio Nodal <inodal teleline es>
- Cc: GTK-List <gtk-list gnome org>
- Subject: Re: Pixmap in a button created with gtk_button_new_with_label()
- Date: 23 May 2001 09:19:06 -0400
Ignacio Nodal <inodal teleline es> writes:
>
> The way I've solved it is creating a box where I add the label or the
> pixmap, hiding the label if I want to show the pixmap or viceversa.
> Is this the "correct" way? Is there a way to show a pixmap in a button
> using gtk_button_new_with_label() to create it?
>
Nope, you're doing it the way I'd do it.
new_with_label() creates a button with a label, you want a button with
something which is not a label, ergo using new_with_label() isn't
what you want. ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]