Re: [Fxruby-users] MenuButton#popupStyle ?
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@kn...> - 2003-10-12 21:12:14
|
meinrad recheis wrote: > MenuButton has two style methods, but the docu only lists style flags > for the menubutton. where is the list of flags that popupStyle takes? > i took a look at FXPopup, but there i only found a list of popup > orientation flags. Thanks, this is an excellent question. I will update the documentation, but here is the summary: The options associated with the "buttonStyle" attribute are MENUBUTTON_AUTOGRAY, MENUBUTTON_AUTOHIDE, MENUBUTTON_TOOLBAR and MENUBUTTON_NOARROWS. The options associated with the "popupStyle" attribute are MENUBUTTON_UP, MENUBUTTON_DOWN, MENUBUTTON_LEFT and MENUBUTTON_RIGHT. The options associated with the "attachment" attribute are MENUBUTTON_ATTACH_LEFT, MENUBUTTON_ATTACH_RIGHT, MENUBUTTON_ATTACH_TOP, MENUBUTTON_ATTACH_BOTTOM, MENUBUTTON_ATTACH_CENTER and MENUBUTTON_ATTACH_BOTH. Thanks for pointing out this omission, Lyle |