[Gtk-sharp-list] 4 small and bigger gtk problems

Ben Motmans Ben Motmans <ben.motmans@gmail.com>
Thu, 3 Feb 2005 11:48:00 +0100


from monodoc:

Gtk.Toolbar.ShowArrow Property
Whether to show an arrow if the toolbar doesn't fit.

public bool ShowArrow { set; get; }
Returns
    a System.Boolean


On Thu, 3 Feb 2005 02:30:39 +0100 (MET), Thomas Zuehlke
<muell_muell_@gmx.net> wrote:
> Hi,
>=20
> > 1) toolbar.ShowArrow =3D true;
> > this will show an arrow if the toolbar doesn't fit
>=20
> There is no property like ShowArrow. It doesn't exist :-(
> But there is a class called Gtk.Arrow. Should i use this and link it to t=
he
> toolbar???
>=20
> > 2) w.SetSizeRequest(100, 100);
> > w.SetDefaultSize(700, 500);
>=20
> Thanks, works great!
>=20
> > 4) no idea
>=20
> I have solved this problem by myself. The widgets (and every button to) h=
ave
> a function named TranslateCoordinates and with it, i can get the correct
> position of the buttons.
> ("myButton.TranslateCoordinates(myGtkFixed, 0, 0, out x, out y)")
>=20
> >
> > On Wed, 02 Feb 2005 14:50:44 +0100, Thomas Z=FChlke <muell_muell_@gmx.n=
et>
> > wrote:
> > > Hi *,
> > >
> > > the first problem ist, that my window contains a toolbar (it's
> > > vertical), but if there are too many buttons in the toolbar, i can no=
t
> > > see the last ones. is it possible to make the toolbar scrollable or
> > > something like that?
> > >
> > > The second problem ist, that the main part of my window is a Gtk.Fixe=
d.
> > > And if the window starts and i do not set "...SetSizeRequest(700, 500=
);"
> > > the window is realy small. But if i set the SetSizeRequest it can not=
 be
> > > make smaler by the user. i want the size of 700x500 at startup and th=
en
> > > should the user be able to make the window smaler (not only bigger).
> > >
> > > The third problem ist, that i have a drawingarea and i need a
> > > doubleclick event on it. there is no problem with one button click
> > > (simple using ButtonPressEvent...), but i can't finde anything like
> > > DoubleClick.
> > >
> > > the last and important problem ist, that i have placed widgets on my
> > > Gtk.Fixed. This widget is a HBox, with contains a VBox (with some
> > > Buttons on the left side), a DrawingArea (in the middle) and another
> > > VBox (also with some buttons on the rigth side). now i need the posit=
ion
> > > of the buttons in the Gtk.Fixed. But the Gtk.Fixed only tells me the
> > > position of the whole widget with "GetPointer" and if i try "GetPoint=
er"
> > > of the VBox, i only get a -1 and -1.
> > >
> > > thanks
> > > thomas
> > >
> > > _______________________________________________
> > > Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> > >
> > _______________________________________________
> > Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> >
>=20
> --
> GMX im TV ... Die Gedanken sind frei ... Schon gesehen?
> Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>