Re: broken button



Or you could create a new widget which reacts in different ways
depending on where the it is clicked on.
This way you also could define its appearance.

Or else, if if the info data is not too big, you could implement it
using a tooltip object.

Jody


On Tue, May 27, 2008 at 9:06 AM, Karl Schmitt
<karlschmitt1969 googlemail com> wrote:
> Hi,
>
> I am brand new to gtk and gtkmm
> and I need to create a widget or gui component which
> more or less looks like a broken button.
> In other words this thing shall consist of  two
> buttons one big button and a small one in the lower right corner.
> The button in the lower right corner
> will be broken away from the big button to provide
> and info button for the use case of the big button.
> I know it sounds bizzare. Here comes a scatch:
>
>
> _______________________
> |                                         |
> |                                         |
> |           big                       /  |
> |          button                 /    |
> |         (use case)          /   i  | <= info segment
> |                                /        |      ( small info button )
> -------------------------------------------
>
>
> if you press the big button the main functionality will be invoked
> and if you press the smaller info corner button some general
> help data explaining the use case will be shown to the user.
> What's the best way to implement something like this with gtkmm?
>
> Thanks in advance,
> Karl
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>


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