Re: Why GtkFontSelectionDialog doesn't implements GtkFontSelection?

2010-06-28 Thread Tadej Borovšak
Hi.

> I was reading the documentation of the GtkFontSelectionDialog and see
> that it implements own methods to set and get the GtkFontSelection
> properties. Why it is at this way? Isn't more correct and standard use
> methods of GtkFontSelection just casting with GTK_FONT_SELECTION() the
> font selection dialog?

It may be tempting to simply cast GtkFontSelectionDialog to
GtkFontSelection since GtkFileChooserDialog and GtkFileChooser work
like this, but there is one major difference: GtkFileChooser is an
interface that widgets can implement while GtkFontSelection is real
widget, not an interface.

It is possible to get font selection widget from font selection dialog
using gtk_font_selection_dialog_get_font_selection() (one must like
that name;), but you'll need unstable GTK+-2.22 for this function.

There has been some work going on to bring font chooser widgets into
21st century, but nothing has come out of that yet (and I lost the
link to the page with some mockups).

Tadej

--
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Why GtkFontSelectionDialog doesn't implements GtkFontSelection?

2010-06-28 Thread Javier Jardón
010/6/29 Tadej Borovšak :

> There has been some work going on to bring font chooser widgets into
> 21st century, but nothing has come out of that yet (and I lost the
> link to the page with some mockups).

This is the link: [1]

[1] http://live.gnome.org/Design/GTKFontDialog/MockupSet1
--
Javier Jardón Cabezas
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Why GtkFontSelectionDialog doesn't implements GtkFontSelection?

2010-07-11 Thread John Williams
Hi all,

Unstable here means that it maybe will not be part of stable version
of GTK+ or that it will be part of a stable version and is just on a
beta version?

2010/6/28 Javier Jardón :
> 010/6/29 Tadej Borovšak :
>
>> There has been some work going on to bring font chooser widgets into
>> 21st century, but nothing has come out of that yet (and I lost the
>> link to the page with some mockups).
>
> This is the link: [1]
>
> [1] http://live.gnome.org/Design/GTKFontDialog/MockupSet1
> --
> Javier Jardón Cabezas
>
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Why GtkFontSelectionDialog doesn't implements GtkFontSelection?

2010-07-11 Thread Tadej Borovšak
Hi.

> Unstable here means that it maybe will not be part of stable version
> of GTK+ or that it will be part of a stable version and is just on a
> beta version?

Unstable means "it'll be part of next GTK+ release, due to be out in
October 2010".

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list