Re: Where do I find the constants?



On Mo, 2013-12-30 at 11:34 -0600, Dave M wrote:

This one has an example of what you're looking for:

https://github.com/dave-theunsub/gtk3-perl-demos/blob/master/dialog_boxes.pl

One small addition: The code above contains

  use constant GTK_RESPONSE_OK => -5;

for use in a call to add_button().  This should also work:

  $dialog->add_button ('gtk-ok', 'ok');



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