Hi All,
I have the following code that I copied from the hello world part of
the GTK+ tutorial. I used it to practice using GtkComboBoxEntry(s).
#include gtk/gtk.h
int main( int argc,
char *argv[] )
{
/* GtkWidget is the storage type for widgets */
GtkWidget *window;
El mar, 22-01-2008 a las 21:55 +1100, Peter E Dennis escribió:
So I wondered if I needed to cast my GtkComboBoxEntry to a GtkComboBox
but wasn't sure how to do this so I tried:
gtk_combo_box_append_text(GTK_COMBO(cboVocSource), Hello World);
This however makes matters worse as I get the
Thanks Claudio.
I'm just wondering why do I use the GTK_COMBO_BOX macro and not the
GTK_COMBO_BOX_ENTRY macro?
Many thanks,
Peter.
On 23/01/2008, Claudio Saavedra [EMAIL PROTECTED] wrote:
El mar, 22-01-2008 a las 21:55 +1100, Peter E Dennis escribió:
So I wondered if I needed to cast
El mié, 23-01-2008 a las 06:09 +1100, Peter E Dennis escribió:
Thanks Claudio.
I'm just wondering why do I use the GTK_COMBO_BOX macro and not the
GTK_COMBO_BOX_ENTRY macro?
Because gtk_combo_box_append_text () is a function that works on
GtkComboBox objects, not GtkComboBoxEntry ones.
As
Thanks again Claudio for taking the time to explain that to me. Much
appreciated.
On 23/01/2008, Claudio Saavedra [EMAIL PROTECTED] wrote:
El mié, 23-01-2008 a las 06:09 +1100, Peter E Dennis escribió:
Thanks Claudio.
I'm just wondering why do I use the GTK_COMBO_BOX macro and not the