LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-10-2004, 12:22 PM   #1
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Rep: Reputation: 30
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
 
Old 11-10-2004, 04:04 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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.
 
Old 11-10-2004, 05:48 PM   #3
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
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)
 
Old 11-11-2004, 06:36 PM   #4
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 443

Rep: Reputation: 30
i has just looking, what was wrong wiht your signature?
 
Old 11-12-2004, 04:47 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
djgerbavore, it does not matter. it's been removed either way.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about gtk hardstyleFX Linux - Newbie 1 09-30-2005 04:51 PM
GTK+ and c question mofofish Programming 1 04-13-2004 12:51 PM
Newbie Question - What is GTK Exactly? Zeraxeal Slackware 4 03-24-2004 07:27 PM
GTK-Gnutella question Kensai Linux - Software 2 02-08-2004 06:13 PM
GTK question starbreaker Linux - Software 1 02-16-2002 12:55 PM


All times are GMT -5. The time now is 12:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration