Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - GUI - Control - DNDDataInfoC
 

  PUBLIC
DNDDataInfoC::DNDDataInfoC(void)
DNDDataInfoC::DNDDataInfoC(GdkDragContext *,GtkSelectionData *,UIntT,UIntT,int,int)
DNDDataInfoC::Finish(bool,bool)
DNDDataInfoC::IsString(void) const
DNDDataInfoC::String(void)
DNDDataInfoC::GTKSourceWidget(void)
DNDDataInfoC::Data(void)
DNDDataInfoC::Info(void) const
DNDDataInfoC::At(void)
DNDDataInfoC::Time(void) const
DNDDataInfoC::PutString(int,const StringC &)

   DNDDataInfoC   
 
Drag and drop info.
 
include "Ravl/GUI/DragAndDrop.hh"
Created:15/06/2002 
Source file:Ravl/GUI/GTK/DragAndDrop.hh
User Level:Normal
Library:RavlGUI
In Scope:RavlGUIN

Variables:
GdkDragContext * context;

GtkSelectionData * data;

UIntT info;

UIntT time;
Time of click.

Index2dC at;

Methods:
DNDDataInfoC()
Default constructor.

DNDDataInfoC(GdkDragContext * dc,GtkSelectionData * data,UIntT ninfo,UIntT ntime,int x = 0,int y = 0)
Default constructor.

bool Finish(bool success,bool del)
Finish drag and drop.
This must be called on the GUI thread.

bool IsString() const
Is recieved data a string ?

StringC String()
Get data as string.
It is the user's responsibility to ensure this is appropriate.

GtkWidget * GTKSourceWidget()
Find the GTK source widget.

GtkSelectionData * Data()
Access data.

UIntT Info() const
Info field.

Index2dC & At()
Return location of event.

UIntT Time() const
Return time of event.

bool PutString(int dtype,const StringC & str)
Put a string.
Used in response to 'data_get'.


Maintainer:Charles Galambos, Created: 15/06/2002, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002