![]() |
![]() |
![]() |
libhud-client Docs | ![]() |
---|---|---|---|---|
Top | Description |
#include <libhud-client/param.h> #define HUD_CLIENT_PARAM_SIGNAL_MODEL_READY struct HudClientParamClass;HudClientParam * hud_client_param_new (const
,gchar *dbus_addressconst
,gchar *base_actionconst
,gchar *action_pathconst
,gchar *model_path);
gint model_sectionGActionGroup * hud_client_param_get_actions ();
HudClientParam *paramGMenuModel * hud_client_param_get_model ();
HudClientParam *paramvoid hud_client_param_send_reset ();
HudClientParam *paramvoid hud_client_param_send_cancel ();
HudClientParam *paramvoid hud_client_param_send_commit ();
HudClientParam *param
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.
#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 * hud_client_param_new (const
,gchar *dbus_addressconst
,gchar *base_actionconst
,gchar *action_pathconst
,gchar *model_path);
gint model_section
Create a new
|
The address on dbus to find the actions |
|
The action to send events for the dialog on |
|
DBus path to the action object |
|
DBus path to the menu model object |
|
Section of the model to use |
Returns : |
A new |
GActionGroup * hud_client_param_get_actions ();
HudClientParam *param
The object path to the actions
|
The |
Returns : |
A |
GMenuModel * hud_client_param_get_model ();
HudClientParam *param
The object path to the model
|
The |
Returns : |
The menu model of the pane. [transfer none] |
void hud_client_param_send_reset ();
HudClientParam *param
Send the command to the application to reset the values of the actions in the pane.
|
The |
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.
|
The |