  
 
 | 
  Main Page  
  Widgets  
   Namespaces  
   Book  
 
Gtk::Calendar Class Reference 
[Widgets]
Display a calendar and/or allow the user to select a date. 
More...
Inheritance diagram for Gtk::Calendar:  
[legend]List of all members.
 Detailed Description
Display a calendar and/or allow the user to select a date.
This is a widget that displays a calendar, one month at a time.
 
The month and year currently displayed can be altered with select_month(). The exact day can be selected from the displayed month using select_day().
 
The way in which the calendar itself is displayed can be altered using display_options().
 
The selected date can be retrieved from a GtkCalendar using get_date().
 
If performing many 'mark' operations, the calendar can be frozen to prevent flicker, using freeze(), and 'thawed' again using thaw(). 
 
 
 Constructor & Destructor Documentation
 
  
    
      
        
          |  virtual Gtk::Calendar::~Calendar  | 
          ( | 
                      | 
          )  | 
           [virtual] | 
         
       
     | 
   
 
 
  
    
      
        
          |  Gtk::Calendar::Calendar  | 
          ( | 
                      | 
          )  | 
           | 
         
       
     | 
   
 
 Member Function Documentation
 
  
    
      
        
          |  void Gtk::Calendar::clear_marks  | 
          ( | 
                      | 
          )  | 
           | 
         
       
     | 
   
 
 
 
  
    
      
        
          |  void Gtk::Calendar::freeze  | 
          ( | 
                      | 
          )  | 
           | 
         
       
     | 
   
 
 
  
    
      
        
          |  void Gtk::Calendar::get_date  | 
          ( | 
          guint&  | 
            year,  | 
         
        
           | 
           | 
          guint&  | 
            month,  | 
         
        
           | 
           | 
          guint&  | 
            day | 
         
        
           | 
          )  | 
           const | 
         
       
     | 
   
 
 
  
    
      
        
          |  const GtkCalendar* Gtk::Calendar::gobj  | 
          ( | 
                      | 
          )  | 
           const [inline] | 
         
       
     | 
   
 
 
  
    
      
        
          |  GtkCalendar* Gtk::Calendar::gobj  | 
          ( | 
                      | 
          )  | 
           [inline] | 
         
       
     | 
   
 
 
  
    
      
        
          |  int Gtk::Calendar::mark_day  | 
          ( | 
          guint  | 
            day           | 
          )  | 
           | 
         
       
     | 
   
 
 
  
    
      
        
          |  virtual void Gtk::Calendar::on_day_selected  | 
          ( | 
                      | 
          )  | 
           [protected, virtual] | 
         
       
     | 
   
 
 
  
    
      
        
          |  virtual void Gtk::Calendar::on_day_selected_double_click  | 
          ( | 
                      | 
          )  | 
           [protected, virtual] | 
         
       
     | 
   
 
 
  
    
      
        
          |  virtual void Gtk::Calendar::on_month_changed  | 
          ( | 
                      | 
          )  | 
           [protected, virtual] | 
         
       
     | 
   
 
 
  
    
      
        
          |  virtual void Gtk::Calendar::on_next_month  | 
          ( | 
                      | 
          )  | 
           [protected, virtual] | 
         
       
     | 
   
 
 
  
    
      
        
          |  virtual void Gtk::Calendar::on_next_year  | 
          ( | 
                      | 
          )  | 
           [protected, virtual] | 
         
       
     | 
   
 
 
  
    
      
        
          |  virtual void Gtk::Calendar::on_prev_month  | 
          ( | 
                      | 
          )  | 
           [protected, virtual] | 
         
       
     | 
   
 
 
  
    
      
        
          |  virtual void Gtk::Calendar::on_prev_year  | 
          ( | 
                      | 
          )  | 
           [protected, virtual] | 
         
       
     | 
   
 
 
  
    
      
        
          |  void Gtk::Calendar::select_day  | 
          ( | 
          guint  | 
            day           | 
          )  | 
           | 
         
       
     | 
   
 
 
  
    
      
        
          |  int Gtk::Calendar::select_month  | 
          ( | 
          guint  | 
            month,  | 
         
        
           | 
           | 
          guint  | 
            year | 
         
        
           | 
          )  | 
           | 
         
       
     | 
   
 
 
  
    | 
       
     | 
    
 
 - Prototype:
 void day_selected()  
     | 
   
 
 
  
    | 
       
     | 
    
 
 - Prototype:
 void day_selected_double_click()  
     | 
   
 
 
  
    | 
       
     | 
    
 
 - Prototype:
 void month_changed()  
     | 
   
 
 
  
    | 
       
     | 
    
 
 - Prototype:
 void next_month()  
     | 
   
 
 
  
    | 
       
     | 
    
 
 - Prototype:
 void next_year()  
     | 
   
 
 
  
    | 
       
     | 
    
 
 - Prototype:
 void prev_month()  
     | 
   
 
 
  
    | 
       
     | 
    
 
 - Prototype:
 void prev_year()  
     | 
   
 
 
  
    
      
        
          |  void Gtk::Calendar::thaw  | 
          ( | 
                      | 
          )  | 
           | 
         
       
     | 
   
 
 
  
    
      
        
          |  int Gtk::Calendar::unmark_day  | 
          ( | 
          guint  | 
            day           | 
          )  | 
           | 
         
       
     | 
   
 
 Friends And Related Function Documentation
 
  
    
      
        
          |  Gtk::Calendar* wrap  | 
          ( | 
          GtkCalendar*  | 
            object,  | 
         
        
           | 
           | 
          bool  | 
            take_copy = false | 
         
        
           | 
          )  | 
           [related] | 
         
       
     | 
   
 
 The documentation for this class was generated from the following file:
 
Generated for gtkmm by 
Doxygen 1.3-rc1 © 1997-2001
 |