Re: how to create a label that can use mouse to select the text and ctrl-c to copy
- From: Havoc Pennington <hp redhat com>
- To: 胡正 <forlinux 263 net>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: how to create a label that can use mouse to select the text and ctrl-c to copy
- Date: 09 Jan 2002 12:04:10 -0500
胡正 <forlinux 263 net> writes:
gtk_label_new("aa"); will create a label,but i can't use mounse to
select the text and use ctrl-c to copy the text which can in
gtk_entry.
In GTK 2 (1.3.x right now, it's in development), use
gtk_label_set_selectable(). In GTK 1.2 there is no good solution.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]