Logo Search packages:      
Sourcecode: panflute version File versions  Download package

panflute::applet::widget::Button Class Reference

Inheritance diagram for panflute::applet::widget::Button:

panflute::applet::applet::LaunchButton panflute::applet::applet::NextButton panflute::applet::applet::PlaybackButton panflute::applet::applet::PreviousButton

List of all members.


Detailed Description

Specialized version of gtk.Button that plays nicely inside an applet.

This class takes care of all the actual rendering of the button, in order
to mimic the behavior of launcher buttons and eliminate the border that
would normally appear around one.

Definition at line 49 of file widget.py.


Public Member Functions

def __init__
def do_button_press_event
def do_enter
def do_expose_event
def do_leave
def do_pressed
def do_released
def do_size_allocate
def do_size_request
def set_angle
def set_icon_name
def set_stock_id

Static Public Attributes

int DISPLACEMENT = 2
int HIGHLIGHT_SHIFT = 30
 is_expandable = False
 wants_padding = False

Private Member Functions

def __preferred_size
def __reload_image
def __sensitive_changed_cb
def __shift_pixbuf_colors

Private Attributes

 __angle
 __icon_name
 __icon_theme
 __inside
 __mouseover_pixbuf
 __normal_pixbuf
 __pressed
 __stock_id

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

Generated by  Doxygen 1.6.0   Back to index