Probably the easiest way is to pack the arrow inside a GtkButton widget,
and call the set_relief method on it to set the button relief to
RELIEF_HALF or RELIEF_NONE. Alternatively, since it is an on/off type
operation, it may be better to use the GtkToggleButton widget, and connect
a handler to the toggled signal.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Mon, 12 Jul 1999, Lars Damerow wrote:
> Hi all!
> For an application I'm making, I need to have a little arrow that the user can
> click on to make a window visible or invisible. Basically, I just want the
> GtkArrow widget to be able to emit a clicked or button_press_event signal that
> I can catch and process.
> What would be the best way to do this? I'd assume it would involve a
> GtkEventBox, but I'm unsure as to the best way to merge the widgets.
> Thanks for any help!
> -lars
>
> ___________________________________________________________
> lars damerow
> pixar animation studios
> [EMAIL PROTECTED]
>
> "I am known by many names. Son of the Dark Prince, Child of Darkness. Some
> call me the Altar Boy of Doom. Others will know me as the Second Coming of
> Damnation. My Mom calls me Pepito."
>
>
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]