dnd-hints.h File Reference

Drag-and-Drop arrow hints. More...

#include <glib.h>
#include <gtk/gtkwidget.h>

Include dependency graph for dnd-hints.h:

Go to the source code of this file.

Enumerations

enum  DndHintWindowId { HINT_ARROW_UP, HINT_ARROW_DOWN, HINT_ARROW_LEFT, HINT_ARROW_RIGHT }
 Conversation drag-and-drop arrow types. More...
enum  DndHintPosition {
  HINT_POSITION_RIGHT, HINT_POSITION_LEFT, HINT_POSITION_TOP, HINT_POSITION_BOTTOM,
  HINT_POSITION_CENTER
}
 Conversation drag-and-drop arrow positions. More...

Functions

void dnd_hints_show (DndHintWindowId id, gint x, gint y)
 Shows a drag-and-drop hint at the specified location.
void dnd_hints_hide (DndHintWindowId id)
 Hides the specified drag-and-drop hint.
void dnd_hints_hide_all (void)
 Hides all drag-and-drop hints.
void dnd_hints_show_relative (DndHintWindowId id, GtkWidget *widget, DndHintPosition horiz, DndHintPosition vert)
 Shows a drag-and-drop hint relative to a widget.


Detailed Description

Drag-and-Drop arrow hints.

Gaim is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT file distributed with this source distribution.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Enumeration Type Documentation

enum DndHintPosition

Conversation drag-and-drop arrow positions.

Enumerator:
HINT_POSITION_RIGHT  Position to the right of a tab.
HINT_POSITION_LEFT  Position to the left of a tab.
HINT_POSITION_TOP  Position above a tab.
HINT_POSITION_BOTTOM  Position below a tab.
HINT_POSITION_CENTER  Position in the center of a tab.

enum DndHintWindowId

Conversation drag-and-drop arrow types.

Enumerator:
HINT_ARROW_UP  Up arrow.
HINT_ARROW_DOWN  Down arrow.
HINT_ARROW_LEFT  Left arrow.
HINT_ARROW_RIGHT  Right arrow.


Function Documentation

void dnd_hints_hide ( DndHintWindowId  id  ) 

Hides the specified drag-and-drop hint.

Parameters:
id The ID of the hint to hide.

void dnd_hints_show ( DndHintWindowId  id,
gint  x,
gint  y 
)

Shows a drag-and-drop hint at the specified location.

Parameters:
id The ID of the hint to show.
x The X location to show it at.
y The Y location to show it at.

void dnd_hints_show_relative ( DndHintWindowId  id,
GtkWidget *  widget,
DndHintPosition  horiz,
DndHintPosition  vert 
)

Shows a drag-and-drop hint relative to a widget.

Parameters:
id The ID of the hint.
widget The widget that the hint is relative to.
horiz The horizontal relative position.
vert The vertical relative position.


Generated on Sun Feb 18 08:38:21 2007 for gaim by  doxygen 1.5.1