ALP Clipboard Utilities
[UI Utilities]


Functions

void alp_clipboard_copy (GtkWidget *widgetOrWindow)
 Emits a copy signal on the focused widget in the given toplevel hierarchy.
void alp_clipboard_cut (GtkWidget *widgetOrWindow)
 Emits a cut signal on the focused widget in the given toplevel hierarchy.
void alp_clipboard_paste (GtkWidget *widgetOrWindow)
 Emits a paste signal on the focused widget in the given toplevel hierarchy.


Function Documentation

void alp_clipboard_copy GtkWidget *  widgetOrWindow  ) 
 

Emits a copy signal on the focused widget in the given toplevel hierarchy.

This simple API is pretty much the same as alp_clipboard_cut(), except that it emits a "copy_clipboard" signal instead. See the documentation for alp_clipboard_cut() for details.

Parameters:
[in] widgetOrWindow A pointer to a widget under the same toplevel as the text widget.

void alp_clipboard_cut GtkWidget *  widgetOrWindow  ) 
 

Emits a cut signal on the focused widget in the given toplevel hierarchy.

This widget has different behavior if it's passed a pointer to a GTK_WINDOW or one of it's derived classes (GTK_PLUG and GTK_DIALOG) or a pointer to another type of widget.

In the case of a GTK_WINDOW it will look up the currently focused widget in that window and emit the "cut-clipboard' signal on it. This is useful when implementing edit functions on windows containing more than one editable widget. However, you must be careful not to emit signals on widgets in that window that don't have clipboard functions like buttons.

In cases where the function is passed a pointer to a non-window widget, the "cut-clipboard" signal will be emitted on the widget indicated by windowOrWidget. This functionality should be used when there is a single editable widget in a window with multiple widgets that can receive focus, like in the soft keyboard or the find application.

Parameters:
[in] widgetOrWindow A pointer to a widget under the same toplevel as the text widget.

void alp_clipboard_paste GtkWidget *  widgetOrWindow  ) 
 

Emits a paste signal on the focused widget in the given toplevel hierarchy.

This simple API is pretty much the same as alp_clipboard_cut(), except that it emits a "paste_clipboard" signal instead. See the documentation for alp_clipboard_cut() for details.

Parameters:
[in] widgetOrWindow A pointer to a widget under the same toplevel as the text widget.


Generated on Wed Jul 30 07:06:41 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.