Categories | Question details Back To List | ||
How to set underline character on menu list Dear all, i wanna set underlined char on menu item, such as <u>F</u>ile <u>E</u>dit on html , or _File _Edit on php-gtk how can i do that? Answer posted by Alex on Apr 17, 2009 01:36 Hello You can try to place html directly into the text attribute in the xml: <item text="<u>F</u>ile<u>E</u>dit" ....>...</item> Answer posted by ikhsan on Apr 17, 2009 01:51 ok, thx before, i've found it, now i would like to give a hotkey to show sublevel of those menu instead of hovering them, such as alt+f on desktop application, at sublevel i already code a script that listen to keypress and running a function that attached to each sublevel menu any method to show sublevel menu by script? what method is running when mouse hovering the top level menu? Answer posted by Alex (support) on Apr 17, 2009 06:25 Unfortunately, menu doesn't provide API to open submenus. >> what method is running when mouse hovering the top level menu? This method is not public method. Answer posted by ikhsan on Apr 19, 2009 17:31 thx for ur support :) |