| Libmergeant Reference Manual | ||||
|---|---|---|---|---|
MgQfFuncMgQfFunc — Represents a function (selected by a MgServerFunction object) |
MgQfFunc;
guint mg_qf_func_get_type (void);
GObject* mg_qf_func_new_with_func (MgQuery *query,
MgServerFunction *func);
GObject* mg_qf_func_new_with_xml_id (MgQuery *query,
const gchar *func_xml_id);
MgServerFunction* mg_qf_func_get_ref_func (MgQfFunc *func);
GSList* mg_qf_func_get_args (MgQfFunc *func);
GObject* mg_qf_func_new_with_func (MgQuery *query, MgServerFunction *func);
Creates a new MgQfFunc object which represents the func function
query : |
a MgQuery in which the new object will be |
func : |
a MgServerFunction object |
| Returns : | the new object |
GObject* mg_qf_func_new_with_xml_id (MgQuery *query, const gchar *func_xml_id);
Creates a new MgQfFunc object which represents a given function
query : |
a MgQuery in which the new object will be |
func_xml_id : |
the XML Id of a MgServerFunction object |
| Returns : | the new object |
MgServerFunction* mg_qf_func_get_ref_func (MgQfFunc *func);
Get the real MgServerFunction object used by func
func : |
a MgQfFunc object |
| Returns : | the MgServerFunction object, or NULL if func is not active
|
void user_function (MgQfFunc *mgqffunc, gpointer user_data) : Run first
mgqffunc : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |