[Gtk-sharp-list] Gtk.Label : Text Direction
Jeroen Zwartepoorte
jeroen.zwartepoorte at gmail.com
Thu Aug 4 10:45:56 EDT 2005
First, lookup which API changes the text direction in gtk+.
http://developer.gnome.org/doc/API/2.0/gtk/GtkLabel.html#gtk-label-set-angle
seems to be want you want. After that, look at the Gtk# version that
maps gtk+-2.6. There's probably a property on Gtk.Label called Angle
for this.
HTH,
Jeroen
On 8/4/05, xiii29 at free.fr <xiii29 at free.fr> wrote:
> Ok ...
>
> But you talk about the c version but what about GtkSharp ? Does it ?
>
> I was more looking in Gtk# demo but gone trye Gtk+ Demo !
>
> Thanks !
>
>
> Selon Jeroen Zwartepoorte <jeroen.zwartepoorte at gmail.com>:
>
> > Sure it does; you need a recent Gtk+ version though (don't know/can't
> > lookup which exact version though). Perhaps Gtk+ 2.6, but i'm not
> > sure. See this for proof:
> > http://www.gnome.org/~davyd/gnome-2-12/images/panel-sideways.png.
> >
> > I'd suggest looking at gtk-demo or some test*.c programs in the gtk+ source.
> >
> > Jeroen
> >
> > On 8/4/05, Dan Winship <danw at novell.com> wrote:
> > > On Wed, 2005-08-03 at 23:12 +0200, xiii29 wrote:
> > > > Hi,
> > > >
> > > > I'm wondering how can I set the change the direction of a text label ...
> > > > I would to be top to bottom :
> > >
> > > GTK doesn't support writing vertically. All you can do is add newlines
> > > after each character.
> > >
> > > -- Dan
> > >
> > >
> > > _______________________________________________
> > > Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> > >
> >
>
>
>
More information about the Gtk-sharp-list
mailing list