Do not document MooCommand and MooUiXml stuff
This commit is contained in:
parent
068b7c1d26
commit
b7ea52b401
@ -47,15 +47,20 @@ class Writer(object):
|
||||
|
||||
self.section_suffix = ' (%s)' % self.mode.capitalize()
|
||||
|
||||
def __check_bind_ann(self, obj):
|
||||
bind = obj.annotations.get('moo.' + self.mode, '1')
|
||||
if bind == '0':
|
||||
def __string_to_bool(self, s):
|
||||
if s == '0':
|
||||
return False
|
||||
elif bind == '1':
|
||||
elif s == '1':
|
||||
return True
|
||||
else:
|
||||
oops()
|
||||
|
||||
def __check_bind_ann(self, obj):
|
||||
bind = self.__string_to_bool(obj.annotations.get('moo.' + self.mode, '1'))
|
||||
if bind:
|
||||
bind = not self.__string_to_bool(obj.annotations.get('moo.private', '0'))
|
||||
return bind
|
||||
|
||||
def __format_constant(self, value):
|
||||
if value in self.constants:
|
||||
return self.constants[value]
|
||||
|
@ -25,9 +25,6 @@
|
||||
#define HELP_SECTION_SCRIPT "Scripting.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_FUNCTIONS "Functions-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_APP "medit_002eApp-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_COMMAND "medit_002eCommand-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_COMMAND_CONTEXT "medit_002eCommandContext-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_COMMAND_DATA "medit_002eCommandData-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_EDIT "medit_002eEdit-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_EDITOR "medit_002eEditor-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_EDIT_OPEN_INFO "medit_002eEditOpenInfo-_0028Lua_0029.html"
|
||||
@ -38,13 +35,8 @@
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_PANE_LABEL "medit_002ePaneLabel-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_PANE_PARAMS "medit_002ePaneParams-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_TEXT_VIEW "medit_002eTextView-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_UI_NODE "medit_002eUiNode-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_LUA_MOO_UI_XML "medit_002eUiXml-_0028Lua_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_FUNCTIONS "Functions-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_APP "moo_002eApp-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_COMMAND "moo_002eCommand-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_COMMAND_CONTEXT "moo_002eCommandContext-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_COMMAND_DATA "moo_002eCommandData-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_DOC_PLUGIN "moo_002eDocPlugin-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_EDIT "moo_002eEdit-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_EDITOR "moo_002eEditor-_0028Python_0029.html"
|
||||
@ -59,8 +51,6 @@
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_PLUGIN_INFO "moo_002ePluginInfo-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_PLUGIN_PARAMS "moo_002ePluginParams-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_TEXT_VIEW "moo_002eTextView-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_UI_NODE "moo_002eUiNode-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_UI_XML "moo_002eUiXml-_0028Python_0029.html"
|
||||
#define HELP_SECTION_SCRIPT_PYTHON_MOO_WIN_PLUGIN "moo_002eWinPlugin-_0028Python_0029.html"
|
||||
#define HELP_SECTION_USER_TOOLS "User_002ddefined-tools.html"
|
||||
#define HELP_SECTION_USER_TOOLS_FILES "Storing-tools-in-files.html"
|
||||
|
@ -574,7 +574,7 @@ get_top_window (MooEditor *editor)
|
||||
|
||||
|
||||
/**
|
||||
* moo_editor_get_ui_xml:
|
||||
* moo_editor_get_ui_xml: (moo.private 1)
|
||||
*/
|
||||
MooUiXml *
|
||||
moo_editor_get_ui_xml (MooEditor *editor)
|
||||
@ -592,7 +592,7 @@ moo_editor_get_ui_xml (MooEditor *editor)
|
||||
|
||||
|
||||
/**
|
||||
* moo_editor_get_doc_ui_xml:
|
||||
* moo_editor_get_doc_ui_xml: (moo.private 1)
|
||||
*/
|
||||
MooUiXml *
|
||||
moo_editor_get_doc_ui_xml (MooEditor *editor)
|
||||
@ -603,7 +603,7 @@ moo_editor_get_doc_ui_xml (MooEditor *editor)
|
||||
|
||||
|
||||
/**
|
||||
* moo_editor_set_ui_xml:
|
||||
* moo_editor_set_ui_xml: (moo.private 1)
|
||||
*/
|
||||
void
|
||||
moo_editor_set_ui_xml (MooEditor *editor,
|
||||
|
@ -14,15 +14,15 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* class:MooUiXml: (parent GObject) (constructable)
|
||||
* class:MooUiXml: (parent GObject) (constructable) (moo.private 1)
|
||||
**/
|
||||
|
||||
/**
|
||||
* pointer:MooUiNode:
|
||||
* pointer:MooUiNode: (moo.private 1)
|
||||
*/
|
||||
|
||||
/**
|
||||
* enum:MooUiWidgetType:
|
||||
* enum:MooUiWidgetType: (moo.private 1)
|
||||
*/
|
||||
|
||||
#include "mooutils/mooaction-private.h"
|
||||
|
@ -14,23 +14,23 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* class:MooCommand: (parent GObject)
|
||||
* class:MooCommand: (parent GObject) (moo.private 1)
|
||||
**/
|
||||
|
||||
/**
|
||||
* class:MooCommandContext: (parent GObject) (constructable)
|
||||
* class:MooCommandContext: (parent GObject) (constructable) (moo.private 1)
|
||||
**/
|
||||
|
||||
/**
|
||||
* class:MooCommandFactory: (parent GObject)
|
||||
* class:MooCommandFactory: (parent GObject) (moo.private 1)
|
||||
**/
|
||||
|
||||
/**
|
||||
* boxed:MooCommandData:
|
||||
* boxed:MooCommandData: (moo.private 1)
|
||||
**/
|
||||
|
||||
/**
|
||||
* flags:MooCommandOptions:
|
||||
* flags:MooCommandOptions: (moo.private 1)
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
@ -129,7 +129,7 @@ moo_command_create (const char *name,
|
||||
|
||||
|
||||
/**
|
||||
* moo_command_factory_register:
|
||||
* moo_command_factory_register: (moo.private 1)
|
||||
*
|
||||
* @name:
|
||||
* @display_name:
|
||||
|
Loading…
x
Reference in New Issue
Block a user