[fpc-pascal]menu & GTK : examples ?

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue Oct 31 09:45:20 CET 2000


On Sun, 29 Oct 2000, NDQ wrote:

> On Sun, Oct 29, 2000 at 10:50:37AM +0100, Michael.VanCanneyt at Wisa.be wrote:
> > 
> > 
> > On Sun, 29 Oct 2000, NDQ wrote:
> > 
> > > Hi,
> > > I can not found any example for menu GTK in fpc-1.0.2-1 (Linux).
> > > 
> > > Anyone could give me an simple example like "examples/menu" in GTK Tutorial ?
> > > ( gtk_item_factory_new, gtk_item_factory_create_items, gtk_item_factory_get_widget, ...)
> > 
> > I'm not aware of any example for this. It shouldn't be hard to translate the
> > example, though ?
> 
> For me, it's not easy at all ;-)
> 
> If  anyone have some examples of GTK menu (popup, pulldown) it will be very appreciated !

The editform.pp example has some menu handling, but does not use the factory stuff.

Michael.





More information about the fpc-pascal mailing list