![]() |
![]() |
![]() |
Netbook Toolkit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Signals |
NbtkPopup; NbtkWidget * nbtk_popup_new (void
); void nbtk_popup_add_action (NbtkPopup *popup
,NbtkAction *action
); void nbtk_popup_remove_action (NbtkPopup *popup
,NbtkAction *action
); void nbtk_popup_clear (NbtkPopup *popup
);
NbtkPopup implements ClutterScriptable, ClutterAnimatable, AtkImplementorIface and NbtkStylable.
NbtkPopup displays a list of user actions, defined by a list of NbtkActions. The popup list will appear above all other actors.
typedef struct _NbtkPopup NbtkPopup;
The contents of this structure are private and should only be accessed through the public API.
NbtkWidget * nbtk_popup_new (void
);
Create a new NbtkPopup
Returns : |
a newly allocated NbtkPopup |
void nbtk_popup_add_action (NbtkPopup *popup
,NbtkAction *action
);
Append action
to popup
.
|
A NbtkPopup |
|
A NbtkAction |
void nbtk_popup_remove_action (NbtkPopup *popup
,NbtkAction *action
);
Remove action
from popup
.
|
A NbtkPopup |
|
A NbtkAction |
"action-activated"
signalvoid user_function (NbtkPopup *nbtkpopup, NbtkAction *arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |