need help with a GTK+ cast
From: Claire (Claire_at_where_the_hell_is_my_makeup.net)
Date: 07/21/04
- Next message: Ron Fluegge: "Are .NET Framework 1.1 apps on Linux possible?"
- Previous message: halo: "Re: Heavily threaded app gets very little CPU time"
- Next in thread: Andrew Taylor: "Re: need help with a GTK+ cast"
- Reply: Andrew Taylor: "Re: need help with a GTK+ cast"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 20 Jul 2004 23:10:37 GMT
I'm using a GtkComboBoxEntry widget in my app and I'm trying to get the
text from it using gtk_entry_get_text() because the doucmentation says to
use GtkEntry functions on it. The problem I having is I'm not quite how to
cast it. I tried GTK_ENTRY, GTK_COMBO, and even GTK_ENTRY(GTK_COMBO()),
but no matter I get errors like this " invalid cast from
`GtkComboBoxEntry' to `GtkEntry'" when attempting to read the entry.
- Next message: Ron Fluegge: "Are .NET Framework 1.1 apps on Linux possible?"
- Previous message: halo: "Re: Heavily threaded app gets very little CPU time"
- Next in thread: Andrew Taylor: "Re: need help with a GTK+ cast"
- Reply: Andrew Taylor: "Re: need help with a GTK+ cast"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]