LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Question about C - GTK (https://www.linuxquestions.org/questions/programming-9/question-about-c-gtk-253282/)

alitrix 11-10-2004 12:22 PM

Question about C - GTK
 
I am using Glade atm to make the "visual" part of my simple application :)

Atm I have a Clist with 8 colums.
I want to put record in each row, but I want ONE of the colums to be a combo box, is that possible??

I tryed to search the whole web about this, but couldn't find anything about it :(

Is this idea possible? A record in a combo box in a CList?? If not, somebody got any tips that I can use??

Greetz,
AliTriX

acid_kewpie 11-10-2004 04:04 PM

i do not nkow if this is really possible, as i've not looked at clists much, but i do know (hopefully) that each cell is actually a gtkentry. it may be possible to access the container for that gtkentry and replace it with another widget, but i ould thin it unliekly as for the operation of the entire clist widget it would need to be able to rely on it's children. then again though they would share teh same editable base widget.

double then again, clist is deprecated in gtk2 (you are talking about gtk2 i presume, not gtk) so you should be trying to avoid them like nobodies business, and using a gtktreeview instead, which i woudl expect can handle that from the off., i know it can change the column header widgets.

and alitrix, we'd be grateful if you could clean up your signature please.

alitrix 11-10-2004 05:48 PM

Ah, tnx for the tip of tree view, I will try to use that one!

Sure why not, removed the signature (it was a oldy one :P)

djgerbavore 11-11-2004 06:36 PM

i has just looking, what was wrong wiht your signature?

acid_kewpie 11-12-2004 04:47 AM

djgerbavore, it does not matter. it's been removed either way.


All times are GMT -5. The time now is 10:53 PM.