Re: Merging libstarred into GTK+?

2011-12-15 Thread Petr Tomasek
On Thu, Dec 15, 2011 at 01:32:13PM +0100, Mathias Hasselmann wrote:
> Hi,
> 
> Just released libstarred 1.0 - http://gitorious.org/libstarred
> 
> It provides a widget and a cell renderer for doing editable five-star
> ratings, but also starred favorites. You configure it to your needs.
> 
> It seems feature complete to me and also seems to work properly. More
> testing, code review, feature requests, patches - all very welcome of
> course.
> 
> Now I don't really have the time for maintaining such libraries in the
> long run, and also the stuff in the library should be of common interest
> for application developers. Therefore I wonder if it makes sense to add
> those widgets to GTK+ itself. Can I drop this code here?
> 
> Ciao,
> Mathias
> -- 
> Mathias Hasselmann 
> http://taschenorakel.de/

Just a dumb question: are other shapes/objects possible
instead of starrs?

P.T.

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: but...@jabbim.cz


___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Native Client

2011-08-16 Thread Petr Tomasek
On Tue, Aug 16, 2011 at 10:56:22AM +0100, Stuart Johnson wrote:
> Any plans to support Native Client?   QT already runs on it.
> 
> I have been quite excited about Native Client for a while now, but until 
> recently, it seemed like there was no chance of it becoming mainstream.  
> Google Plus could change this if it's being used for gaming.  It's going to 
> be enabled as default in the next Chrome browser, with plugins available 
> for other browsers.
> 
> Being able to run GTK apps in a browser opens the door for new 
> opportunities.

This should be supported in the latest (forthcomming?) gtk3 release.

P.T.

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: but...@jabbim.cz


EA 355:001  DU DU DU DU
EA 355:002  TU TU TU TU
EA 355:003  NU NU NU NU NU NU NU
EA 355:004  NA NA NA NA NA



___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


"recursive" regex match?

2011-07-30 Thread Petr Tomasek


Hi!

I tried to make a "recursive" regexp using the g_regexp_* functions,
i.e. something like:

 regex = g_regex_new ("^\\s*(?:(shift|ctrl|alt)-)*([a-z])\\s*$", 
G_REGEX_CASELESS|G_REGEX_OPTIMIZE, 0, NULL);

But when doing g_regex_match() together with g_match_info_fetch_all() I only 
get the
first occurence of the string matche by "(...)*". In PCRE / php, for example, 
such a
regex is matched recursivelly (i.e. the number of matched substring is 
dependent on the 
matched string). Can something like this be done in glib or is this feature 
missing?

Thank You!

Petr Tomasek

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: but...@jabbim.cz


EA 355:001  DU DU DU DU
EA 355:002  TU TU TU TU
EA 355:003  NU NU NU NU NU NU NU
EA 355:004  NA NA NA NA NA



___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GTK+ 3.0.12

2011-07-28 Thread Petr Tomasek
> 
> 
> Overview of Changes in GTK+ 3.0.12
> ==
> 
> * Assorted file chooser improvements/redesign:
>  - Remove the expander in Save mode
>  - Move the path bar up in Save mode
>  - Remember the last opened directory
>  - Start in recently-used mode when no folder is set
>  - Update recent-files when confirming in the file chooser

Hello!

Is there more info about this? Does it mean a user will no more
be able to choose an exact location where to save the file?

Seems to me like a rather big change, not something that should
go in the minor release.

Petr Tomasek

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: but...@jabbim.cz


EA 355:001  DU DU DU DU
EA 355:002  TU TU TU TU
EA 355:003  NU NU NU NU NU NU NU
EA 355:004  NA NA NA NA NA



___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Compiling a GTK application on windows

2011-05-31 Thread Petr Tomasek
On Mon, May 30, 2011 at 12:06:58PM +0200, richard boaz wrote:
> no, gtk on windows doesn't suck, but at the same time, isn't issued by
> microsoft either, thus different (wrt IDE's), requiring some "by-hand" work.
> 
> i have a rather large project, designed under linux, also cross-compiled
> into windows binaries.  i've gone down both roads of compiling directly
> under windows (cygwin), and now simply cross-compiling on LINUX, even going
> so far as to create the install .exe on LINUX.

Could You recommend some "HOWTO" or tutorial? (I mean cross-compiling,
I don't care that much about cygwin...)

Thanks!

> both solutions work, and, as far as i'm concerned, it works great (when the
> "by-hand" setup is not regarded as a hindrance).  maybe it doesn't work for
> you, or the way you'd like, but then almost the entirety of MS output falls
> into that category for me.
> 
> *de gustibus non est disputandum*
> 
> ciao,
> 
> richard
> 
> 
> On Mon, May 30, 2011 at 11:52 AM, Lothar Scholz  wrote:
> 
> > Hello Robert,
> >
> > RP> There really isn't any point trying to make people like Lothar see the
> > RP> light. Some folks are just so brainwashed into believing that an
> > RP> "integrated development environment" is the only option on Windows that
> > RP> they have become clinically incapable of grasping the simple fact that
> > RP> for anyone who knows what they're doing (and may be doing something
> > RP> more complex than the Visual Studio "Hello world" example) IDEs
> > RP> universally just get in the way, and make is your friend.
> >
> > This attitude against windows is the reason why i only can recommend
> > to stay away from GTK on windows. It sucks.
> >
> > By the way i use an editor and hand written non autotools makefiles
> > in my windows projects.
> >
> > --
> > Best regards,
> >  Lotharmailto:llot...@web.de
> >
> > _______
> > gtk-list mailing list
> > gtk-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> 

> ___
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 


-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: but...@jabbim.cz


EA 355:001  DU DU DU DU
EA 355:002  TU TU TU TU
EA 355:003  NU NU NU NU NU NU NU
EA 355:004  NA NA NA NA NA



___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Pointers and spawning processes with glib

2010-12-10 Thread Petr Tomasek
> 
> The Glib reference documentation is not intended to be an introduction
> to any topic.  Programmers should not expect to use just a reference
> manual if they do not understand the concepts behind it.
> 
> So if a programmer doesn't know anything about processes, hashes, URIs
> or any of the other concepts handled in Glib( or windowed graphics
> topics in GTK+) they should look at the introductory material
> available elsewhere.  The reference manual would become too big and
> unwieldy if it tried to be a conceptual introduction to all its topics
> as well.

But perhaps a short note with a link wouldn't make it too big?

> Don't get me wrong, I think that the GLib/GTK+ documentation has lots
> of problems, but this isn't one of them.
> 
> Cheers
> Lex

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: but...@jabbim.cz


EA 355:001  DU DU DU DU
EA 355:002  TU TU TU TU
EA 355:003  NU NU NU NU NU NU NU
EA 355:004  NA NA NA NA NA



___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


gnomedesktop.org?

2010-03-22 Thread Petr Tomasek

High!

Anyone knows, what happend to the gnomedekstop.org site?

Thx!

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: but...@jabbim.cz
SIP: but...@ekiga.net
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: gtk+-2.9.2 bug or not ???

2006-06-05 Thread Petr Tomasek
On Mon, Jun 05, 2006 at 11:23:22PM +0200, Vitaly D wrote:
> Hello,
> 
> i've just installed fresh gtk+-2.9.2 and also Glib 2.11.2
> 
> when running gtk-demo -> UI Manger demo i've got the following output
> 
> http://www.esil.univ-mrs.fr/~vdoljiko/pub/gtk-demo.log
> 
> when trying File menu. is it a bug or not ???

Did you also update the gtk2-engines?

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Petr Tomasek
On Tue, Mar 07, 2006 at 08:27:16PM +0100, Sven Neumann wrote:
> Hi,
> 
> Petr Tomasek <[EMAIL PROTECTED]> writes:
> 
> >> If you started to use the bookmarks feature, it is likely that you
> >> will not need to use the folders list for about 95% of your file
> >> dialog usage. That is my experience at least.
> >
> > I see big problem here. There should be per application bookmarks.
> > I just tend to save my pictures to other places, than I do with
> > my documents, etc.
> 
> There are application specific bookmarks in the GTK+ API. I just don't
> know many apps that use them. GIMP for example uses them in some places.

Humm... this seems a wrong approach to me. The user should decide,
whether particular bookmark is meant for one application only or globaly,
not the application... :-o

Petr Tomasek

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Usability of the GTK+ 2 file open dialog

2006-03-07 Thread Petr Tomasek
> > Another one: who came up with the retarded idea of "Browse for other
> > folders"?  Just show the damn thing already!  Why add 1 useless
> > click (on a small widget on top of that) to 90% of file dialog
> > usage?
> 
> If you started to use the bookmarks feature, it is likely that you
> will not need to use the folders list for about 95% of your file
> dialog usage. That is my experience at least.

I see big problem here. There should be per application bookmarks.
I just tend to save my pictures to other places, than I do with
my documents, etc.
Or even better, let the user decide (while saving the bookmark)
whether it will be "global" or "per application" bookmark.

> > This is only based on my user experience.  I'm sure more people will
> > come up with other issues about features I'm not using (~ expansion...)
> 
> Your user model is obviously different than mine because I very much
> prefer the new file-chooser over the old one. The problem is to find
> something that works well for the majority of GTK+ users and I believe
> that the new file-chooser dialog does a pretty good job at this. But
> of course it would need some research to find out.

I personaly think that the new file-chooser desing is actually not that
bad, but it has number of terrible usability bugs...

P.T.

-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: so, is this claim about pango still true? or does nobody actually care?

2005-10-25 Thread Petr Tomasek
On Fri, Oct 14, 2005 at 08:47:38AM +0300, Tommi Komulainen wrote:
> On 10/14/05, Paul Davis <[EMAIL PROTECTED]> wrote:
> >
> > is this still true? does anybody care? is there a way to avoid pango
> > entirely and still get AA fonts inside GTK2? will this ever be fixed
> > before everyone is using h/w acceleration to print button labels?
> 
> If you don't actually need any of the fancy features Pango provides,
> bi-directional text, paragraphs and whatnot, you might just as well

Rendering international text is not fancy, it's basic feature!

> use Xft2 directly. It requires a bit more code, but with the Nokia 770
> VKB implementation we measured roughly 50% reduction in the time it
> takes to redraw the whole layout (buttons with single-character
> labels)

It's sad, You're creating crapy applications, that cannot be used
with arabic or hebrew, etc. :-(


-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


CellRenderer for colors?

2004-05-02 Thread Petr Tomasek

Hello!

Does anybody knows if there does exist some cell-renderer,
that would show/let edit colors?

Thanx

PT.

-- 
Petr Tomasek, http://www.etf.cuni.cz/~tomasek/


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Installing GTK+ 2.4.0 on Fedora Core 1

2004-03-22 Thread Petr Tomasek
On Mon, Mar 22, 2004 at 10:37:24AM +0100, Renato Perini wrote:
> Hi all.
> I'm wondering what I have to do if I want to install gtk+-2.4.0 on 
> Fedora Core 1 without losing the original set of icons.
> For example, if I reinstall GTK+ completely, I lose icons for various 
> programs, including glade2.
> What I have to do?
> 
> Thank you in advance.
> 

try (re)installing recent librsvg.

-- 
Petr Tomasek, http://www.etf.cuni.cz/~tomasek/


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Solved: Re: 2.4 binaries for RH9?

2004-03-18 Thread Petr Tomasek
On Thu, Mar 18, 2004 at 09:08:15AM +0100, Nils O. Sel?sdal wrote:
> On Wed, 2004-03-17 at 22:08, Petr Tomasek wrote:
> > Hello!
> > 
> > Do binary packages for RH9 of the gtk/glib/pango 2.4 release?
> > I tried to recompile srpm from rawhide (it was 2.3.6),
> > but I ran out of disk space, since compiling gtk
> > took more than 1.5GB!
> > 
> > Any help?
> Free some space ? ;)
> Well, if you add this to your ~/.rpmmacros
> %{_global_cflags} -O2 
> %{_optflags}  %{__global_cflags} -march=i386 -mcpu=i686
> 
> It should take much less space compiling it(no debugging symbols). 
> I run those srpms on RH8,so it should work on RH9 I guess.

Thanks, but I already solved it by using newer libtool (1.5 instead of
1.4), as most of the memory was consumed during linking.

Petr Tomasek

-- 
Petr Tomasek, http://www.etf.cuni.cz/~tomasek/


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


2.4 binaries for RH9?

2004-03-17 Thread Petr Tomasek

Hello!

Do binary packages for RH9 of the gtk/glib/pango 2.4 release?
I tried to recompile srpm from rawhide (it was 2.3.6),
but I ran out of disk space, since compiling gtk
took more than 1.5GB!

Any help?

Thanks!

Petr Tomasek

-- 
Petr Tomasek, http://www.etf.cuni.cz/~tomasek/


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: radio_button behavior with toggle_button style ?

2004-01-10 Thread Petr Tomasek
On Sat, Jan 10, 2004 at 08:38:09AM +0100, Alain D'EURVEILHER wrote:
> Hi,
> 
> Is it possible to make a group of toggle button, but behavioring as the 
> radiobuttons ??
> 
> Here it is... : have for example 3 toggle_button and, pressing one down 
> release (up) the other ones...
> 
> I've tried to make it, but i didn't know how... If sb have some clue on 
> that... ;-)
> 
> Thx.
> 
> AlaiN.

WHY would you need that?
You're just confusing users

PT>

-- 
Petr Tomasek, http://www.etf.cuni.cz/~tomasek/


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Dynamic list?

2002-07-08 Thread Petr Tomasek


Hello!

I just want to ask, if it is possible with GtkListView to have a list
without having to allocate any structure in the memory (the data would
be read directly from the database - for performance reasons).

Thank you!

Petr Tomasek

--
Petr Tomasek, http://www.etf.cuni.cz/~tomasek/


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



gtk-demo (Re: Please Document GtkTreeView)

2002-07-07 Thread Petr Tomasek

On Sat, Jul 06, 2002 at 06:41:33PM -0400, Havoc Pennington wrote:
> 
> A useful resource is gtk-demo. It has sample source code for this I
> believe.
> 

BTW, I just wonder, why isn't the gtk-demo included within the
standart gtk+ packages (at least with gtk+-devel).

PT>

--
Petr Tomasek, http://www.etf.cuni.cz/~tomasek/


___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list