Re: [gtk-list] Re: Question
- From: KC5TJA <kc5tja topaz axisinternet com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Question
- Date: Fri, 14 Aug 1998 13:02:43 -0700 (PDT)
On Fri, 14 Aug 1998, Kevin Handy wrote:
> Couldn't you just use buttons with images for your icons, and
> pack them into a box? This lets you easily attach an operation
> to clicking on the image, if you are trying for some kind of
> button bar. Or are you trying for something different here?
I'm trying for something vastly different, but I never thought of using
buttons. There *may* be a way to do this.
To use buttons, though, I'd need to figure out:
1) How to turn OFF the borders of the button -- that is, I want no
embellishments.
2) How to drag and drop the entire button around the window.
Since I don't foresee any of these things happening, I thought a
DrawingArea would be best, since I have (nearly) complete control over
what goes on inside of it. Alternatively, I suppose I could use
EventBoxes which contains labels and pixmaps, right? Like so (WARNING:
horribly malformed Booch class diagram follows!):
[IconView] <>----> [GtkWindow]
| | <>
| | +--------> [GtkMenu]
| V
| [IconIterator]
V
*
[Icon]
<> <>---> [GtkEventBox] --------+
| |
+-------> [GtkLabel] <-------+
| |
`-------> [GtkPixMap] <-------+
(ASCII makes horrible Booch diagrams, not that I'm that good at using them
anyway; please forgive me if mangle it badly!)
==========================================================================
KC5TJA/6 | -| TEAM DOLPHIN |-
DM13 | Samuel A. Falvo II
QRP-L #1447 | http://www.dolphin.openprojects.net
Oceanside, CA |......................................................
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]