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
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
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
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
.
--
Jeffrey Barish
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
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
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
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
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
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
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
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
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
://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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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
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
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
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
(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
52 matches
Mail list logo