Re: Having issues porting a CellRenderer / CellEditable to Gtk3



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]