Re: gtk_editable_copy_clipboard
- From: Havoc Pennington <hp redhat com>
- To: slackwares_slacker yahoo com
- Cc: GTK Mailing List <gtk-list gnome org>
- Subject: Re: gtk_editable_copy_clipboard
- Date: 17 Nov 2001 21:27:26 -0500
Randy <slackwares_slacker yahoo com> writes:
>
> I've got an application that uses a gtk_entry ( formatter->text_box ), I
> wanted to copy all the elements in it to the clipboard so I wrote this code:
>
> gtk_editable_select_region( GTK_EDITABLE(formatter->text_box), 0, -1 );
> gtk_editable_copy_clipboard( GTK_EDITABLE(formatter->text_box) );
>
> The problem is that it does not seem to be copying it to the clipboard. Can
> anyone explain why it isn't doing that? Does this only work under gnome or
> something? Thanks.
This copies to the clipboard - which means middle button does NOT
paste it. Maybe this was the source of confusion... if so, read:
http://www.freedesktop.org/standards/clipboards.txt
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]