ering happens behind the
scenes) and selection (rubberband selection for example) as GtkIconView
offers.
Is GtkIconView the right widget for this task? I got empty cells by
simply letting the iterator advance without setting values for some
rows. But those empty cells are sill selected via rubberban
Usually, a GtkIconView uses a GtkTreeModel with a few important
columns. A column of type G_TYPE_STRING for the label or the markup and
a column of type GDK_TYPE_PIXBUF for the icon.
In my application I have a G_TYPE_OBJECT derived object that resembles
such an icon in the few, a row if you wish
ithout needing to download a tarball, untar it and all before viewing
it and compiling it (sometimes you can guess what went wrong
by looking at your test code without even compiling, as specially
if you recently made changes to GtkIconView code).
That's just a minor recommendation though, it
zilla.gnome.org/show_bug.cgi?id=692063 . Hope I did it
> right O:)
>
> > El 18/01/13 06:32, Tristan Van Berkom escribió:
> >> On Fri, Jan 18, 2013 at 8:49 AM, rastersoft
> wrote:
> >>>
> >> Hi all:
>
> >> I'm having an odd probl
Fri, Jan 18, 2013 at 8:49 AM, rastersoft
wrote:
> >>
> > Hi all:
>
> > I'm having an odd problem with GtkIconView. In Ubuntu 12.04, with Gtk
> > 3.4, all worked fine, but now, in Ubuntu 12.10 and Gtk 3.6, there's this
> > curious problem.
>
&
. Hope I did it right O:)
El 18/01/13 06:32, Tristan Van Berkom escribió:
> On Fri, Jan 18, 2013 at 8:49 AM, rastersoft wrote:
>>
> Hi all:
>
> I'm having an odd problem with GtkIconView. In Ubuntu 12.04, with Gtk
> 3.4, all worked fine, but now, in Ubuntu 12.10
On Fri, Jan 18, 2013 at 8:49 AM, rastersoft wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi all:
>
> I'm having an odd problem with GtkIconView. In Ubuntu 12.04, with Gtk
> 3.4, all worked fine, but now, in Ubuntu 12.10 and Gtk 3.6, there's t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all:
I'm having an odd problem with GtkIconView. In Ubuntu 12.04, with Gtk
3.4, all worked fine, but now, in Ubuntu 12.10 and Gtk 3.6, there's this
curious problem.
I set a GtkIconView inside a GtkScrolledWindow, and set to -1 colu
Hi all,
I try to used a GtkIconViewer for displaying icons with very long labels. So
I used a custom layout and set the "ellipsize" property to the text cell.
It works well as long as the items are not selected. When an item is
selected, the size request for its text label (and focus box) is get fr
Hi.
You need to remove the data from underlying model and your icon view
will get updated automatically.
Sample code that is capable of removing multiple items at a time would
look like this:
--
GtkIconView *icon_view;
GtkListStore *store;
GList*elements,
*iter
Hello,
I have GtkIconView in my C/gtk+ application. How to remove selected
item of this GktIconView. I can select item, how can i delete this
row?
Thank you
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman
Hello,
I have a gtkiconview in my C/gtk+ application. In this GtkIconView i
load images from GList like thumbnails. How can i get selecting item
in this GtkIconView? I try so:
g_signal_connect(mw->view,"selection-changed",G_CALLBACK(thumbnail_selected),mw);
void thumb
> I don't think items in icon view can be in prelit state. They are
> either selected or not. You'll probably need to create custom icon
> view widget to get on-hover effect.
Can this be accomplished with a custom GtkIconView or do I need to
write it from scratch?
Thanks,
Deba
Hi.
I don't think items in icon view can be in prelit state. They are
either selected or not. You'll probably need to create custom icon
view widget to get on-hover effect.
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
I have a custom GtkCellRendererPixbuf which I am using to render some
thumbnails in a GtkIconView. Now when the mouse passes over a rendered
thumbnail I want to slightly highlight/decorate it. As far as I can
understand from the documentation my render_vfunc should get
GTK_CELL_RENDERER_PRELIT in
Hi All,
In newer versions of Gtk+[After GIcon addition] user is not able to add
mixed images in IconView that is file path plus named icons.
User will prefer named icons over file path to have consistent look and
feel but all required icons may not be available in icon theme so he may
need to use m
Hi,
I created a gtkcellrenderer this way:
pixbuf_cell = gtk_cell_renderer_pixbuf_new();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT
(img_struct->thumbnail_iconview), pixbuf_cell, FALSE);
g_object_set (pixbuf_cell, "width", 115, "xalign", 0.5, "yalign", 0.5, NULL);
gtk_cell_layout_set_attributes (
Hi ,
Is there any way to restrict item width in GtkIconView.
I tried gtk_icon_view_set_item_width () but it is not working as
expected.
I am using iconview to display images.
Suppose image width is 100 and i set item width to 70 than it is not
restricting item width to 70 it takes value suitable
I am building a Gtk Desktop Environment.
And i figured i would use GtkIconView as the bases for my desktop so i could
have desktop icons,
rubber band selection, right click menu, desktop background color and
desktop wallpaper, and then
i would use eather gdk or xlib to set the desktop as the root
Hello,
I'm experimenting with IconView and have a question:
Is there a "hover" signal? I would like to provide a tooltip that pops
up when the user places the mouse on top of the icon to provide
details on the item under the mouse cursor.
Thanks!
-Marco
_
Hello!
I think I found a bug and want to make sure it is not in my code (FAQ).
This is SIGSEGV in GtkIconView, recreated on all GTK versions I found:
libgtk2.0-0=2.8.20-3, libgtk2.0-0=2.10.7-1 on Debian and even
gtk+-2.8.20.zip for Windows.
It crashes when I select icons with rubberband while
hi, why gtk_icon_view_set_row_spacing and gtk_icon_view_set_column_spacing are
disable of my application.
there is not any change before and after i use these two APIs.
GtkIconView *icon_view = gtk_icon_view_new ();
gtk_icon_view_set_columns (icon_view, 3);
gtk_icon_view_set_margin
Hi All,
Is there a way to get the focus on :
1. Tabs of GtkNoteBook,
2. Focus on First icon in the GtkIconView
As soon as the Gtk application Launch.
I am facing this problem as iconview and notebook accept focus by
themselves. I am able to focus on tabs or the icons only after the first key
I can't find a way to center align the text in a GtkIconView.
You can see problem only when the label take 2 line, because
the second line start at the beginning of the first.
Someone can help?
Thanks
DaveMDS
___
gtk-app-devel-list mailing lis
On Fri, Jun 02, 2006 at 03:06:30PM +, [EMAIL PROTECTED] wrote:
> Answering to my own question (again):
[...]
> So the answer seems to be "yes, but only if you do all by hand".
Not that bad after all. Just enable the icon view's model as source and
destination. Make sure "GTK_TREE_MODEL_ROW" is
Answering to my own question:
On Thu, Jun 01, 2006 at 05:17:01PM +, [EMAIL PROTECTED] wrote:
> Hi, GTK gurus
[...]
> My problem is that I can't manage to keep the thing reorderable *and*
> accept drops from other apps. Here are the relevant lines:
[...]
> Can I have both?
Having had a look at
Hi, GTK gurus
this is driving me nuts. I am trying to set up an GtkIconView (with a
GtkListStore as data model), pretty standard stuff, gathered from
tutorials here and there.
My problem is that I can't manage to keep the thing reorderable *and*
accept drops from other apps. Here ar
ccomplished by two levels of tables before.
>
> I have the text orientation right, but the orginization of the icons is
> still wrong - I want it to loop the same as a standard listing view, with
> the 16px icons, and the sorting first in columns, and then in rows (unlike
> the usual ic
t, but the orginization of the icons is
still wrong - I want it to loop the same as a standard listing view, with
the 16px icons, and the sorting first in columns, and then in rows (unlike
the usual icon view).
Is the gtkIconView currently capable of this (in 2.6.x)?
Hi
I know this is not a glade mail list but I am sure most of you can
answer my question
When gtkIconView will be available in Glade ? I can't find it in glade
when I try to create any program
--
Best Regards,
-*- If Linux doesn't have the solution, you have
Hi Dave,
> I can't make drag and drop work on my GtkIconView widget.
Currently GtkIconView doesn't support DND. It will only be available
in gtk-2.8. The following bug report may be of interest to you
(Probably you can try the patch given there).
http://bugzilla.gnome.org/show_bug.
I can't make drag and drop work on my GtkIconView widget.
What is the right way to use dnd on iconview?
I can make the entire widget drag dest with the function
gtk_drag_dest_set (...);
but I don't understand how to make each icon (or better the current
selection)
a drag source. I have
Hi,
>
> maximum_layout_width = MAX (item_width, item->pixbuf_width);
>
> ...
>
> item->width = MAX (item->layout_width + padding, item->pixbuf_width);
>
> Maybe we miss a maxmium_layout_width -= padding there.
>
> Matthias
>
I have just tried your solution and it works fine. I have includ
On Sat, 2005-03-12 at 13:57 +0530, Santhosh wrote:
> Dave,
>
> > http://martini.gurumeditation.it/gtkiconview_problem.jpg)
>
> This problem will not arise if you use GTK_ORIENTATION_HORIZONTAL (but
> this is not a good solution..)
> It is a known problem with GtkIcon
Thanks... this is the screenshoots:
http://martini.gurumeditation.it/gtkiconview_problem.jpg
(the image are available at
http://martini.gurumeditation.it/gtkiconview_problem.jpg)
How can you see some icon (like Duel) take 2 much space...I can't find why.
This is the code i used:
//init
icon_view
Dave,
> http://martini.gurumeditation.it/gtkiconview_problem.jpg)
This problem will not arise if you use GTK_ORIENTATION_HORIZONTAL (but
this is not a good solution..)
It is a known problem with GtkIconView. I had filed a bug regarding
this problem during gtk-2.5 development releases and It
ecente documentation on this widget...
Why don't you try http://eccvs.sourceforge.net This project uses
GtkIconView widget...
Include sample source code so that we can get what you are asking for...
Santhosh.
___
gtk-app-devel-list mailing list
I all,
I have a problem with GtkIconView:
when I try to set the width of the icons with:
gtk_icon_view_set_item_width(icon_view,128);
the placement of the icon become strange.
If I don't touch the width all the icon are at the correct position, but if
I try to enlarge some icon take 2 or more
38 matches
Mail list logo