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

Thomas Zuehlke muell_muell_@gmx.net
Thu, 3 Feb 2005 16:47:36 +0100 (MET)


Hi Ben,

i find the Problem. In Mono-Doc:

"public bool ShowArrow { set; get; } 
Whether to show an arrow if the toolbar doesn't fit.
Mono Implementation Note: 
This member has not been implemented."

It is not implemented! Have somebody any other solution?

Thanks
Thomas

> >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,
> > 
> > > 1) toolbar.ShowArrow = true;
> > > this will show an arrow if the toolbar doesn't fit
> > 
> > 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
> the
> > toolbar???
> > 
> > > 2) w.SetSizeRequest(100, 100);
> > > w.SetDefaultSize(700, 500);
> > 
> > Thanks, works great!
> > 
> > > 4) no idea
> > 
> > I have solved this problem by myself. The widgets (and every button to)
> have
> > 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)")
> > 
> > >
> > > On Wed, 02 Feb 2005 14:50:44 +0100, Thomas Zühlke
> <muell_muell_@gmx.net>
> > > 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
> not
> > > > 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.Fixed.
> > > > 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
> then
> > > > 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
> position
> > > > 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
> "GetPointer"
> > > > 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
> > >
> > 
> > --
> > 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
> >
> 

-- 
DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen!
AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl