Re: Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread Daniel Kasak
muppet wrote: I know ( or I think I know anyway ... I haven't tried it yet ) I can do $popup->allocation to get the size of the popup. There's also get_size_request(), which will ask the widget to calculate the size it wants (which propagates to children); you can use this before the wid

Re: Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread Daniel Kasak
Elijah Newren wrote: On 9/5/05, Daniel Kasak <[EMAIL PROTECTED]> wrote: Elijah Newren wrote: I don't think this is a WM bug. The WM ( in this case, Enlightenment-0.17 ) is doing exactly what the code says - aligning the top-right of the popup with the bottom-right of the cell. The problem i

Re: Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread Elijah Newren
On 9/5/05, Daniel Kasak <[EMAIL PROTECTED]> wrote: > Elijah Newren wrote: > > I don't think this is a WM bug. The WM ( in this case, > Enlightenment-0.17 ) is doing exactly what the code says - aligning the > top-right of the popup with the bottom-right of the cell. The problem is > in the logic o

Re: Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread Daniel Kasak
Elijah Newren wrote: On 9/5/05, Daniel Kasak <[EMAIL PROTECTED]> wrote: Greetings. I'm using some code from the example folder to provide a CellRendererDate in a treeview. I've had some complaints that the calendar goes off-screen if the cell being edited is too far down the screen.

Re: Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread Elijah Newren
On 9/5/05, Daniel Kasak <[EMAIL PROTECTED]> wrote: > Greetings. > > I'm using some code from the example folder to provide a > CellRendererDate in a treeview. I've had some complaints that the > calendar goes off-screen if the cell being edited is too far down the > screen. Window manager bug, IM

Re: Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread muppet
On Sep 5, 2005, at 7:31 PM, Daniel Kasak wrote: How would I go about modifying this to detect whether the calculated y position puts part of the calendar off-screen? Simply calculate whether $y_origin + $cell_area->y + $cell_area- >height + $popup->allocation->height is greater than the ava

Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread Daniel Kasak
Greetings. I'm using some code from the example folder to provide a CellRendererDate in a treeview. I've had some complaints that the calendar goes off-screen if the cell being edited is too far down the screen. The code that positions the popup is ( from the cellrendererdate.pl example scr

Gnome2::VFS 1.040 (stable)

2005-09-05 Thread Torsten Schoenfeld
Gnome2::VFS - Perl interface to the 2.x series of the GNOME VFS library. This module allows you to interface with the GNOME Virtual File System library. It provides the means to transparently access files on all kinds of filesystems. The package is available from: http://sourceforge.net/project

Gtk2 1.100 (stable)

2005-09-05 Thread Torsten Schoenfeld
Gtk2 is a Perl extension providing Perl bindings to the 2.x series of the Gtk+ graphical user interface library. This module allows you to write graphical user interfaces in a perlish and object-oriented way, freeing you from the casting and memory management in C, yet remaining very close

Glib 1.100 (stable)

2005-09-05 Thread Torsten Schoenfeld
Glib provides Perl access to the GLib and GObject libraries. GLib is a portability and utility library; GObject provides a generic type system with inheritance and a powerful signal system. Together these libraries are used as the foundation for many of the libraries that make up the Gnome env

Gtk2::TextView Troubles

2005-09-05 Thread James Muir
First, Thanks Torsten for the suggestion to try: do { $iter->forward_visible_word_end; } until ($iter->ends_line); to get me to the last visible word. Unfortunately, this puts me into an infinite loop on the last word in the Gtk2::TextBuffer. The $iter->ends_line flag is never set to true!