Re: Sizing Combo Box



Owen,

You are absolutely right about using the appropriate GtkEntry
libraries. I discovered my problem arose from attempting to use a table
to lay out the form. Tables seem determined to attach a widget to the
left and right sides of a cell.

I experimented with a horizontal box and GtkEntry libraries and got the
results I was looking for.

Thanks for the help and to all for being tolerant with the missteps of a
GTK newbie.

Bobby King <bking321 charter net>

P. S.
Does anyone know a solution to the FC2 KVM-mouse problem? There are lots
of complaints about this problem on "Linux Questions", but no solutions.



On Wed, 2004-08-11 at 10:38, Owen Taylor wrote:
> On Wed, 2004-08-11 at 08:02, Jan-Marek Glogowski wrote:
> > Hi
> > 
> > There is neither a way in the deprecated GtkCombo nor a way in the current 
> > GtkComboBox - if you meant to set the "the maximum allowed length of the 
> > contents of the widget" use:
> > 
> > gtk_entry_set_max_length
> > 
> > via
> > 
> > GTK_COMBO(widget)->entry
> > or
> > GTK_BIN(GTK_COMBO_BOX(widget))->child
> 
> gtk_entry_set_width_chars() seems more to the point...
> 
> 					Owen
> 
> 
> ______________________________________________________________________
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
-- 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]