LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-12-2009, 08:59 AM   #1
joel2001k
Member
 
Registered: Mar 2007
Distribution: GNU/Linux debian unstable main
Posts: 95

Rep: Reputation: 17
using GtkComboBox with widgets in c


I'm writing an application and I'm still using deprecated GtkOptionMenu, but today I really want to migrate. I tried to find out how to pack widget's in a GtkComboBox but I didn't find an answer. So help me please! One more question I'm asking me about GtkComboBox, is how to set hidden user data to text, which I would append. Are there created GtkLabel's where I can call g_object_set_data to do so?
 
Old 03-15-2009, 12:08 PM   #2
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
I don't believe GtkComboBoxes are allowed to contain widgets, just strings. I imagine you'll have to define your own type of combo box. Try this reference for ideas:
http://www.kksou.com/php-gtk2/articl...d-combobox.php
 
  


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
a problem with wx widgets zdebel Slackware 6 08-25-2007 04:00 PM
You own widgets hyphae Linux - Software 2 03-27-2007 02:09 AM
Widgets? cvzyl Linux - Software 1 03-18-2006 02:51 AM
widgets bullettobinary Linux - Software 1 10-22-2005 01:50 AM
widgets purevil Linux - Newbie 1 05-15-2005 02:31 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration