Re: Having issues porting a CellRenderer / CellEditable to Gtk3
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Having issues porting a CellRenderer / CellEditable to Gtk3
- Date: Fri, 04 Jan 2013 00:40:41 +0100
On 08.07.2012 11:40, Torsten Schoenfeld wrote:
To get rid of the property warning, you would use
use Glib::Object::Subclass
   Gtk2::TextView::,
   properties => [
     Glib::ParamSpec->boolean (
       'editing-canceled',
       'Editing canceled',
       'Editing canceled',
       Glib::FALSE,
       [qw/readable writable/]
     ),
   ],
   interfaces => [ Gtk2::CellEditable:: ];
With the recent changes to Glib, this should now work.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]