Ignore:
Timestamp:
Jun 21, 2018, 2:56:28 PM (19 months ago)
Author:
Juanma
Message:

added vertical orientation (experimental)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • n4dgtklogin/trunk/fuentes/python-n4dgtklogin.install/edupals/ui/n4dgtklogin.py

    r7012 r7506  
    2828        def __init__(self,*args,**kwds):
    2929                super(Gtk.Box,self).__init__(*args,**kwds)
     30                self.vertical=False
    3031                self.sw_n4d=True
    3132                if hasattr(sys,'last_value'):
     
    4748                self.render_form()
    4849        #def __init__
     50       
     51        def set_vertical(self,vertical=True):
     52                if type(vertical)!=type(bool()):
     53                        vertical=True
     54                self.vertical=vertical
     55                self.set_mw_proportion_ratio(2,1)
     56        #def set_vertical
    4957
    5058        def set_allowed_groups(self,groups):
Note: See TracChangeset for help on using the changeset viewer.