From: "Hazael Maldonado Torres" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Tuesday, January 31, 2006 11:34 AM
Subject: Re: images inside labels
Hi there
I had done something similar but adding a label+button. Below you can
find the co
Hi there
I had done something similar but adding a label+button. Below you can
find the code I used.
hbox2 = gtk_hbox_new (FALSE, 4);
gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1),
gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 0), hbox2);
label4 = gtk_label_new (_(
t back when I try it again.
Thanks all.
Travis
- Original Message -
From: "Brian" <[EMAIL PROTECTED]>
To: "devel" <[EMAIL PROTECTED]>
Cc: "GTK"
Sent: Tuesday, January 31, 2006 10:17 AM
Subject: Re: images inside labels
On Mon,
ot; <[EMAIL PROTECTED]>
> > Sent: Monday, January 30, 2006 5:03 PM
> > Subject: Re: images inside labels
> >
> >
> >> devel wrote:
> >>> Well, I have tried placing an image and a label inside an hbox, but no
> >>> such
> >>>
Uhm,
wrong, the event box is needed to have tooltips for tabs. The image+label works
without too. sorry.
Stefan
Tristan Van Berkom wrote:
Stefan Kost wrote:
hi,
you need to put in an event box first. the tab has no window.
eventbox(hbox(icon,label))
Hmmm, are you certain of this ?
I
ED]>
To: ; "devel" <[EMAIL PROTECTED]>
Sent: Monday, January 30, 2006 5:03 PM
Subject: Re: images inside labels
devel wrote:
Well, I have tried placing an image and a label inside an hbox, but no
such
luck. For some reason, the notebook's tab label is not showing the hbo
devel wrote:
> Well, I have tried placing an image and a label inside an hbox, but no such
> luck. For some reason, the notebook's tab label is not showing the hbox. Its
> not showing anything, not even the page number. Very certain I am packing
> what and where I need to. Little stumped. Thanks
Stefan Kost wrote:
hi,
you need to put in an event box first. the tab has no window.
eventbox(hbox(icon,label))
Hmmm, are you certain of this ?
I think GtkLabel is also GTK_NO_WINDOW, and is usually the
type of widget for tab-label's in the notebook... I would
expect this requirement to be a
BOOK (notebook), scroll, hbox);
>
>
> Travis
>
> - Original Message - From: "devel" <[EMAIL PROTECTED]>
> To: "Tristan Van Berkom" <[EMAIL PROTECTED]>
> Cc: "GTK"
> Sent: Monday, January 30, 2006 11:52 AM
> Subject: Re: image
t; <[EMAIL PROTECTED]>
Cc: "GTK"
Sent: Monday, January 30, 2006 11:52 AM
Subject: Re: images inside labels
To answer your question, the latter of what you mentioned. I just need a
small icon/image next to a one-word blurb on the tab. So the 1st idea you
mentioned sounds reasonable
Van Berkom" <[EMAIL PROTECTED]>
To: "devel" <[EMAIL PROTECTED]>
Cc: "GTK"
Sent: Monday, January 30, 2006 12:56 PM
Subject: Re: images inside labels
devel wrote:
I have a gtknotebook that I would like to put small images inside the tab
labels. I've
devel wrote:
I have a gtknotebook that I would like to put small images inside the tab
labels. I've looked around, but haven't seen how to do that. I am willing to
bet that it can't be done, but I'll just ask as a last resort. Thanks.
Hmmm how much you wanna bet ?
heh, so do you want images
I have a gtknotebook that I would like to put small images inside the tab
labels. I've looked around, but haven't seen how to do that. I am willing to
bet that it can't be done, but I'll just ask as a last resort. Thanks.
Travis
___
gtk-app-devel-list
13 matches
Mail list logo