Hi,
Am Montag, den 02.01.2006, 22:29 +0100 schrieb Christian Iversen:
> On Monday 02 January 2006 19:18, dannym wrote:
> > Hi,
> >
> > [...]
> >
> > > > As a side note, see gtk_dialog_set_alternative_button_order for how gtk
> > > > solved that issue, by allowing two different button orders to be
> > > > specified by the designer and the "right one" being selected depending
> > > > on the operating system.
> > >
> > > Does that mean I can switch button order in my/most/some GTK apps? And
> > > how?
> >
> > What do you mean? You run it on win32, it has button order A, you run it
> > on gnome, it has button order B. There is no way for the user to
> > "select" (and no point in either) ... (though as a programmer you
> > probably could find a way by reading the gtk+ sources, subdirectory
> > "gtk/")
>
> Well, ok.
>
> I just would really like my GTK apps to use the KDE/Win32 button order on
> Linux. I don't much care for them to decide what is "right" for me.
>
it's not "them" but the "theme" ;)
from the gtk docs...
...
If you need to use this function, you should probably connect to
the ::notify:gtk-alternative-button-order signal on the GtkSettings
object associated to screen, in order to be notified if the button order
setting changes.
I deduce from that that you can put "gtk-alternative-button-order=1"
into "~/.gtkrc-2.0" if you so wish... untested though...
that said, of course the programmers actually must use the
"gtk_dialog_set_alternative_button_order" function. If they don't, file
a bug with a patch...
cheers,
Danny
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives