Package dtk :: Package ui :: Module navigatebar

Source Code for Module dtk.ui.navigatebar

  1  #! /usr/bin/env python 
  2  # -*- coding: utf-8 -*- 
  3   
  4  # Copyright (C) 2011 ~ 2012 Deepin, Inc. 
  5  #               2011 ~ 2012 Wang Yong 
  6  #  
  7  # Author:     Wang Yong <lazycat.manatee@gmail.com> 
  8  # Maintainer: Wang Yong <lazycat.manatee@gmail.com> 
  9  #  
 10  # This program is free software: you can redistribute it and/or modify 
 11  # it under the terms of the GNU General Public License as published by 
 12  # the Free Software Foundation, either version 3 of the License, or 
 13  # any later version. 
 14  #  
 15  # This program is distributed in the hope that it will be useful, 
 16  # but WITHOUT ANY WARRANTY; without even the implied warranty of 
 17  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
 18  # GNU General Public License for more details. 
 19  #  
 20  # You should have received a copy of the GNU General Public License 
 21  # along with this program.  If not, see <http://www.gnu.org/licenses/>. 
 22   
 23  from box import EventBox 
 24  from constant import DEFAULT_FONT_SIZE 
 25  from draw import draw_line, draw_pixbuf, draw_text 
 26  from theme import ui_theme 
 27  from utils import widget_fix_cycle_destroy_bug, propagate_expose 
 28  import gobject 
 29  import gtk 
 30  import pango 
 31   
127   
128  gobject.type_register(Navigatebar) 
129   
267