+ DocDeclStr(
+ void , Set(int flags, int keyCode, int cmd/*, wxMenuItem *menuItem = NULL*/),
+ "(Re)set the attributes of a wx.AcceleratorEntry.
+:see `__init__`", "");
+
+
+// void SetMenuItem(wxMenuItem *item);
+// wxMenuItem *GetMenuItem() const;
+
+ %newobject Create;
+ DocDeclStr(
+ static wxAcceleratorEntry *, Create(const wxString& str),
+ "Create accelerator corresponding to the specified string, or None if
+it coulnd't be parsed.", "");
+
+ DocDeclStr(
+ int , GetFlags(),
+ "Get the AcceleratorEntry's flags.", "");
+
+ DocDeclStr(
+ int , GetKeyCode(),
+ "Get the AcceleratorEntry's keycode.", "");
+
+ DocDeclStr(
+ int , GetCommand(),
+ "Get the AcceleratorEntry's command ID.", "");
+
+ DocDeclStr(
+ bool , IsOk() const,
+ "", "");
+
+
+ DocDeclStr(
+ wxString , ToString() const,
+ "Returns a string representation for the this accelerator. The string
+is formatted using the <flags>-<keycode> format where <flags> maybe a
+hyphen-separed list of \"shift|alt|ctrl\"
+", "");
+
+
+ DocDeclStr(
+ bool , FromString(const wxString &str),
+ "Returns true if the given string correctly initialized this object.", "");
+
+
+ %property(Command, GetCommand, doc="See `GetCommand`");
+ %property(Flags, GetFlags, doc="See `GetFlags`");
+ %property(KeyCode, GetKeyCode, doc="See `GetKeyCode`");
+
+};
+