GUIUserIO Class Reference

#include <GUIUserIO.h>


Detailed Description

Some OS-dependant functions to ease cliboard manipulation.

This helper contains only one function by now. It is used to store a text snipplet permanently within Windows-clipboard. This method is necessary, because FOX only implements the Linux/UNIX-text copying scheme where a marked text is copied. This does not work as soon as the widget with the marked text is destroyed or when the selection is lost. Because this scheme differs very much from the way the clipboard is handled in windows, is is implemented "from scratch" herein.

Definition at line 51 of file GUIUserIO.h.


Static Public Member Functions

static void copyToClipboard (const FXApp &app, const std::string &text) throw ()
 Copies the given text to clipboard.

Member Function Documentation

void GUIUserIO::copyToClipboard ( const FXApp &  app,
const std::string &  text 
) throw () [static]

Copies the given text to clipboard.

This method is only implemented for MS Windows.

Parameters:
[in] app The application to use
[in] text The text to copy

Definition at line 60 of file GUIUserIO.cpp.

Referenced by GUIGLObjectPopupMenu::onCmdCopyCursorPosition(), GUIGLObjectPopupMenu::onCmdCopyName(), and GUIGLObjectPopupMenu::onCmdCopyTypedName().

00060 {}


The documentation for this class was generated from the following files:

Generated on Wed May 5 00:06:45 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6