Re: Can't locate object method "popup" via package "Gtk3::Menu"



Hi,

Torsten Schoenfeld wrote (13 May 2012 11:24:08 GMT) :
â You're using Gtk3::MenuItem->new('something'), which resolves to
gtk_menu_item_new which does not take any arguments, hence the label
is ignored.

Thanks a lot, using new_with_mnemonic instead of new fixed my problem!

So, next problem I encounter, in my conversion process, is:
  Can't locate object method "show_about_dialog" via package "Gtk3".

Triggered by:

use strict;
use warnings;
use Gtk3 -init;
my $win = Gtk3::Window->new;
Gtk3->show_about_dialog(
    $win,
    'program-name' => 'bla',
    'license'      => q{This program is free software},
    'wrap-license' => 1,
    'website'      => 'http://www.example.com/',
);
Gtk3->main;

Any hint?

Cheers,
-- 
  intrigeri
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]