Re: images inside labels

2006-01-31 Thread devel
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

Re: images inside labels

2006-01-31 Thread Hazael Maldonado Torres
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 (_(

Re: images inside labels

2006-01-31 Thread devel
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,

Re: images inside labels

2006-01-31 Thread Brian
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 > >>>

Re: images inside labels

2006-01-31 Thread Stefan Kost
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

Re: images inside labels

2006-01-30 Thread devel
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

Re: images inside labels

2006-01-30 Thread Paul Pogonyshev
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

Re: images inside labels

2006-01-30 Thread Tristan Van Berkom
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

Re: images inside labels

2006-01-30 Thread Stefan Kost
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

Re: images inside labels

2006-01-30 Thread devel
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

Re: images inside labels

2006-01-30 Thread devel
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

Re: images inside labels

2006-01-30 Thread Tristan Van Berkom
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

images inside labels

2006-01-30 Thread devel
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