Index

C++ Code Documentation

gtk::widget1::MenuButton

Derived from: widget::ui::Choice , gtk::widget0::Widget

Children: gtk::widget1::MenuButtonCb

File: WIDGET/gtk/widget1/MenuButton.H

class gtk:LMenuButton: a GtkOptionMenu which knows it's own value

public:
  • MenuButton( uint value, char const *label[], uint count );
    constructor
  • virtual ~MenuButton();
    destructor
  • void set( uint value );
  • uint get() const;
  • virtual bool showing( uint n ) const;
  • virtual void show( bool state = true );
  • virtual void show( uint n, bool state );
  • else;
  • } virtual void set_sensitive( uint n, bool state );
  • typedef void (*StaticCallbackFnPtr)(GtkWidget *, gpointer);
  • void _block( void *obj );
  • void _unblock( void *obj );
  • void _connect( void *obj, StaticCallbackFnPtr fn );
protected:
private:
  • GtkMenu *_menu;
  • GtkMenuItem **_menu_item;
  • uint _value;
  • uint _count;
  • struct Data;
  • Data *_data;
  • static void data_callback( GtkWidget *, void *p );
  • MenuButton( MenuButton const & );
  • MenuButton &operator=( MenuButton const & );


gtk::widget1::MenuButton GANG