Re: Hi - about macros in perl
- From: Alexandru Nedelcu <alex lexoft eu>
- To: Dafna Hirschfeld <dafna3 gmail com>
- Cc: gtk-perl-list gnome org
- Subject: Re: Hi - about macros in perl
- Date: Mon, 08 Dec 2008 19:21:26 +0200
Gtk2::ToolButton->new_from_stock('gtk-save')
Gtk2::ToolButton->new_from_stock('gtk-new')
etc...
On Mon, 2008-12-08 at 19:10 +0200, Dafna Hirschfeld wrote:
I wanted to translate the c code:
new = gtk_tool_button_new_from_stock(GTK_STOCK_NEW);
but the 'NEW' button was not loaded, how do I use the c macros:
GTK_STOCK_NEW, GTK_STOCK_SAVE, GTK_STOCK_OPEN etc..
--
Alexandru Nedelcu
http://alexn.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]