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 1039195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:04:10+00:00 2026-05-16T15:04:10+00:00

I am working on a GTK+ application written in python. I obviously use PyGtk.

  • 0

I am working on a GTK+ application written in python. I obviously use PyGtk. My application is about collections of videos. It’s a kind of F-spot or Picasa, but for video.

As you can see in these two apps, you have a central area where you can see all of your photos with tag thumbnails under.

In my app, I want to implement the same kinf of view. For now I simply use this:

A gtk.Table containing a VBox, inside the VBox a Pixbuf (my video thumbnail) and a HBox, and inside the HBox, as many Pixbuf as tags.

It’s working but it’s ugly and It seems like It’s not the better solution.

Looking deeply in the docs, I have found two widgets near my neeeds: IconView and TreeView. But IconView can only display one pixbuf per “row” and TreeView don’t display as a grid like IconView.

My question: Is there a way to display a TreeView like an IconView (in a grid) ?
How would you implement the F-spot way of arranging photos and tags under?

  • 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-16T15:04:11+00:00Added an answer on May 16, 2026 at 3:04 pm

    The best approach is either to stick with a table and reimplement selections or Use a custom version of IconView with a custom cellrenderer wich can take gtk.HBox().

    Some guidelines about custom cellrenderer are :

    http://faq.pygtk.org/index.py?req=show&file=faq13.045.htp

    http://faq.pygtk.org/index.py?req=show&file=faq13.056.htp

    a discuss occured on pygtk mailing list :

    htp://old.nabble.com/Drawing-widgets-in-a-custom-cellrenderer-td14207692.html

    WWWalter make a sample code :
    http://www.translate.org.za/blogs/walter/en/content/conquering-cellrendererwidget

    According to Ruben Vermeersch, f-pot use a modified version of IconView. Code can be found here :
    http://git.gnome.org/browse/f-spot/?h=icon-view-cleanup

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a Python application involving the use of a GTK table. The
I'm working on a PyGTK/glade application that currently has 16 windows/dialogs and is about
I'm working with Python and threads by some time, but I still have a
I'm currently working on a small script that needs to use gtk.StatusIcon() . For
I am working on a kiosk gui, written in ruby/gtk and using ubuntu. I'd
I am working on a Mono GTK# desktop app written in C#. I have
I'm working on a project using Python and pyGTK. I have a window whose
I am creating a python gtk program which uploads videos to youtube in ubuntu
I'm working on an application that embeds WebKit (via the Gtk bindings). I'm trying
I'm working on an application that has been tightly bound to GTK# by using

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.