When I extends this button in my XBL:
<binding id="myFancyButton" extends="chrome://global/content/bindings/button.xml#button">
how do I make it a focusable button?
When I extends this button in my XBL:
<binding id="myFancyButton" extends="chrome://global/content/bindings/button.xml#button">
how do I make it a focusable button?
As I am not sure what you have in your button.xml,
I can only really provide this link and ask you to make sure your button follows the guidelines here : https://wiki.mozilla.org/XUL:Focus_Behaviour
Especially the bit about the -moz-user-focus property is important.
T.
Edited : this is a simple hello world example, the button is focusable.
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="main" title="My App" width="300" height="300" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<button label="Hello World" oncommand="alert('You pressed me')" style="max-width: 100px"/>
</window>