SourceForge Logo
Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GpgGtkSelectionHandler Class Reference

the object that manage Gtk selection. More...

#include <GpgGtkSelectionHandler.h>

List of all members.

Public Methods

 GpgGtkSelectionHandler (string selection_string)
 Constructor of the object that manages Gtk selection. More...

 ~GpgGtkSelectionHandler ()
 Destructor of the object that manages Gtk selection. More...

GtkWidget * getSelectionWidget (void)
 Retreives the Gtk selection widget. More...

string getSelectionString (void)
 Retreives the selection string. More...


Static Public Methods

void selection_handle_callback (GpgGtkSelectionHandler *selection_handler, GtkSelectionData *selection_data_for_X, guint info, guint time_stamp)
 the callback to the GTK signal "selection_get" of the selection widget. More...

gint selection_clear_callback (GpgGtkSelectionHandler *selection_handler, GdkEventSelection *event)
 the callback to the GTK event "selection_clear_event" of the selection widget. More...


Detailed Description

the object that manage Gtk selection.


Constructor & Destructor Documentation

GpgGtkSelectionHandler::GpgGtkSelectionHandler string    selection_string
 

Constructor of the object that manages Gtk selection.

Parameters:
selection_string  the string to put in the clipboard when asked
Returns:
none

GpgGtkSelectionHandler::~GpgGtkSelectionHandler  
 

Destructor of the object that manages Gtk selection.

Returns:
none


Member Function Documentation

string GpgGtkSelectionHandler::getSelectionString void   
 

Retreives the selection string.

Returns:
the string to put in the clipboard

GtkWidget * GpgGtkSelectionHandler::getSelectionWidget void   
 

Retreives the Gtk selection widget.

Returns:
the selection widget in GtkWidget form

gint GpgGtkSelectionHandler::selection_clear_callback GpgGtkSelectionHandler *    selection_handler,
GdkEventSelection *    event
[static]
 

the callback to the GTK event "selection_clear_event" of the selection widget.

Parameters:
selection_handler  the selection handler object
event  the details of the event
Returns:
TRUE if the event is handle, FALSE otherwise

void GpgGtkSelectionHandler::selection_handle_callback GpgGtkSelectionHandler *    selection_handler,
GtkSelectionData *    selection_data_for_X,
guint    info,
guint    time_stamp
[static]
 

the callback to the GTK signal "selection_get" of the selection widget.

Parameters:
selection_handler  the selection handler object
selection_data_for_X  the structure to fill with the selection string
info  unused
time_stamp  the time when the signal was emitted
Returns:
none


The documentation for this class was generated from the following files:
Generated on Sun Mar 9 15:36:57 2003 for GPassGuard by doxygen1.2.15