"Terry L. Turner" wrote:
> 
> Hello Glade Developers
> 
> Glade GTK+ User Interface Builder is building GTK+ code very
> well in many areas.  But in the area of the GtkCombo widget I'm
> having problems.
> 
> I need a GtkCombo widget to start with the list showing when the
> GtkWindow which contains it, show for the first time.  The Glade
> properties notebook for a GtkCombo widget does not have a switch
> to default the list showing.  The gtkcombo.h file does not have a
> function or switch to control the initial state of the list.  It seems
> the only way to open the list is with a mouse button click over the combobox
> button.

It sounds as if you should be using a GtkList or some other widget instead
of a GtkCombo. I don't think you should show the popup list automatically,
as that may confuse the user - GtkCombo widgets don't normally do that.


> Now once a list item is selected the GtkEntry widget is changed to the
> new value.  The Glade property notebook sig page is used to hook
> your callback function to a signal.  But the Select Signal list does not
> 
> show any signals for GtkCombo, or for  its entry field has changed.  Is
> this
> an oversight or is there a reason why the developer should not do this ?
> 
> I have been able to add the code by hand, but it would be nicer and make
> 
> for a more complete tool to be able to select the signal from this the
> list.

In Glade 0.5.1 I changed it so that you can select the GtkEntry widget
inside the GtkCombo. You can then add a signal handler to the 'changed'
signal.

Damon


+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to