On Wed, 4 Jun 2008 15:36:30 +0300
"natan yellin" <[EMAIL PROTECTED]> wrote:
> The GdkWindow is created before a realize event. Still, you're right that
> this probably isn't the best way to do this.
What I ended up doing is using a modified version of my code (with some
minor modification to the
I'm calling the function on the signal connected to row-expand.
Only the smaller tree is visible to the user because the rest extends
past the viewable area of the scroll. What I mean is that the scroll
bar needs to be scrolled down to see the rows at the bottom. I'm
trying to get just the r
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 v
Thanks for the tip. I just tried that though but it doesn't seem to
show what I'm looking for
If I have a tree that starts out like:
Root
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
On Wed, Jun 04, 2008 at 11:14:13AM -0400, Eric Pastoor wrote:
> What is the best way to determine if a row of a tree is inside the
> visible part of scrolling window or not? For instance, if I hit the
> expand on a tree item, I'd like to know if a certain child in that
> tree is visible to t
Hello,
I have a button in my main window that, when clicked, pops up a modal
GtkDialog that has a non-editable GtkTextView. When this dialog is
first shown after the application launches, the computer beeps once.
If I dismiss it and click the button again, there is no beep. The key
here se
What is the best way to determine if a row of a tree is inside the
visible part of scrolling window or not? For instance, if I hit the
expand on a tree item, I'd like to know if a certain child in that
tree is visible to the user or if it outside of the scrollable
viewing area?
Eric Pasto
The GdkWindow is created before a realize event. Still, you're right that
this probably isn't the best way to do this.
On 6/3/08, Mitko Haralanov <[EMAIL PROTECTED]> wrote:
>
> On Tue, 3 Jun 2008 09:44:05 +0300
> "natan yellin" <[EMAIL PROTECTED]> wrote:
>
> > Have you tried using gobject.emit?
>
I have a treeview with a text render for a date. I wanted to be able to
pop-up a calendar and select a date and have it get set in the cell of
the treeview. I'm using the "editing-started" signal from GtkCellRenderer.
My callback function is below.
A couple of things are not clear. First, on e