Re: Introducing toggle references

2005-04-29 Thread Maciej Katafiasz
, but not before. Again, sorry if it's exactly your argument, but I just don't know that and don't have time to do proper homework right now. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Proposal for 2.8: Glog

2005-05-03 Thread Maciej Katafiasz
for integration: 2 hours (if it goes bad, all it really takes is copying the source and slightly adjusting autofoo). Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org

Re: Proposal for 2.8: Glog

2005-05-03 Thread Maciej Katafiasz
invokations in the source code should be very non-intrusive. Some very short macro call with no parameters if you just want a basic line with no specific information, just a basic where and when. How about GLOG_LOG(Message)? :) Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED

Typed annotations proposal

2005-05-25 Thread Maciej Katafiasz
currently have any way to express default value. This needs addressing, and language bindings will need that to support default function parameters anyway. I think that's all I can remember right now, please discuss and comment. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED

Re: Fwd: [directfb-dev] Re: Gtk 2.7.0 supported - works

2005-07-07 Thread Maciej Katafiasz
Tessman) Maciej Katafiasz [EMAIL PROTECTED] http://mathrick.org ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: g_utf8_validate() and NUL characters

2008-10-08 Thread Maciej Katafiasz
Den Tue, 07 Oct 2008 16:55:29 -0400 skrev Behdad Esfahbod: coda wrote: I discussed this on #gtk+ with mathrick and pbor and it seems that the assumption that UTF-8 strings are NUL-terminated and contain no NULs runs pretty deep. A possible solution is to use modified UTF-8 (

Re: g_utf8_validate() and NUL characters

2008-10-09 Thread Maciej Katafiasz
Den Wed, 08 Oct 2008 23:47:23 -0400 skrev Havoc Pennington: On Wed, Oct 8, 2008 at 11:00 PM, Behdad Esfahbod [EMAIL PROTECTED] wrote: Lemme pull a real-world example: Last year I had to fix a bug in Firefox where a page with a nul byte crashed the browser. What I don't see is how a nul

Re: Sheet and Drawer widgets

2004-07-16 Thread Maciej Katafiasz
in UI area. Cheers, Maciej -- Tautologizm to co tautologicznego Maciej Katafiasz [EMAIL PROTECTED] http://mathrick.blog.pl ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: simple text editing

2004-12-21 Thread Maciej Katafiasz
tool you use for heavy programming. It's all matter of taste, though, so YMMV -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: How to create round shape push buttons

2004-12-26 Thread Maciej Katafiasz
don't want that, then you need to subclass GtkButton and override appropriate methods and signal handlers so that it draws as image and does whatever you want when clicked. You get more control here, but also more work needs to be done. HTH, Maciej -- Maciej Katafiasz [EMAIL PROTECTED

Re: Stuff I want to do with a combobox

2004-12-27 Thread Maciej Katafiasz
probably good trade-off, interface that changes without user's action is Really Bad Thing(TM) Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Gtk+ GIMP and GNOME

2005-02-11 Thread Maciej Katafiasz
tied to Unix in more ways than GTK+ covers and that rather won't change in any forseeable future. HtH, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: GTK Script?

2005-03-13 Thread Maciej Katafiasz
it will not be dependent to any desktop, as is the case with DTKSH. Check out Zenity, http://freshmeat.net/projects/zenity HTH, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: GTK high speed interface

2005-04-28 Thread Maciej Katafiasz
docs at http://developer.gnome.org/doc/API/2.0/gtk/gtk-General.html#id2755523 they have snippet to put in your code. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman

Re: compiler application error

2005-04-30 Thread Maciej Katafiasz
] You're using -c option to gcc which tells the compiler to not link resulting program, only to compile source into .o files. It has told you that, too :). Remove -c flag to make it compile and link. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED

Re: Variable Naming convetions...

2005-05-02 Thread Maciej Katafiasz
all caps, like enum { GTK_SOME_ENUM_VALUE } GTK_SOME_ENUM; #define GTK_SOME_MACRO unless the macro is intended to be used like normal function, in which case you use function naming convention. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED

Re: Unforgiving GtkEntry

2005-05-05 Thread Maciej Katafiasz
the bug will simply get closed. So don't be afraid of reporting, it's never the wrong thing to do :) Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Cairo and GTK+

2005-05-22 Thread Maciej Katafiasz
you'll be able to use it with GTK+ easily, as well as that GTK+ itself will use Cairo, but it doesn't mean Cairo will be swallowed by GTK+. If you're using it today, just continue doing so, and after 2.8 you'll find your current Cairo work easier, not redundant. Cheers, Maciej -- Maciej Katafiasz

Re: Quick Question

2005-05-24 Thread Maciej Katafiasz
other questions (licensing, compiling, etc.), use gtk-list. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: [slightly OT] non-blocking rpc-like thing?

2005-05-28 Thread Maciej Katafiasz
. Anyone else know of something? How difficult do you think it would be to make an existing rpc lib non-blocking? D-BUS? http://www.freedesktop.org/Software/dbus Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-list mailing list gtk-list

Re: How is GtkTreeIter-stamp initialized?

2005-07-12 Thread Maciej Katafiasz
interpret the stamp. Cheers, Maciej -- Being really good at C++ is like being really good at using rocks to sharpen sticks. (Thant Tessman) Maciej Katafiasz [EMAIL PROTECTED] http://mathrick.org ___ gtk-list mailing list gtk-list@gnome.org http

Re: Auto Scrolling Text

2005-02-22 Thread Maciej Katafiasz
://www.gnugadu.org/ ), it includes scrolling label widget that does what you want. HTH, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Output-only window...

2005-04-08 Thread Maciej Katafiasz
(the latest release, or maybe even not yet released CVS, I forgot). Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: New GTK

2005-04-17 Thread Maciej Katafiasz
. Outside of implementing custom menu widget, you don't have much chance to encounter such situation. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Re: gtkhtml3 and CSS

2005-04-21 Thread Maciej Katafiasz
Dnia 21-04-2005, czw o godzinie 10:05 +0200, Hubert Sokolowski napisa: sorry for posting to this list, but gtkhtml mailing list seems to be dead. My question is does gtkhtml3 support CSS? AFAIK, no. That's one of the very basic problems with gtkhtml. Cheers, Maciej -- Maciej Katafiasz [EMAIL

Re: Splash Screen

2005-04-23 Thread Maciej Katafiasz
which is slow enough to need splash, that insists on showing that splash no matter what, preventing users from working in the meantime. HTH, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Is pango required package for building GTK2.6

2005-04-25 Thread Maciej Katafiasz
as you can't disable Glib, it just doesn't make sense. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk text entry

2005-05-18 Thread Maciej Katafiasz
with some text or not. if it is filled then the frame will be displayed, if not i will give pop up msg saying enter text b'fore pressing next. how to check the text presence in text entry. Try the attached programme. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED

Re: gtk text entry

2005-05-18 Thread Maciej Katafiasz
Dnia 18-05-2005, ro o godzinie 08:52 +0200, Maciej Katafiasz napisa: Try the attached programme. D'oh, mailman seems to be stripping attachments off. Here's the URL then: http://mathrick.org/files/entry.c Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED

Re: root windows

2005-05-26 Thread Maciej Katafiasz
to use. Use libglade, really. Although even with autogenerated glade code it's easy to do, check inside one of the files generated will be function glade_get_widget_by_name() or something similar, which works like glade_xml_get_widget (). Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED

Re: root windows

2005-05-26 Thread Maciej Katafiasz
, making it painfully obvious that libglade is the right thing. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: how to search for a widget in the object hierarchy tree

2005-05-26 Thread Maciej Katafiasz
and glade_xml_get_widget(), related to the other thread. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Memory problems with gdk_pixbuf

2005-06-07 Thread Maciej Katafiasz
outstanding references, you need to unref them separately for object to get freed. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: ComboBox on Windows application

2005-06-07 Thread Maciej Katafiasz
-- this ensures you will never again have such a dillemma. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Memory problems with gdk_pixbuf

2005-06-07 Thread Maciej Katafiasz
initial reference, using so called floating reference. There's documentation on it available on net, although not as gathered in one place as we could wish -- that's part of the ongoing effort to improve developer pages I mentioned above. Cheers -- Maciej Katafiasz [EMAIL PROTECTED

Re: libglade: glade_xml_get_widget

2005-06-09 Thread Maciej Katafiasz
to be the one but it does not work in any of my callbacks, only before gtk_main. Am I missing something? Works for me. Could you give a testcase that fails to work for you? Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list

Re: drawing stuff inside the TreeView

2005-06-22 Thread Maciej Katafiasz
of give me a circle. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: The expander arrow (triangle) in TreeView

2005-06-23 Thread Maciej Katafiasz
is Clearlook but the gtk-demo treeview example still has the triangle so it hasn't to depend from the theme as far as I can see. Gwhere looks like it's using gtk+ 1.2. There's no TreeView in 1.2, and old tree widget (GtkCTree) uses + sign for expander. Cheers, Maciej -- Maciej Katafiasz [EMAIL

Re: The expander arrow (triangle) in TreeView

2005-06-23 Thread Maciej Katafiasz
, if no such border is visible, it's TreeView. In (0.6) clearlooks case, TreeView's selection will also be a gradient, in CTree it's solid colour. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list

Re: The expander arrow (triangle) in TreeView

2005-06-23 Thread Maciej Katafiasz
to override that. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: The expander arrow (triangle) in TreeView

2005-06-23 Thread Maciej Katafiasz
, as mentioned in the bug Tim gave a pointer to. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: drawing stuff inside the TreeView

2005-06-23 Thread Maciej Katafiasz
it. But I didn't find any tools in Gtk that would manipulate image/pixbuf for me . AFAIK, there aren't any, but just changing the colour shouldn't be that hard, pixbuf can be accessed as a simple array of bytes. Cheers, Maciej -- Maciej Katafiasz [EMAIL PROTECTED

Re: main loop

2005-07-09 Thread Maciej Katafiasz
at C++ is like being really good at using rocks to sharpen sticks. (Thant Tessman) Maciej Katafiasz [EMAIL PROTECTED] http://mathrick.org ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Re: main loop

2005-07-09 Thread Maciej Katafiasz
) Maciej Katafiasz [EMAIL PROTECTED] http://mathrick.org ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Set widget BG while using Qt theme engine

2005-08-08 Thread Maciej Katafiasz
in individual themes is never the right thing. Cheers, Maciej -- There are only two things wrong with C++: The initial concept and the implementation. (Bertrand Meyer) Maciej Katafiasz [EMAIL PROTECTED] http://mathrick.org ___ gtk-app-devel

Re: Best place to call gtk_widget_show()?

2005-08-16 Thread Maciej Katafiasz
) Maciej Katafiasz [EMAIL PROTECTED] http://mathrick.org ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Run Loop Memory Management

2007-05-29 Thread Maciej Katafiasz
and no more work remains. By returning an appropriate value you can control how many times it'll be run. Cheers, Maciej -- Being really good at C++ is like being really good at using rocks to sharpen sticks. (Thant Tessman) Maciej Katafiasz [EMAIL PROTECTED] http://mathrick.org