| Top |
| void | gtex_build_tools_load () |
| void | gtex_build_tools_set_enabled () |
| GtexBuildTool * | gtex_build_tools_nth () |
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: GtexBuildToolsDefault and GtexBuildToolsPersonal. 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 gtex_build_tools_load (GtexBuildTools *build_tools,GFile *xml_file);
Loads asynchronously the XML file contents and parses it. This function is used by subclasses of GtexBuildTools. When the file is fully loaded, the “loaded” signal is emitted.
void gtex_build_tools_set_enabled (GtexBuildTools *build_tools,guint tool_num,gboolean enabled);
build_tools |
a GtexBuildTools object. |
|
tool_num |
the build tool position in the list. |
|
enabled |
whether to enable the build tool. |
GtexBuildTool * gtex_build_tools_nth (GtexBuildTools *build_tools,guint tool_num);
struct GtexBuildTools {
GList *build_tools;
};
a list of GtexBuildTool's. External code should just read the list, not modify it. |
[element-type GtexBuildTool] |
“loaded” signalvoid user_function (GtexBuildTools *build_tools, gpointer user_data)
The ::loaded signal is emitted when the build tools are fully loaded.
build_tools |
a GtexBuildTools object. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“modified” signalvoid user_function (GtexBuildTools *build_tools, gpointer user_data)
The ::modified signal is emitted when a build tool is modified.
build_tools |
a GtexBuildTools object. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last