Getting X error on reordering columns in TreeView

2013-10-21 Thread Jeffrey Barish
break on the gdk_x_error() function.) Any idea what's wrong? GTK version 2.24.10 on Ubuntu 12.04. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Drag from TreeView to non-TreeView

2009-04-26 Thread Jeffrey Barish
Is it possible to drag from a TreeView to a widget that is not a TreeView? In my case, I am trying to drag to an EventBox. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Popup window for alert

2009-03-18 Thread Jeffrey Barish
line on its border (even when I set decorate). A WINDOW_TOPLEVEL is almost right, but I would prefer that the destroy button and the window menu button not appear -- not to mention the title bar at the top. Is there a way to make any of these things disappear? -- Jeffrey Barish

Re: Popup window for alert

2009-03-18 Thread Jeffrey Barish
John Coppens wrote: On Wed, 18 Mar 2009 16:55:35 -0600 Jeffrey Barish jeff_bar...@earthlink.net wrote: I would like a popup window with a black line on its border in which I can put a label to alert the user to a failure condition. A Dialog doesn't work because the appearance

Re: GTK warning

2009-02-22 Thread Jeffrey Barish
. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK warning

2009-02-21 Thread Jeffrey Barish
Dov Grobgeld wrote: 2009/2/21 Jeffrey Barish jeff_bar...@earthlink.net I hate the warning messages that GTK provides because they rarely help me find the problem. What does this one mean? /myprogram.py:118: Warning: g_object_unref: assertion `object-ref_count 0' failed self['myimage

Tooltips blown away by ProgressBar

2009-02-17 Thread Jeffrey Barish
When I hover over any of a number of widgets in my application, a tooltip appears. However, as soon as a progressbar updates, the tooltip disappears. Is there a way to get the tooltips to stick around the way they do when there is no progressbar update? -- Jeffrey Barish

Column separator line in Ubuntu 8.10

2009-01-25 Thread Jeffrey Barish
After upgrading to Ubuntu 8.10, treeviews have a dashed vertical line between columns. Anyone know how to turn it off? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app

FileSelection widget and DnD

2008-12-11 Thread Jeffrey Barish
Does the FileSelection widget support DnD? I would like to use the FileSelection widget to select a folder and then drag filenames to the icon for that folder to cause the files to be written to the selected folder. -- Jeffrey Barish ___ gtk-app-devel

Handler disconnect vs. block

2008-11-17 Thread Jeffrey Barish
whether the handler is currently blocked. disconnect/connect offers the handler_is_connected query. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Focus chain ineffectual

2008-10-15 Thread Jeffrey Barish
these are)? Is there a different explanation? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Composite children

2008-09-29 Thread Jeffrey Barish
that get_children returns the container's non-internal children. Is this a bug, or is there something else I'm supposed to do to prevent a child from showing up as a child? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list

Re: Getting GtkCellRenderer's

2008-09-09 Thread Jeffrey Barish
dhk wrote: How do you get a GtkCellRenderer from a treeview or a GtkTreeViewColumn? Thanks, Dave gtk_tree_view_column_get_cell_renderers ()? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Drag'n'drop problems

2008-09-08 Thread Jeffrey Barish
://scentric.net/tutorial/sec-dnd.html#sec-dnd-selected-item-info There is also some good information in: http://www.pygtk.org/pygtk2tutorial/sec-TreeViewDragAndDrop.html but you have to be able to read Python. -- Jeffrey Barish ___ gtk-app-devel-list mailing

Re: Drag'n'drop problems

2008-09-08 Thread Jeffrey Barish
John Coppens wrote: Thanks, Jeffrey, but: On Mon, 08 Sep 2008 08:19:42 -0600 Jeffrey Barish [EMAIL PROTECTED] wrote: The first argument only has to match the first argument of the source. This does not seem to be true. If I replace {GTK_TREE_MODEL_ROW, GTK_TARGET_SAME_APP, 0

Re: Default icon in treeview DnD

2008-08-27 Thread Jeffrey Barish
Kristian Rietveld wrote: 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

Default icon in treeview DnD

2008-08-26 Thread Jeffrey Barish
a page of text with the top right corner dog-eared. I'm not aware of making any changes to the code that would account for the change in appearance. Any suggestion how to get back the original behavior? -- Jeffrey Barish ___ gtk-app-devel-list mailing list

Re: Sort indicator disappeared

2008-08-19 Thread Jeffrey Barish
Chris Vine wrote: On Wed, 13 Aug 2008 16:48:36 -0600 Jeffrey Barish [EMAIL PROTECTED] wrote: When did the sort indicator disappear? The sort-indicator property is True, but I don't see anything. I used to. Was it lost in some upgrade? I am on Ubuntu 8.04. My libgtk is 2.12.9-3ubuntu4

CellRendererToggle with custom pixbuf?

2008-08-17 Thread Jeffrey Barish
I am using a CellRendererToggle. I would like to be able to specify pixbufs to use to draw the toggle in its two states. Basically, I want to toggle between two images in a TreeView. When I click on one image, it changes to the other. Is there an easy way to do this? -- Jeffrey Barish

Sort indicator disappeared

2008-08-13 Thread Jeffrey Barish
When did the sort indicator disappear? The sort-indicator property is True, but I don't see anything. I used to. Was it lost in some upgrade? I am on Ubuntu 8.04. My libgtk is 2.12.9-3ubuntu4. -- Jeffrey Barish ___ gtk-app-devel-list mailing list

Re: Slow treemodel loading

2008-06-17 Thread Jeffrey Barish
The solution was to perform the sort myself. The update is now nearly 20x faster. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Slow treemodel loading

2008-06-11 Thread Jeffrey Barish
that crucial detail documented anywhere. In any case, insert_with_values does not appear to be available in PyGTK, which is what I am actually using. This problem with list stores seems serious to me, so I am surprised that Gtk suffers from it. -- Jeffrey Barish

Slow treemodel loading

2008-06-07 Thread Jeffrey Barish
considering loading the liststore with only some of the data initially and the rest on idle. But first I am hoping that someone will tell me that there actually is a way to turn off sort. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel

Highlighting text with color

2008-03-30 Thread Jeffrey Barish
themes define a color to use for highlighting text. Where would I find information about the colors that are defined by themes? How would I get one of these colors from within my code? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel

Ellipsize text in Entry

2008-03-25 Thread Jeffrey Barish
Am I missing something, or is it not possible to specify that text in an Entry should be ellipsized? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Image with shadow

2008-03-25 Thread Jeffrey Barish
I would like to put a shadow behind an Image. I suppose that the way to do this is to superimpose the desired image on an image of a shadow. Does anyone know where I can find an image of a shadow? Any sample code? -- Jeffrey Barish ___ gtk-app-devel

Re: Image with shadow

2008-03-25 Thread Jeffrey Barish
Claudio Saavedra wrote: El mar, 25-03-2008 a las 16:46 -0600, Jeffrey Barish escribió: I would like to put a shadow behind an Image. I suppose that the way to do this is to superimpose the desired image on an image of a shadow. Does anyone know where I can find an image of a shadow? Any

Re: Image with shadow

2008-03-25 Thread Jeffrey Barish
Jeffrey Barish wrote: In the meantime, I found an image of a shadow surrounding a black region. I am attempting to use Pixbuf composite to superimpose my image on the black region.  My attempt almost works, but the source image gets smeared to the edge of the shadow (the destination

TreeView indent-expanders style property

2008-03-24 Thread Jeffrey Barish
is to avoid wasting space on lines that don't require an expander arrow. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Order of children in Box

2008-02-25 Thread Jeffrey Barish
it has a function for reordering a child to position i. If foreach and get_children do not preserve the order on retrieval, what does? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Order of children in Box

2008-02-22 Thread Jeffrey Barish
If I do foreach on a Box, will the order in which the children are retrieved correspond to the order in which they were packed? How about get_children? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Treeview column width changed signal

2008-02-13 Thread Jeffrey Barish
the flag). This solution works almost perfectly, but I do get a spurious write when I first select a row. I hope that someone will be able to glean something useful from this thread so that it can now rest in peace. -- Jeffrey Barish ___ gtk-app-devel

Re: Treeview column width changed signal

2008-02-12 Thread Jeffrey Barish
the designers of GTK also to support both. With that resolution, you would be free to continue to use the destroy signal and I would be free to use the column-width-changed signal, even if we were both doing so out of stubborn adherence to the familiar. -- Jeffrey Barish

Re: Treeview column width changed signal

2008-02-11 Thread Jeffrey Barish
considering that wxWidgets and Qt both provide it? Catching destroy/delete may serve the purpose in many cases, but it is not equivalent to a column-width-changed signal. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: Treeview column width changed signal

2008-02-09 Thread Jeffrey Barish
because I need to store the widths anyway. There is always a way to get around a limitation of a library, but I still wonder why the GTK developers are comfortable with this limitation when other GUI toolkits provide the appropriate signal. -- Jeffrey Barish

Re: Treeview column width changed signal

2008-02-08 Thread Jeffrey Barish
that this is the first time I have had to design around a deficiency in GTK. That's pretty good. I'm still impressed with this toolkit even as I plead for a small enhancement. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list

Scrolling in ComboBox popup

2007-12-06 Thread Jeffrey Barish
not to use scrollbars? Can I force the first item to appear so that the scrollbars disappear? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

ComboBox and set_cell_data_func

2007-12-06 Thread Jeffrey Barish
calls set_cell_data_func twice? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Contents of VBox don't draw after putting it in Viewport

2007-12-02 Thread Jeffrey Barish
greatly appreciated. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Contents of VBox don't draw after putting it in Viewport

2007-12-02 Thread Jeffrey Barish
realized, but because they are not being sized. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Contents of VBox don't draw after putting it in Viewport

2007-12-02 Thread Jeffrey Barish
Jeffrey Barish wrote: I tried catching the realize and size-allocate signals.  When the widgets are realized, their allocation is (-1, -1, 1, 1).  They never get a size-allocate signal. When I add the vbox to the notebook directly, their allocation is the same when they are realized

Selecting words in textbuffer

2007-11-13 Thread Jeffrey Barish
hook text-selected rather than button-release, a signal that does not seem to exist. Did I miss it? Is there a different better solution? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Re: Spontaneous background colors in treeview

2007-10-25 Thread Jeffrey Barish
annoyed that the sort indicator disappears from my GUI when I present data that requires only 2 columns. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Spontaneous background colors in treeview

2007-10-11 Thread Jeffrey Barish
Andrew Cowie wrote: On Wed, 2007-10-10 at 19:45 -0600, Jeffrey Barish wrote: I believe that the manual is wrong when it says that an arrow appears. One most certainly does appear when you click on the header to sort. Do you have gtk_tree_view_column_set_headers_visible() set to true

Re: Treeview column width changed signal

2007-10-10 Thread Jeffrey Barish
on capturing the column widths at every point where the tree view can be destroyed. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Spontaneous background colors in treeview

2007-10-10 Thread Jeffrey Barish
, so setting the sort indicator on all columns results in what looks like a colored background. I suspect that I am supposed to set the sort indicator manually on the appropriate column (and only that column) whenever I switch sort column. -- Jeffrey Barish

Re: Spontaneous background colors in treeview

2007-10-03 Thread Jeffrey Barish
Kristian Rietveld wrote: 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

Re: Spontaneous background colors in treeview

2007-10-01 Thread Jeffrey Barish
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 get the colored background for any data set. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app

Spontaneous background colors in treeview

2007-09-30 Thread Jeffrey Barish
find that modify_bg on the treeview does nothing (although modify_text works). -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Treeview column width changed signal

2007-09-25 Thread Jeffrey Barish
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 TreeViewColumn is clicked, which doesn't seem to do what I need. -- Jeffrey

widget_push_composite_child

2007-03-19 Thread Jeffrey Barish
internal children.  Are they the same as composite children? Also, the Container class has a method get_children() which returns a list of all non-internal children.  What is the method for obtaining a list of internal children? -- Jeffrey Barish ___ gtk-app

Fixing size of window containing 2 buttons

2007-03-07 Thread Jeffrey Barish
(and seems to do nothing). What am I missing? -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list