Which control?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Which control?

Mario Lacunza-2
Hi,

please check the attached image, I want to do something similar in wxPython, looks like a toolbar with icons+texts in 2 columns and a group control for categories, which control I need to use for it? I check the demo and I cant find anything close...

Saludos / Best regards

Mario Lacunza
Email:: [hidden email]
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

control.png (76K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Which control?

Andrea Gavana
Hi,


On Fri, 20 Apr 2018 at 06.41, Mario Lacunza <[hidden email]> wrote:
Hi,

please check the attached image, I want to do something similar in wxPython, looks like a toolbar with icons+texts in 2 columns and a group control for categories, which control I need to use for it? I check the demo and I cant find anything close...


I’m afraid there is nothing built in that can give you that widget straight away. However, it could be done in many different ways. One possibility would be:

1. It looks like a palette, so it’s a simple floating wx.MiniFrame
2. If the categories needs to be “foldable”, then I would use FoldPanelBar, otherwise a simple sequence of wx.Panels in a main sizer
3. Each “tool” inside a category can be a wx.Button with an image on it, all organized in a nice wx.FlexGridSizer, although I think UltimateListCtrl could be tweaked to get a similar effect.

I would also look into the wxGlade GUI code if I were you, they do something similar (although not exactly the same) in the control palette.

Or, if you really are into creating custom controls, you could look into making it an owner-drawn full blown widget. It all depends on the functionalities you need.

Andrea.




Saludos / Best regards

Mario Lacunza
Email:: [hidden email]
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Which control?

Mario Lacunza-2
Hi Andrea,

Looks like FoldPanelBar + UltimateListCtrl using Icon view will works... thanks for your comments!

Saludos / Best regards

Mario Lacunza
Email:: [hidden email]
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru

2018-04-20 0:33 GMT-05:00 Andrea Gavana <[hidden email]>:
Hi,


On Fri, 20 Apr 2018 at 06.41, Mario Lacunza <[hidden email]> wrote:
Hi,

please check the attached image, I want to do something similar in wxPython, looks like a toolbar with icons+texts in 2 columns and a group control for categories, which control I need to use for it? I check the demo and I cant find anything close...


I’m afraid there is nothing built in that can give you that widget straight away. However, it could be done in many different ways. One possibility would be:

1. It looks like a palette, so it’s a simple floating wx.MiniFrame
2. If the categories needs to be “foldable”, then I would use FoldPanelBar, otherwise a simple sequence of wx.Panels in a main sizer
3. Each “tool” inside a category can be a wx.Button with an image on it, all organized in a nice wx.FlexGridSizer, although I think UltimateListCtrl could be tweaked to get a similar effect.

I would also look into the wxGlade GUI code if I were you, they do something similar (although not exactly the same) in the control palette.

Or, if you really are into creating custom controls, you could look into making it an owner-drawn full blown widget. It all depends on the functionalities you need.

Andrea.




Saludos / Best regards

Mario Lacunza
Email:: [hidden email]
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.