Logo Search packages:      
Sourcecode: rapid-photo-downloader version File versions  Download package

def rapid::tableplusminus::TablePlusMinus::attach (   self,
  child,
  left_attach,
  right_attach,
  top_attach,
  bottom_attach,
  xoptions = gtk.EXPAND|gtk.FILL,
  yoptions = gtk.SHRINK,
  xpadding = 0,
  ypadding = 0 
)

Override base class attach method, to allow automatic shrinking of minus and plus buttons

Definition at line 170 of file tableplusminus.py.

                                                                    :
        """
        Override base class attach method, to allow automatic shrinking of minus and plus buttons
        """
        if left_attach >= self.pm_noColumns and left_attach <= self.pm_noColumns + 1:
            # since we are adding plus or minus button, shrink the button
            gtk.Table.attach(self, child, left_attach, right_attach, top_attach, bottom_attach, gtk.SHRINK, gtk.SHRINK, xpadding, ypadding)
        else:
            gtk.Table.attach(self, child, left_attach, right_attach, top_attach, bottom_attach, xoptions, yoptions, xpadding, ypadding)


    def insertAfter(self, rowPosition, row):


Generated by  Doxygen 1.6.0   Back to index