~ubuntu-branches/ubuntu/oneiric/cairo-dock/oneiric

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-container.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2010-09-07 20:31:25 UTC
  • mto: (18.1.1 cairo-dock) (19.1.1 cairo-dock)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20100907203125-a91ch8odv2r6ziic
Tags: upstream-2.2.0~0rc1
ImportĀ upstreamĀ versionĀ 2.2.0~0rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
gboolean cairo_dock_emit_leave_signal (CairoContainer *pContainer);
197
197
gboolean cairo_dock_emit_enter_signal (CairoContainer *pContainer);
198
198
 
 
199
/** Pop-up a menu on an icon. The menu is placed so that it touches the icon, without overlapping it. If the icon is NULL, it will be placed it at the mouse's position. In the case of a dock, it prevents this one from shrinking down.
 
200
*@param menu the menu.
 
201
*@param pIcon the icon, or NULL.
 
202
*@param pContainer the container that was clicked.
 
203
*/
 
204
void cairo_dock_popup_menu_on_icon (GtkWidget *menu, Icon *pIcon, CairoContainer *pContainer);
 
205
 
199
206
/** Pop-up a menu on a container. In the case of a dock, it prevents this one from shrinking down.
200
207
*@param menu the menu.
201
208
*@param pContainer the container that was clicked.
202
209
*/
203
 
void cairo_dock_popup_menu_on_container (GtkWidget *menu, CairoContainer *pContainer);
 
210
#define cairo_dock_popup_menu_on_container(menu, pContainer) cairo_dock_popup_menu_on_icon (menu, NULL, pContainer)
204
211
 
205
212
/** Add an entry to a given menu.
206
213
*@param cLabel label of the entry