[Gtk-sharp-list] Two hopefully simple questions

David Philippi listen at torangan.de
Mon Apr 23 18:05:40 EDT 2007


Am Samstag 21 April 2007 schrieb Adam Williams:
> what you are getting at.   If you have an Entry that should only be of a
> certain length try setting the WidthChars property.

That did the trick, thanks.

> You capture the button press event,  and specify "GLib.ConnectBefore" on
> the event handler -
>
> /* @brief Handle click events on the tree views */
> [GLib.ConnectBefore]
> protected void OnButonPressEvent(
>   object sender,
>   ButtonPressEventArgs args)
> {
> ...
> }
>
> You can get what was clicked from the TreeIter;  this was discussed not
> to long ago on this list.
>
> http://www.nabble.com/Determining-if-a-specific-cell-in-a-TreeView-has-been
>-clicked--tf3545126.html#a9935446

I can't say that I really understand how this code should work and how I'd 
implement it. But I'll try to do some research and find it out. At least I 
know from this that there IS a solution so I should be able to find it. ;-)

Bye David


More information about the Gtk-sharp-list mailing list