Re: calling gtk_menu_popup from a button's "clicked" signal



This is the best suggestion I've ever heard as a replacement for the
horrible button menu hack.  Maybe this will keep the parent poster from
adding this hack to yet another piece of software.  

The only downside I could see is if the list is very long.  I think for
short lists, say <20 then the treelist vs the context menu works about
the same.  More than that and the context menu is better because of
scree real estate issues.  However after a certain point the treelist
would work better because long context lists are unusable.

On Mon, 2005-07-25 at 14:51, Tristan Van Berkom wrote:
Maybe you could have a GtkTreeView + GtkListStore in a scrolled window
on the same page with "Save" / "Cancel", just make sure that the
"Save" button is insensitive untill the selection in the list store
is made.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]