Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7522785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:36:56+00:00 2026-05-30T02:36:56+00:00

I think this is a new widget and theres no examples online about this.

  • 0

I think this is a new widget and theres no examples online about this. im not sure how i should start using it or how it can be used.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T02:36:57+00:00Added an answer on May 30, 2026 at 2:36 am

    Here is simple example to get you started. self.button selects directory with images; on doubleclick on any of thumbnails a messagebox is shown with info on selected thumb.

    import wx
    from wx.lib.agw import thumbnailctrl as tn
    
    class MyFrame(wx.Frame):
        def __init__(self, *args, **kwds):
            wx.Frame.__init__(self, *args, style=wx.DEFAULT_FRAME_STYLE)
            self.button = wx.Button(self, -1, "Select dir")
            self.Bind(wx.EVT_BUTTON, self.ButtonPress, self.button)
            self.tn = tn.ThumbnailCtrl(self)    
            self.tn.Bind(tn.EVT_THUMBNAILS_DCLICK, self.TnClick)
    
            box = wx.BoxSizer(wx.VERTICAL)
            box.Add(self.tn, 1, wx.EXPAND, 0)
            box.Add(self.button, 0, wx.ADJUST_MINSIZE, 0)
            self.SetSizer(box)
            box.Fit(self)
            self.Layout()
    
        def ButtonPress(self, evt):
            dlg = wx.DirDialog(self, 'Get dir')
            if dlg.ShowModal() == wx.ID_OK:
            path = dlg.GetPath()
            dlg.Destroy()
            self.tn.ShowDir(path)
    
        def TnClick(self, evt):
            sel = self.tn.GetSelection()
            wx.MessageBox(self.tn.GetThumbInfo(sel))
    
    if __name__ == "__main__":
        app = wx.PySimpleApp(0)
        frame = MyFrame(None, -1, "")
        frame.Show()
        app.MainLoop()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am relatively new to XSL and I think this is a basic question.
I am new at JavaScript so I think my problem may be simple. This
I'm so close to figuring this out, i think. I'm new to javascript, but
So I'm trying out this new TDD thing (about time haha). Anyways I have
java.lang.RuntimeException: Unable to start activity....java.lang.ClassCastException: android.widget.RelativeLayout I got this exception out of nowhere; this
So there's this new cool thing, these NoSQL-databases. And so there's my data: Rows
I am kinda new to this Regex thing. When analyzing some code I frequently
I am very new to this kernel thing. What I want to do is
I'm new to this whole Joomla thing, and I'm trying to get an swf
I am pretty new to this iPhone dev thing but so far I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.