Horizontal TreeView?

2011-02-08 Thread Gabriele Greco
There is a way to populate a GtkTreeView so that it grows horizontally?

I want to setup cell columns so that physically they are ROWS of the
GtkTreeView and obviously in a fixed number and to make the list grow
horizontally as long as I add elements to my GtkListStore.

I've looked in the GtkTreeView documentation but I didn't find anything that
hints that this is possible (something like
gtk_tree_view_set_orientation(widget, GtkOrientation) would be optimal :) ),
but I wonder if it's possible at rc/style level since GTK already support
right/left or top/bottom writing styles maybe it also can support
left-right lists :)

Otherwise I fear I'll have to build a custom widget, or try to see if adding
widgets that rapresent my elements inside a GtkHBox within a
GtkScrollingWindow is good looking enough :)

-- 
Ing. Gabriele Greco, DARTS Engineering
Tel: +39-0105761240  Fax: +39-0105760224
s-mail: Via G.T. Invrea 14 - 16129 GENOVA (ITALY)
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Horizontal TreeView?

2011-02-08 Thread Tristan Van Berkom
On Tue, Feb 8, 2011 at 8:29 PM, Gabriele Greco gabriele.gr...@darts.it wrote:
 There is a way to populate a GtkTreeView so that it grows horizontally?

 I want to setup cell columns so that physically they are ROWS of the
 GtkTreeView and obviously in a fixed number and to make the list grow
 horizontally as long as I add elements to my GtkListStore.

 I've looked in the GtkTreeView documentation but I didn't find anything that
 hints that this is possible (something like
 gtk_tree_view_set_orientation(widget, GtkOrientation) would be optimal :) ),
 but I wonder if it's possible at rc/style level since GTK already support
 right/left or top/bottom writing styles maybe it also can support
 left-right lists :)

 Otherwise I fear I'll have to build a custom widget, or try to see if adding
 widgets that rapresent my elements inside a GtkHBox within a
 GtkScrollingWindow is good looking enough :)

Currently treeview code does not allow this, however it's not a very difficult
feature to add in GTK+ 3.x... (so it may be a feature on the horizon, somebody
might contribute a patch that does this...).

Cheers,
 -Tristan
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Horizontal TreeView?

2011-02-08 Thread Costin Chirvasuta
Would GtkIconView be suitable?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Horizontal TreeView?

2011-02-08 Thread Gabriele Greco
On Tue, Feb 8, 2011 at 2:55 PM, Costin Chirvasuta cost...@gmail.com wrote:

 Would GtkIconView be suitable?


It seems that GtkIconView suffers from the same problems of GtkTreeView, it
grows only vertically, it has gtk_icon_view_set_columns(), but it doesn't
have gtk_icon_view_set_rows(), so when u add items they are arranged
vertically... also if u configure your scrolling window to resize only
horizontally...

-- 
Ing. Gabriele Greco, DARTS Engineering
Tel: +39-0105761240  Fax: +39-0105760224
s-mail: Via G.T. Invrea 14 - 16129 GENOVA (ITALY)
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


GLib 2.28.0 released

2011-02-08 Thread Matthias Clasen
GLib 2.28.0 is now available for download at:

 ftp://ftp.gtk.org/pub/glib/2.28
 http://download.gnome.org/sources/glib/2.28

sha256 sums:
0605f538e5c022c237c97a34496979ba71d33c7b10b8d8edb84435498a651fb3  
glib-2.28.0.tar.bz2
67bb93fb1c6a6b34d2e1ae22e56b2703eef5cb9161a70922a5bea1519ff3f641  
glib-2.28.0.tar.gz

GLib is the low-level core library that forms the basis for projects
such as GTK+ and GNOME. It provides data structure handling for C,
portability wrappers, and interfaces for such runtime functionality
as an event loop, threads, dynamic loading, and an object system.

GLib 2.28 is a stable release adding an incremental improvement
in functionality over GLib 2.26 while maintaining binary and
source compatibility.

Major new features include:

* GSettings:
 - The schema compiler will now skip over broken .xml schemas
 - Endianness problems have been fixed
 - Better support for ranges

* The gsettings utility
 - Supports ranges too
 - Gained a list-recursively command
 - Has completion support for enumeration values

* GApplication has been rewritten; see the API docs for details
  and examples. The action support is not complete yet.

* GAppInfo:
 - GIO now uses x-scheme-handler mimetypes when looking for default
   applications. The gio-desktop-app-info-lookup extension point is
   no longer used.
 - The g_desktop_app_info_launch_* functions now emit a DBus signal
   when an application is launched.

* GMain:
 - The mainloop has gained 'dispatch to context' functionality,
   which can replace manually created idle sources in many cases.
 - GLib is now linked against librt and uses monotonic time for
   timeouts and for GTimer.

* The Unicode support has been updated for Unicode 6.0.

* The included PCRE has been updated to 8.12.

For more details and lists of fixed bugs, see the
announcements of the 2.27.x development releases:

http://mail.gnome.org/archives/gtk-devel-list/2010-October/msg00222.html
http://mail.gnome.org/archives/gtk-devel-list/2010-November/msg2.html 
http://mail.gnome.org/archives/gtk-devel-list/2010-November/msg00043.html 
http://mail.gnome.org/archives/gtk-devel-list/2010-December/msg00152.html 
http://mail.gnome.org/archives/gtk-devel-list/2011-January/msg0.html 
http://mail.gnome.org/archives/gtk-devel-list/2011-January/msg00019.html 
http://mail.gnome.org/archives/gtk-devel-list/2011-January/msg00041.html

More information about GLib is available at:

 http://www.gtk.org/


The GLib Team:

 Hans Breuer, Matthias Clasen, Tim Janik, Tor Lillqvist,
 Manish Singh, Owen Taylor, and Sebastian Wilhelmi

Thanks to all contributors, including
Alberto Garcia
Andre Klapper
Bastien Nocera
Behdad Esfahbod
Benjamin Gilbert
Benjamin Otte
Chris Kühl
Christian Dywan
Christian Persch
Chun-wei Fan
Claude Paroz
Colin Walters
Cosimo Cecchi
Daiki Ueno
Damien Lespiau
Dan Winship
David Zeuthen
Emilio Pozuelo Monfort
Emmanuele Bassi
Florian Müllner
Javier Jardón
Johan Dahlin
John Palmieri
Matthew Barnes
Michael Natterer
Mikkel Kamstrup Erlandsen
Murray Cumming
Nicolas Dufresne
Paolo Borelli
Pavel Holejsovsky
Peng Huang
Philip Withnall
Ray Strode
Ryan Lortie
Stefan Kost
Stef Walter
Ted Gould
Thomas Hindoe Paaboel Andersen
Thomas Kristensen
Tobias Mueller
Tor Lillqvist
William Jon McCann
Will Thompson
Xavier Claessens


February 8, 2011
Matthias Clasen


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list