Re: best way to pass data around

2006-01-30 Thread Andreas Stricker
typedef struct Data_To_Be_Sent { GtkWidget *scrolled_window_data_to_be_sent; GtkTextBuffer *buffer; GtkWidget *view_data_to_be_sent; int sockfd; } Data_To_Be_Sent; My question is, is there a better way to do this? Is using a typedef struct a good idea? my grasp

troubles with gtkplot

2006-01-30 Thread Alexandre
I´m having some troubles with gtkplot, from gtkextra (gtk+extra-2.1.1). I´m using the mouse to select a area, and zoon in it, and it works, but when there is not any major tick in the selected area, theres a segmentation fault, and I can't understand why.. Someone knows how to fix

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

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

Re: images inside labels

2006-01-30 Thread devel
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 enough. Good thing I'm not a betting man, eh? Thanks Travis - Original Message - From: Tristan Van Berkom

Re: images inside labels

2006-01-30 Thread Stefan Kost
hi, you need to put in an event box first. the tab has no window. eventbox(hbox(icon,label)) Stefan 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

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

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 devel
Yes, I have been using gtk_widget_show_all(). However, I still haven't been able to perform this even with an eventbox. Well, its monday, nothing works right on the 1st day of the week anyway. Thanks. Travis - Original Message - From: Paul Pogonyshev [EMAIL PROTECTED] To:

Re: troubles with gtkplot

2006-01-30 Thread Al Hooton
Alexandre, Can you put together a small test program that exhibits the problem you're seeing. Without something specific to look at, there is no way to help. Often, a good way to do this is to start with one of the test programs that comes with gtkextra, and strip it