Re: RFC: new features
- From: Christian Hergert <chris dronelabs com>
- To: Sergio Villar Senin <svillar igalia com>
- Cc: gtk-devel-list gnome org
- Subject: Re: RFC: new features
- Date: Wed, 18 Jan 2012 11:53:31 -0800
On Wed, 2012-01-18 at 09:49 +0100, Sergio Villar Senin wrote:
> En 13/01/12 16:04, Bastien Nocera escribiu:
> > On Thu, 2012-01-12 at 11:23 +0100, Alexander Larsson wrote:
> >> On Wed, 2012-01-11 at 20:38 -0800, Christian Hergert wrote:
> > <snip>
> >>> MENU BUTTON
> >>> A GtkButton that shows a menu when clicked (and handles positioning,
> >>> etc). Some would just use a combobox, but I find them pretty different.
> >>> You'll find this sort of "menu button" in various VMware products on
> >>> Linux. (I know the fullscreen toolbar used to have it at least).
> >>
> >> Gnome-contacts has one of these (at least in Gnome 3.2). Its not hard to
> >> do but would be nice to have in a single place. Also, it needs some help
> >> from the theme to look good, like adwaita does here:
> >> http://git.gnome.org/browse/gnome-themes-standard/commit/?id=90c4f48cf7720fb9b31e8388843a5fa6b8f3f705
> >
> > Totem has a menu button as well, look for "popup_button" in:
> > http://git.gnome.org/browse/totem/tree/browser-plugin/totem-plugin-viewer.c
>
> Epyphany hackers have also recently added the "super menu" which is a
> similar concept.
Would anyone like to propose an API for how this should be implemented
in Gtk? My assumption is just that we need a "menu" property and a menu
position func with default implementation. Anything else?
-- Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]