On Fri, Jul 22, 2011 at 8:40 PM, Denis Washington den...@online.de wrote:
However, this doesn't work. Removing the if conditional and printing out
gtk_tree_selection_get_selected (selection, NULL, NULL) right after
select_iter reveals that only the root element can be selected this way
On Aug 9, 2010, at 1:39 PM, John Emmas wrote:
I'm using a Mac Mini with OS-X 10.6.3. Graphics are provided by the onboard
NVidia chip which is a GeForce 9400.
That's certainly pretty recent.
This particular app is the only GTK application that I've ever run on my Mac.
It's an application
On Aug 8, 2010, at 9:32 PM, John Emmas wrote:
On 1 Aug 2010, at 21:49, Kristian Rietveld wrote:
GTK+ OSX does all drawing using CoreGraphics, this should be
hardware-accelerated whenever possible.
From what I've been able to tell, CoreGraphics eventually ends up using
QuartzGL
On Jul 28, 2010, at 9:15 AM, John Emmas wrote:
This morning I've come across this mailing list which has got me confused:-
http://sourceforge.net/mailarchive/forum.php?forum_name=gtk-osx-users
My understanding is that this mailing list is for discussion of gtk+ on osx as
well as certain
On Jul 27, 2010, at 10:49 AM, John Emmas wrote:
Under Windows and Linux the (2D) scrolling display is smooth. But under OS-X
it's horribly jerky and has a very 'klunky' look to it. I happen to be
viewing it on a Mac Mini but other people have seen the same effect with more
powerful
On Thu, Jan 7, 2010 at 1:24 PM, Amol Kulkarni amolgkulka...@gmail.com wrote:
Is it possible to add GtkTreeView inside VBox and then add that VBox to
ScrolledWindow using gtk_scrolled_window_add_with_viewport(sw,vbox).
Is this expected/supported use case or am i doing something wrong here?
On Wed, Dec 2, 2009 at 10:52 PM, Alex Ignácio da Silva
a...@ignacioalex.com wrote:
It seems like the recent GTK 2.18 implementation of table widgets draws
a dotted line separating the table columns, as I noticed when trying my
application in Ubuntu Karmic. Unfortunately this makes my widget
On Thu, Dec 3, 2009 at 12:38 AM, Michael Cronenworth m...@cchtml.com wrote:
It isn't working for me though. Something is missing.
It does not work because enable-grid-lines is not a style property.
regards,
-kris.
___
gtk-app-devel-list mailing list
On Thu, Dec 3, 2009 at 12:22 AM, Alex Ignácio da Silva
a...@ignacioalex.com wrote:
Unfortunately from the Java side I have no easy access to the underlying
GTK implementation widgets, only to the wrapper SWT objects.
Isn't there a way to change this behavior via an environment variable or
On Wed, Nov 4, 2009 at 12:42 PM, dhk dhk...@optonline.net wrote:
In the gtk-demo program has a block as follows in the Tree View/Tree
Store example. This doesn't initialize the the child iter before using
it in the gtk_tree_store_append(), but the stamp is valid.
Iterators are not valid until
Hi,
On Wed, Sep 30, 2009 at 6:52 AM, Diogo Baeder diogobae...@gmail.com wrote:
I was using my Ubuntu Jaunty, here, and noticed something that could be
usefull, that Windows (argh!) GUI already has: auto-resize on table
headings. In a Windows XP system, when a user double-clicks at the table
Also note that for *lists* (so no parent nodes, no children) a call
like gtk_tree_model_iter_n_children (model, NULL) will suffice.
-kris.
On Thu, Sep 24, 2009 at 1:32 PM, Tadej Borovšak tadeb...@gmail.com wrote:
Hello.
Is there a function to give the number of rows in a treeview?
You
On Wed, Sep 16, 2009 at 10:56 PM, Daniel Leidert
daniel.leidert.s...@gmx.net wrote:
Doh! Attached.
The program in the attachment tries to set the cursor on a path that
does not exist in the tree view. This path does not exist in the
view, because the view is not connected to a model. Because
On Fri, Sep 18, 2009 at 6:22 PM, Daniel Leidert
daniel.leidert.s...@gmx.net wrote:
Thanks for your hints. Yes, the code was incomplete. But I think the
attached code should work. It still returns:
(unknown:20960): Gtk-CRITICAL **: gtk_tree_path_to_string: assertion
`path != NULL' failed
2009/9/14 Daniel Leidert daniel.leidert.s...@gmx.net:
In Debian the test suite of perl-gtk2 failed [1]. Examining the
situation a bit further it seems, that even after setting a cursor, the
reurned path from gtk_tree_view_get_cursor() is NULL. I tried to write s
short program to reproduce this
Hello,
On Wed, Aug 12, 2009 at 2:32 AM, Grumpy
Buffalogrumpybuffalo+...@gmail.com wrote:
Hi, I am working on a C++ GTK project. I have a GtkTreeView containing
several columns. In the first column, I have packed in 3 cell
renderers - the first, a GtkCellRendererToggle; the second, a
Hi,
On Sun, Jul 26, 2009 at 8:22 PM, Thomas Stovertho...@wsinnovations.com wrote:
While working on a custom tree model (thanks to Tim-Philipp Müller for the
tutorial), I needed more pointers in my iter structure than the user_data,
user_data2, and user_data3. So I defined a new structure and
On Wed, Jun 10, 2009 at 10:29 AM, Bernd Demianbernd.dem...@csc-dd.de wrote:
hi,
I have a question to select/unselect in gtk_tree_view since gtk+-2.14.0.
In version 2.12 I select a child in tree_view with mouse button 1 and
whith they key Cntl and mouse button 1 I deselect the child row. Since
On Sat, May 30, 2009 at 5:22 AM, Andreas Ronnquist
andreas.ronnqu...@meritkonsult.se wrote:
I have a problem with a GtkTreeView - Multiple row selection is turned
on, and so is dragging. The problem is that when selecting several rows
via holding the CTRL key - and then when starting the
On Mon, May 11, 2009 at 6:55 PM, Gregory Hosler ghos...@redhat.com wrote:
The problem I'm facing is getting the GtkTooltip of a cell of the
GtkTreeStore.
You should keep in mind that tooltips operate on GtkWidgets; a
GtkTreeStore is not a widget. Instead you use the widget GtkTreeView
which
On Sun, May 3, 2009 at 10:27 PM, Rodrigo Miguel rodrm...@gmail.com wrote:
Anyway, I think the same can be achieved by using custom models and I found
really good examples in gconf-editor, gnucash and the Gtk Treeview tutorial
from Tim-Philip, so I decide write a generic custom model like Win32
Hi,
On Tue, Sep 16, 2008 at 3:48 PM, Sam Thursfield [EMAIL PROTECTED] wrote:
It seems as though the first thing GtkTreeView does on receiving the
model is to iterate through every root node, calling iter_has_child
and iter_next for each until iter_next returns FALSE. This then leads
to my
On Mon, Sep 8, 2008 at 8:31 PM, John Coppens [EMAIL PROTECTED] wrote:
On Mon, 08 Sep 2008 11:03:39 -0600
Jeffrey Barish [EMAIL PROTECTED] wrote:
I was going to tell you that you are crazy, but when I tried putting
GTK_TREE_MODEL_ROW in my program in place of the arbitrary string that I
was
Hi,
On Mon, Sep 8, 2008 at 10:49 PM, John Coppens [EMAIL PROTECTED] wrote:
Yes, that is what I found out. Most implementations seem to use the lower
level interface. Is GTK_TREE_MODEL_ROW the only string that is
interpreted as special? Or does any of the frequently used ones, like
'STRING'
On Thu, Aug 28, 2008 at 3:53 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Sorry, I forgot to mention: I was trying this solution for a
long time now -- but it is somehow buggy (try adding and
removing lines and try setting the adjustments by code -
at some point the widgets are not displayed
On Wed, Aug 27, 2008 at 6:55 PM, Jeffrey Barish
[EMAIL PROTECTED] wrote:
On Tue, Aug 26, 2008 at 10:55 PM, Jeffrey Barish
[EMAIL PROTECTED] wrote:
Did you override the drag-begin signal or stop using
gtk_tree_view_enable_model_drag_source()? These are both possible
causes for not getting an
(Apologies for such a late reply, I hope it is still of use).
On Fri, Aug 1, 2008 at 11:37 AM, Nicolas Soubeiran
[EMAIL PROTECTED] wrote:
Hi all,
I need to create a treeview with a column which displays a pixbuf that
becomes bigger when the user hovers the row. So I create a cellrenderer
On Sun, Aug 31, 2008 at 2:08 PM, dhk [EMAIL PROTECTED] wrote:
I have two callback functions. The first for when a cell in a treeview
gets edited and the second for when the tab key is pressed. The first works
fine. In the second, I want to emit the edited signal so it acts as if
the first
On Thu, Aug 28, 2008 at 9:12 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
hi,
I've read that a treeview has the scolling ability built-in.
Does that include an easy way to display scrollbars, too?
Or is it necessary to create scrollbars and adjustments and
connect all events separately?
On Tue, Aug 26, 2008 at 10:55 PM, Jeffrey Barish
[EMAIL PROTECTED] wrote:
Until this morning, whenever I dragged a row to a new location in the same
treeview, the drag icon would look like the original row. I still get that
icon when I drag from another treeview to the one in question. Is
On Wed, Jun 04, 2008 at 03:26:33PM -0400, Eric Pastoor wrote:
I'm calling the function on the signal connected to row-expand.
That's probably one of the problems, since at that point the exact
heights and locations aren't known yet (these are calculated in an
idle). You might want to use an
On Wed, Jun 04, 2008 at 02:26:55PM -0400, Eric Pastoor wrote:
And I expand on Root so that it looks like
Root
-- Sub Tree A
-- Sub Tree B
-- Sub Tree C
The result of that get_visible_range function is start:0 end: 0
I get 0 to 0:2 in such cases, which is the correct value.
On Thu, May 08, 2008 at 11:01:44AM +0100, David Conley (FRD) wrote:
Is anyone aware of a function I can call to make a check button disabled.
By disabled I mean it can not be clicked though the value of the checkbox
itself could be on or off.
Is gtk_widget_set_sensitive() what you are
Hi,
On Wed, Apr 30, 2008 at 08:35:42AM -0700, Eric Pastoor wrote:
I am trying to figure how to recursively expand all from the current
selection in a gtk tree.
I know the function gtk_tree_view_expand_all(GtkTreeView*) will expand the
entire tree. However, I have set up a right click menu
Hi,
Apologies for the late reply, have been very busy lately. Comments
inline.
On Fri, Apr 04, 2008 at 08:07:42PM +0100, Carlos Pereira wrote:
1) In GtkTreeview with GtkListStore, show always the first item as default,
when
On Mon, Mar 24, 2008 at 03:50:29PM -0600, Jeffrey Barish wrote:
Does anyone know what the indent-expanders style property does?
Can I use indent-expanders to achieve this effect? Is there a way to
achieve it? The point is to avoid wasting space on lines that don't
require an expander
Hi,
On Fri, Feb 08, 2008 at 02:28:16PM +0100, Thomas Dybdahl Ahle wrote:
Is there any way to select only a cell - not a row - in a gtk-treeview
No, GtkTreeView does not support selecting individual cells. Selections
can only contain full rows.
regards,
-kris.
Hello,
On Sat, Dec 15, 2007 at 12:03:22PM +0100, Romain Li?vin wrote:
I'm working on a debugger
(http://www.lievin.net/downloads/lpg/vti_dock.png). As you can see,
there is a lot of space between each line of the left upper frame.
How can I decrease space between lines or value of padding
On Thu, Oct 25, 2007 at 10:43:52AM -0600, Jeffrey Barish wrote:
Kristian Rietveld wrote:
When you sort a column in a tree view with = 3
columns, the sorted column is drawn with a background that is slightly
darker than the default background (in the default theme it is a shade
of grey
On Wed, Oct 10, 2007 at 07:38:22PM -0300, Mat??as Alejandro Torres wrote:
- I have to create a new GtkTreeModelSort everytime the child model is
modified? or it gets resorted automatically? Example:
fiter = self.sortedModel.convert_iter_to_child_iter (None, siter)
miter =
Hi,
On Thu, Oct 04, 2007 at 05:53:23PM +0200, [EMAIL PROTECTED] wrote:
(when opening the tab)
barcode_buttons[2561]: GLIB CRITICAL ** Gtk - gtk_tree_store_get_path:
assertion
`iter-user_data != NULL' failed
These usually mean that the iterator you are passing to
gtk_tree_store_get_path() is
Hi,
On Sun, Oct 07, 2007 at 12:35:01PM +0200, Bastiaan Veelo wrote:
I am a style newbie. I want some of the buttons in my widget to look
like the column title buttons in a treeview. How do I do that?
As far as I know themes style the buttons in the column headers of
GtkTreeView by using a
On Mon, Oct 08, 2007 at 03:53:29PM +0200, Bastiaan Veelo wrote:
Something like this seems to work for me:
button = gtk_button_new_with_label (...);
style = gtk_rc_get_style_by_paths (gtk_widget_get_settings (button),
*.GtkTreeView.GtkButton,
Hi,
On Mon, Oct 01, 2007 at 11:30:58AM -0600, Jeffrey Barish wrote:
Stop presses. It's the number of columns. All data sets that require 3
columns have a background. All data sets that require 2 columns do not.
Here it is. If I comment out the line that sets the sort indicator, I do
not
Hi,
On Tue, Oct 02, 2007 at 06:29:31PM -0500, Rob Hoelz wrote:
ScrolledWindow to compensate. I've tried scroll_to_cell, but to no
avail. Any hints? I've posted the source code at
http://cs.wisc.edu/~hoelz/TodoList.pl; the problem is in the callback
at line 157.
Both GtkTreeView and
On Sun, Sep 30, 2007 at 11:08:05AM -0600, Jeffrey Barish wrote:
After making some changes to my program (not directly related to the GUI), I
find that one treeview has a background of alternating light and dark
bands, but only for certain data sets. I never set the background in my
code, so I
On Tue, Sep 25, 2007 at 05:45:51PM -0600, Jeffrey Barish wrote:
Is there a way to be notified when the width of a column in a treeview
changes? I would like to record the new column widths so that I can set
them to the same values the next time the window opens. The only signal in
On Fri, Sep 28, 2007 at 11:49:50PM -0300, Mat??as Alejandro Torres wrote:
Is someone implementing this interface in the GtkTreeModelFilter? I've
checked in Gtk 2.12 docs and I THINK this isn't implemented yet. If
somemone can confirm this, I would appreciate it.
The GtkTreeModelFilter is not
On Sat, Sep 29, 2007 at 01:14:56PM -0300, Mat??as Alejandro Torres wrote:
Thank you both for your reply.
I'm working on python, and I can't find functions to add the sortable
functions to an instance of a GtkTreeModel.
/* This one receives the model and update the GUI */
def set_model
On Fri, Sep 21, 2007 at 06:05:15PM -0400, Allin Cottrell wrote:
My expectation: the unfinished edit will still be in place.
Actual behaviour: the bottles of coke cell is as it was before I
started; my edit-in-progress is gone.
This may not be a bug as such, but I would like to know if
On Mon, Sep 24, 2007 at 06:30:36PM +0930, Kieran Clancy wrote:
In the list store I have a string field which is displayed in the
column, and a boolean field which should make the text bold or not. In
the code linked, if I set COL_BOLD to TRUE in all three rows, all of
them become bold. If any
On Sun, Sep 09, 2007 at 11:57:07PM -0400, Andrew Smith wrote:
I can do
gtk_accelerator_parse()/g_cclosure_new()/gtk_accel_group_connect() to
have a callback called when F2 is pressed but I've no idea how to tell
the callback to edit the selected cell.
You can use one of
Hi,
On Fri, Sep 07, 2007 at 05:33:37PM +0530, amol wrote:
What i am trying is to implement 'cell_class-render' and in it try to
draw this widget on parent GdkWindow through gdk_draw_drawable() but i
am not able to get GdkDrawable (GdkWindow) of widget(i.e of button) to
draw it on destination
53 matches
Mail list logo