Top | ![]() |
![]() |
![]() |
![]() |
HudClientParam * | hud_client_param_new () |
|
hud_client_param_get_actions () |
|
hud_client_param_get_model () |
|
hud_client_param_send_reset () |
|
hud_client_param_send_cancel () |
|
hud_client_param_send_commit () |
#define | HUD_CLIENT_PARAM_SIGNAL_MODEL_READY |
struct | HudClientParamClass |
struct | HudClientParam |
HudClientParamPrivate |
This makes it much easier to interact with the parameterized pane of the HUD. Provides the links to the menu model and the actions that should be shown. Also provides convienience functions for resetting it and fun stuff like that.
HudClientParam * hud_client_param_new (const
,gchar *dbus_addressconst
,gchar *prefixconst
,gchar *base_actionconst
,gchar *action_pathconst
,gchar *model_path);
gint model_section
Create a new HudClientParam object for adjusting a specified paramaterized dialog.
GActionGroup * hud_client_param_get_actions (HudClientParam *param
);
The object path to the actions
GMenuModel * hud_client_param_get_model (HudClientParam *param
);
The object path to the model
void hud_client_param_send_reset (HudClientParam *param
);
Send the command to the application to reset the values of the actions in the pane.
void hud_client_param_send_cancel (HudClientParam *param
);
Send the command to the application to cancel the values of the actions in the panel and expect it to close soon.
void hud_client_param_send_commit (HudClientParam *param
);
Tell the application that the user has requested the values be applied. This doesn't mean that there isn't a dialog still open, when it closes "end" will be sent.
#define HUD_CLIENT_PARAM_SIGNAL_MODEL_READY "model-ready"
Signal to indicate when the model is ready
struct HudClientParamClass { GObjectClass parent_class; /*< Private >*/ void (*model_ready) (HudClientParamClass * param, gpointer user_data); };
Class information for HudClientParam
struct HudClientParam;
An object that tracks all the of the stuff needed to handle a parameterized dialog of actions.
typedef struct _HudClientParamPrivate HudClientParamPrivate;
Private data for HudClientParam.
“model-ready”
signalvoid user_function (HudClientParam *arg0,gpointer user_data)
Emitted when the model can be used. It may also be updating, but the base item is there.
arg0 |
The HudClientParam object. |
|
user_data |
user data set when the signal handler was connected. |
Flags: