fltk  1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_Menu_Item_Type Class Reference

#include <Fl_Type.h>

Inheritance diagram for Fl_Menu_Item_Type:
[legend]
Collaboration diagram for Fl_Menu_Item_Type:
[legend]

Public Member Functions

Fl_Menu_Itemsubtypes ()
 
const char * type_name ()
 
const char * alt_type_name ()
 
Fl_Typemake ()
 
int is_menu_item () const
 
int is_button () const
 
Fl_Widgetwidget (int, int, int, int)
 
Fl_Widget_Type_make ()
 
const char * menu_name (int &i)
 
int flags ()
 
void write_static ()
 
void write_item ()
 
void write_code1 ()
 
void write_code2 ()
 
int pixmapID ()
 
- Public Member Functions inherited from Fl_Widget_Type
void setimage (Fluid_Image *)
 
void setinactive (Fluid_Image *)
 
 Fl_Widget_Type ()
 
void open ()
 
const char * extra_code (int n) const
 
void extra_code (int n, const char *)
 
const char * subclass () const
 
void subclass (const char *)
 
const char * tooltip () const
 
void tooltip (const char *)
 
const char * image_name () const
 
void image_name (const char *)
 
const char * inactive_name () const
 
void inactive_name (const char *)
 
uchar hotspot () const
 
void hotspot (uchar v)
 
uchar resizable () const
 
void resizable (uchar v)
 
virtual int textstuff (int what, Fl_Font &, int &, Fl_Color &)
 
virtual int is_widget () const
 
virtual int is_public () const
 
virtual void write_properties ()
 
virtual void read_property (const char *)
 
virtual int read_fdesign (const char *, const char *)
 
virtual Fl_Widgetenter_live_mode (int top=0)
 
virtual void leave_live_mode ()
 
virtual void copy_properties ()
 
virtual void ideal_size (int &w, int &h)
 
virtual void ideal_spacing (int &x, int &y)
 
 ~Fl_Widget_Type ()
 
void redraw ()
 
- Public Member Functions inherited from Fl_Type
const char * callback_name ()
 
virtual ~Fl_Type ()
 
void add (Fl_Type *parent)
 
void insert (Fl_Type *n)
 
Fl_Typeremove ()
 
void move_before (Fl_Type *)
 
virtual const char * title ()
 
const char * name () const
 
void name (const char *)
 
const char * label () const
 
void label (const char *)
 
const char * callback () const
 
void callback (const char *)
 
const char * user_data () const
 
void user_data (const char *)
 
const char * user_data_type () const
 
void user_data_type (const char *)
 
const char * comment ()
 
void comment (const char *)
 
virtual Fl_Typeclick_test (int, int)
 
virtual void add_child (Fl_Type *, Fl_Type *beforethis)
 
virtual void move_child (Fl_Type *, Fl_Type *beforethis)
 
virtual void remove_child (Fl_Type *)
 
virtual void write ()
 
void write_comment_h (const char *ind="")
 
void write_comment_c (const char *ind="")
 
void write_comment_inline_c (const char *ind=0L)
 
int msgnum ()
 
virtual int is_parent () const
 
virtual int is_input () const
 
virtual int is_value_input () const
 
virtual int is_text_display () const
 
virtual int is_valuator () const
 
virtual int is_spinner () const
 
virtual int is_menu_button () const
 
virtual int is_group () const
 
virtual int is_window () const
 
virtual int is_code () const
 
virtual int is_code_block () const
 
virtual int is_decl_block () const
 
virtual int is_comment () const
 
virtual int is_class () const
 
const char * class_name (const int need_nest) const
 
const class Fl_Class_Typeis_in_class () const
 

Additional Inherited Members

- Public Attributes inherited from Fl_Widget_Type
const char * xclass
 
Fl_Widgeto
 
int public_
 
Fluid_Imageimage
 
Fluid_Imageinactive
 
- Public Attributes inherited from Fl_Type
Fl_Typeparent
 
char new_selected
 
char selected
 
char open_
 
char visible
 
char rtti
 
int level
 
Fl_Typenext
 
Fl_Typeprev
 
Fl_Typefactory
 
int code_position
 
int header_position
 
int code_position_end
 
int header_position_end
 
- Static Public Attributes inherited from Fl_Widget_Type
static int default_size = FL_NORMAL_SIZE
 
- Static Public Attributes inherited from Fl_Type
static Fl_Typefirst
 
static Fl_Typelast
 
static Fl_Typecurrent
 
- Protected Member Functions inherited from Fl_Widget_Type
void write_widget_code ()
 
void write_extra_code ()
 
void write_block_close ()
 
void write_color (const char *, Fl_Color)
 
- Protected Member Functions inherited from Fl_Type
 Fl_Type ()
 
int user_defined (const char *cbname) const
 
- Protected Attributes inherited from Fl_Widget_Type
Fl_Widgetlive_widget
 
- Protected Attributes inherited from Fl_Type
const char * name_
 
const char * label_
 
const char * callback_
 
const char * user_data_
 
const char * user_data_type_
 
const char * comment_
 

Detailed Description

Definition at line 671 of file Fl_Type.h.

Member Function Documentation

◆ _make()

Fl_Widget_Type* Fl_Menu_Item_Type::_make ( )
inlinevirtual

Implements Fl_Widget_Type.

Definition at line 680 of file Fl_Type.h.

◆ alt_type_name()

const char* Fl_Menu_Item_Type::alt_type_name ( )
inlinevirtual

Reimplemented from Fl_Type.

Reimplemented in Fl_Submenu_Type.

Definition at line 675 of file Fl_Type.h.

◆ flags()

◆ is_button()

int Fl_Menu_Item_Type::is_button ( ) const
inlinevirtual

Reimplemented from Fl_Type.

Reimplemented in Fl_Submenu_Type.

Definition at line 678 of file Fl_Type.h.

◆ is_menu_item()

int Fl_Menu_Item_Type::is_menu_item ( ) const
inlinevirtual

Reimplemented from Fl_Type.

Definition at line 677 of file Fl_Type.h.

◆ make()

◆ menu_name()

const char * Fl_Menu_Item_Type::menu_name ( int &  i)

◆ pixmapID()

int Fl_Menu_Item_Type::pixmapID ( )
inlinevirtual

Reimplemented from Fl_Type.

Reimplemented in Fl_Submenu_Type.

Definition at line 687 of file Fl_Type.h.

◆ subtypes()

Fl_Menu_Item* Fl_Menu_Item_Type::subtypes ( )
inlinevirtual

Reimplemented from Fl_Widget_Type.

Reimplemented in Fl_Submenu_Type.

Definition at line 673 of file Fl_Type.h.

References menu_item_type_menu.

◆ type_name()

const char* Fl_Menu_Item_Type::type_name ( )
inlinevirtual

Implements Fl_Type.

Reimplemented in Fl_Submenu_Type.

Definition at line 674 of file Fl_Type.h.

◆ widget()

Fl_Widget* Fl_Menu_Item_Type::widget ( int  ,
int  ,
int  ,
int   
)
inlinevirtual

Implements Fl_Widget_Type.

Definition at line 679 of file Fl_Type.h.

◆ write_code1()

◆ write_code2()

void Fl_Menu_Item_Type::write_code2 ( )
virtual

Reimplemented from Fl_Widget_Type.

Definition at line 386 of file Fl_Menu_Type.cxx.

◆ write_item()

◆ write_static()


The documentation for this class was generated from the following files: