f78e3f2006-01-05Marcus Comstedt //! Clipboard implementation. //! //! inherit G.Object; GTK2.Clipboard clear( ); //! Clears the contents of the clipboard. //! //! GTK2.Clipboard get( GDK2.Atom selection ); //! Returns the clipboard object for the given selection. //! //! GTK2.GdkDisplay get_display( ); //! Gets the GDK2.Display associated with this clipboard. //! //! GTK2.Clipboard get_for_display( GTK2.GdkDisplay display, GDK2.Atom selection ); //! Returns the clipboard object for the given selection. //! //! GTK2.Clipboard set_image( GTK2.GdkPixbuf pixbuf ); //! Sets the contents of the clipboard to the given GDK2(Pixbuf). //! //!
1148852013-01-24Chris Angelico GTK2.Clipboard set_text( sprintf_format text, sprintf_args... fmt ); //! Sets the contents of the clipboard to the given string. //! If multiple arguments are supplied, sprintf() is called implicitly.
f78e3f2006-01-05Marcus Comstedt //! //! GTK2.GdkPixbuf wait_for_image( ); //! Requests the contents of the clipboard as image and converts the result //! to a GDK2.Pixbuf. //! //!
e5bdc12014-09-02Chris Angelico string wait_for_rich_text( GTK2.TextBuffer buffer ); //! Requests the contents of the clipboard as rich text. //! //!
f78e3f2006-01-05Marcus Comstedt string wait_for_text( );
1148852013-01-24Chris Angelico //! Requests the contents of the clipboard as text
f78e3f2006-01-05Marcus Comstedt //! //! int wait_is_image_available( ); //! Test to see if tehre is an image available to be pasted. //! //!
e5bdc12014-09-02Chris Angelico int wait_is_rich_text_available( GTK2.TextBuffer buffer ); //! Test to see if there is rich text available to be pasted. //! //!
f78e3f2006-01-05Marcus Comstedt int wait_is_text_available( ); //! Test to see if there is text available to be pasted. This is done by //! requesting the TARGETS atom and checking if it contains any of the //! supported text targets. //! //!