Re: Hi - about macros in perl




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]