Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── LatexilaBuildTools ├── LatexilaBuildToolsDefault ╰── LatexilaBuildToolsPersonal
Base class for the build tools. The build tools are stored in an XML file. The XML file contents is loaded into data structures in memory. There are two subclasses: LatexilaBuildToolsDefault and LatexilaBuildToolsPersonal. The default build tools and personal build tools have a different behavior. A personal build tool can be modified for example, while a default build tool can only be enabled or disabled. That's why subclasses exist.
void latexila_build_tools_load (LatexilaBuildTools *build_tools
,GFile *xml_file
);
Loads asynchronously the XML file contents and parses it. This function is used by subclasses of LatexilaBuildTools. When the file is fully loaded, the “loaded” signal is emitted.
void latexila_build_tools_set_enabled (LatexilaBuildTools *build_tools
,guint tool_num
,gboolean enabled
);
build_tools |
a LatexilaBuildTools object. |
|
tool_num |
the build tool position in the list. |
|
enabled |
whether to enable the build tool. |
LatexilaBuildTool * latexila_build_tools_nth (LatexilaBuildTools *build_tools
,guint tool_num
);
typedef struct { GList *build_tools; } LatexilaBuildTools;
GList * |
a list of LatexilaBuildTool's. External code should just read the list, not modify it. |
[element-type LatexilaBuildTool] |
“loaded”
signalvoid user_function (LatexilaBuildTools *build_tools, gpointer user_data)
The ::loaded signal is emitted when the build tools are fully loaded.
build_tools |
a LatexilaBuildTools object. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“modified”
signalvoid user_function (LatexilaBuildTools *build_tools, gpointer user_data)
The ::modified signal is emitted when a build tool is modified.
build_tools |
a LatexilaBuildTools object. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last