Skip to content

Instantly share code, notes, and snippets.

@batok
Created October 19, 2010 15:36
Show Gist options
  • Save batok/634395 to your computer and use it in GitHub Desktop.
Save batok/634395 to your computer and use it in GitHub Desktop.
if c[1] == "fecha_iso":
wx.StaticText(self.pane,-1,"")
f_button = GB.GradientButton(self.pane,-1,None,"Editar Fecha Especial")
self.f_iso = text
wx.StaticText(self.pane,-1,"Porcentajes")
porc_button = GB.GradientButton(self.pane,-1,None,"Cambiar")
wx.StaticText(self.pane,-1,"Partidas")
subpane = sc.SizedPanel(self.pane,-1)
subpane.SetSizerType("horizontal")
new_bmp = wx.ArtProvider.GetBitmap( wx.ART_NEW, wx.ART_FRAME_ICON, (16,16))
ap_button = GB.GradientButton( subpane, -1, new_bmp, "Agregar")
#buttons = "Agregar Modificar Eliminar Revisar".split(" ")
#ap_button, mp_button, ep_button, rp_button = [ GB.GradientButton(subpane,-1,None,x) for x in buttons]
buttons = "Modificar Eliminar".split(" ")
mp_button, ep_button = [ GB.GradientButton(subpane,-1,None,x) for x in buttons]
view_bmp = wx.ArtProvider.GetBitmap( wx.ART_LIST_VIEW, wx.ART_FRAME_ICON, (16,16))
rp_button = GB.GradientButton(subpane,-1, view_bmp , "Revisar")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment