pike.git / src / post_modules / GTK2 / source / gtkoptionmenu.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkoptionmenu.pre:2:   not gtk24;      class GTK2.OptionMenu;   inherit GTK2.Button;      //! A OptionMenu is a widget that allows the user to choose from a   //! list of valid choices. The OptionMenu displays the selected   //! choice. When activated the OptionMenu displays a popup W(Menu)   //! which allows the user to make a new choice.   //! <p> - //! IMG: GTK.OptionMenu()->set_menu(GTK.Menu()->add( GTK.Menu_item("Option 1") )); + //! IMG: GTK2.OptionMenu()->set_menu(GTK2.Menu()->add( GTK2.MenuItem("Option 1") ));   //! </p>   //! Properties:   //! GTK2.Menu menu   //! Style properties:   //! int indicator-size   //! int indicator-spacing      void create();   //! Create a new option menu widget