Re: notes on combo boxes



On Mon, Aug 07, 2000 at 12:07:43PM +0800, samuel wrote:
> >         Though the MacOS widget (and the later MacOS X widget) may have
> > the menu-size problems, the arrow is the important bit.  It is the arrow
> > on the combo box, "drop-down" box, and MacOS pop-up menu that
> > facilitates a ready understanding of "there is more here" (and I like
> > the MacOS's later up/down arrow improvement).  The dash on the Motif/GTK+
> > widget does not give that impression.
> 
> 
> This problem has been fixed last week in my patch file. Please refer to the
> subject: "[PATCH] GtkMenu scrolling function added" in 03 Aug 2000.

I.e., in addition to the items listed in that patch:

	- enhance GtkMenu widget with scrolling features
	- Automatically scrolling when the UP/DOWN arrow were clicked.
	- The position of pop-up menu will be left-aligned, if nicessary.

the patch *also* changes OptionMenus to draw either one or two triangles
instead of the rectangular dash thing that they currently draw?

I don't see anything obvious in that patch to do so; I have the
impression that the offending dash is drawn by the "gtk_paint_tab()"
call in "gtk_option_menu_paint()" in "gtkoptionmenu.c" - and, as
"gtk_paint_tab()" calls "style->klass->draw_tab()", it appears to be
themable.

In fact, in the Nautilus screenshots I referred to in an earlier
message, it showed MacOS-style arrows rather than the dash, and somebody
followed up indicating that this probably *was* a theme.

(The arrows to which the comments you cite were referring have nothing
to do with scrolling menus; the arrow or arrows would show up even when
the OptionMenu is *not* activated and no menu is popped up.)





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