Re: GtkApplication and argc/arv

2011-02-25 Thread Claudio Saavedra
On Fri, 2011-02-25 at 08:58 +0100, Carlos Garcia Campos wrote: Just to point out an example, Evince does not use GtkApplication and it's not single instanced (there is one process per each document you see) and I don't think there are plans to make it single instanced. Note that

Re: cairo drawing commands to gdk_invalidate_region

2010-08-17 Thread Claudio Saavedra
, of course. Claudio -- Claudio Saavedra csaave...@gnome.org ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: gtk_widget_draw()

2010-08-17 Thread Claudio Saavedra
On Thu, 2010-08-12 at 20:48 +0200, Benjamin Otte wrote: EOG uses this to good effect, for example - scaling an image is expensive, so it only scales the areas that absolutely need to be repainted. Cairo does that automatically. On the GPU, too. So I suppose EOG doesn't yet upload the

Re: image printing

2010-07-23 Thread Claudio Saavedra
On Fri, 2010-07-23 at 22:50 +0700, Alexander Kuleshov wrote: GdkPixbuf* pixbuf = gdk_pixbuf_new_from_file(home/shk/photo.jpg, NULL); You are missing a '/' in the path. Claudio ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: GTK/GDK equivalent to UpdateWindow() ?

2010-07-04 Thread Claudio Saavedra
On Sun, 2010-07-04 at 16:50 +0100, John Emmas wrote: I'm looking for is a function that will force a window to be repainted at once, before any other pending events get processed. There is hardly any reason why you would want to do that, unless you want to write very bad code. But if you

Re: New widget proposal: GtkLiveSearch

2010-06-14 Thread Claudio Saavedra
On Mon, 2010-06-14 at 10:27 +0200, Christian Dywan wrote: I would suggest if somebody has a non-tree view use case it makes a lot more sense to consider it. Also to confirm that it actually is convenient to use with other widgets. It is quite convenient to use it, for instance, with a

Re: New widget proposal: GtkLiveSearch

2010-06-14 Thread Claudio Saavedra
On Mon, 2010-06-14 at 10:27 +0200, Christian Dywan wrote: I would suggest if somebody has a non-tree view use case it makes a lot more sense to consider it. Also to confirm that it actually is convenient to use with other widgets. It is quite convenient to use it, for instance, with a

RE: New widget proposal: GtkLiveSearch

2010-06-14 Thread Claudio Saavedra
as an exercise to the reader (via hildon_live_search_set_visible_func(), with one very nice implementation in HildonTouchSelector for matching any case-insensitive alphanumeric string inside a more complex string). Claudio -- Claudio Saavedra csaave...@gnome.org

Re: Gtk-CRITICAL - getting meaningful information

2010-06-11 Thread Claudio Saavedra
. For instance, assertion `GTK_IS_TEXT_BUFFER (buffer)' failed Means that buffer variable is not pointing to a GtkTextBuffer, which either means that you already disposed it or that you never initialized it to be one. Claudio -- Claudio Saavedra csaave...@gnome.org

Re: how to draw something on GtkDrawingArea when I click a button?

2010-03-19 Thread Claudio Saavedra
-- Claudio Saavedra csaave...@gnome.org ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk_widget_real_unmap() call in gtk_widget_real_unrealize()

2010-03-19 Thread Claudio Saavedra
El mié, 17-03-2010 a las 17:41 +0200, Claudio Saavedra escribió: Hi, Why is gtk_widget_real_unrealize() calling gtk_widget_real_unmap() directly instead of calling gtk_widget_unmap()? Unless I'm missing the obvious, this seems to have the consecuence of not executing the unmap method

gtk_widget_real_unmap() call in gtk_widget_real_unrealize()

2010-03-17 Thread Claudio Saavedra
Hi, Why is gtk_widget_real_unrealize() calling gtk_widget_real_unmap() directly instead of calling gtk_widget_unmap()? Unless I'm missing the obvious, this seems to have the consecuence of not executing the unmap method when implemented by subclasses. Attached horrid example shows the issue

Re: When deprecating, always say what the replacement is.

2010-02-23 Thread Claudio Saavedra
El mar, 23-02-2010 a las 19:17 +0100, Javier Jardón escribió: 2010/2/23 Murray Cumming murr...@murrayc.com: When we deprecate API, please remember to document what the replacement is. People forget this quite often. A small recent example that doesn't do this:

Re: How I can do Double Buffer without OpenGL Ext?

2010-02-11 Thread Claudio Saavedra
El jue, 11-02-2010 a las 11:41 -0300, Gustavo Rojas escribió: Hi, I'm working in avoid the flicker when i paint my widget draw area. Then my questions are the following: How i can to do double buffer? Strictly speaking, all GTK+ widgets have double buffer support enabled by default (see the

Re: Invalid GtkTreeIter

2009-11-03 Thread Claudio Saavedra
by prepending to the parent iter broke? Claudio -- Claudio Saavedra csaave...@gnome.org ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: tree model

2009-05-12 Thread Claudio Saavedra
On Tue, 2009-05-12 at 12:50 +0200, Alexander Larsson wrote: On Tue, 2009-05-12 at 10:47 +0200, Christian Dywan wrote: Am Tue, 12 May 2009 08:10:11 +0200 schrieb Mikkel Kamstrup Erlandsen mikkel.kamst...@gmail.com: 2009/5/12 Matthias Clasen matthias.cla...@gmail.com: I should

Re: Pass more widgets as gpointer.

2009-04-21 Thread Claudio Saavedra
On Tue, Apr 21, 2009 at 08:57:41AM +0400, Vlad Volodin wrote: Hello, Jens The other way is to make your widgets global. Especially, me? I use GOjects, and always pass self object. For example, I inherit main window object from GtkWindow and later in widgets definition pass itself to

Re: Patches to gutf8.c

2008-08-06 Thread Claudio Saavedra
attention, the list is your friend. Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: [PATCH] Use autopoint for GLib

2008-05-06 Thread Claudio Saavedra
El mar, 06-05-2008 a las 22:08 +0300, Felipe Contreras escribió: I would have created a bug report but the bug reporting form is a joke [1]. There's also http://bugzilla.gnome.org/enter_bug.cgi , reachable from the main menu in Bugzilla. Claudio -- Claudio Saavedra [EMAIL PROTECTED

Re: USB Device Dection?

2008-04-29 Thread Claudio Saavedra
for USB devices, and also report back the types of those devices, ex. if it is a normal USB memory stick, or a big 4 GB SD card,...? You should take a loot at HAL and libhal: http://hal.freedesktop.org Claudio -- Claudio Saavedra [EMAIL PROTECTED

Re: GtkLove/PatchTriaging

2008-04-17 Thread Claudio Saavedra
responses for committing --way faster than waiting for others to review among tons of bug reports that arrive daily. So, I think you should do something similar if you want those patches committed and the bugs fixed. Claudio -- Claudio Saavedra [EMAIL PROTECTED

Re: gtk + autoconf

2008-04-06 Thread Claudio Saavedra
-- Claudio Saavedra [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: Image with shadow

2008-03-25 Thread Claudio Saavedra
-utils/gnome-screenshot there is code for that. Claudio -- Claudio Saavedra [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: Moving Open with to the platform

2008-03-18 Thread Claudio Saavedra
for this kind of stuff. Thoughts? What about the open with... menu items machinery? This is reimplemented in more than one place (being eog and gthumb the examples I recall at the moment). Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-devel

Re: What does your personal GTK+ development system consist of?

2008-02-24 Thread Claudio Saavedra
, Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: has anyone used the gtk_menu_tool_button ?

2008-02-21 Thread Claudio Saavedra
, and when the style of the underlying toolbar is GTK_TOOLBAR_BOTH_HORIZ, this will hide the label. Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app

Re: GTK+ Website Review - Final Draft

2008-01-29 Thread Claudio Saavedra
and was written by Vijay Kumar B. The linked tutorial is actually about GtkTextView. Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GtkComboBoxEntry Vs GtkComboBox

2008-01-22 Thread Claudio Saavedra
macro. Claudio -- Claudio Saavedra [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: GtkComboBoxEntry Vs GtkComboBox

2008-01-22 Thread Claudio Saavedra
. As GtkComboBoxEntry inherites from GtkComboBox, you can use functions from the parent class in your GtkComboBoxEntry instance, but you need to cast it, given that C can't do it itself. A little pain of using GObject and C :-) Claudio Many thanks, Peter. On 23/01/2008, Claudio Saavedra

Re: IP address entry widget

2008-01-06 Thread Claudio Saavedra
probably use it. http://www.chipx86.com/blog/?p=124 Claudio -- Claudio Saavedra [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: Listbox, Treeview and attaching pointers to rows

2007-10-25 Thread Claudio Saavedra
with gtk_tree_model_get () from the appropriate row. Claudio -- Claudio Saavedra [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: Row number in TreeView

2007-09-21 Thread Claudio Saavedra
that to the binding you are using. Claudio -- Claudio Saavedra [EMAIL PROTECTED] Día del Software Libre, Curicó http://curico.diadelsoftwarelibre.cl ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo

Re: Row number in TreeView

2007-09-15 Thread Claudio Saavedra
, but I do not know how. With gtk_tree_path_get_indices (). Claudio -- Claudio Saavedra [EMAIL PROTECTED] Día del Software Libre, Curicó http://curico.diadelsoftwarelibre.cl ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http

Re: BUILD PROBLEM

2007-09-14 Thread Claudio Saavedra
it using ./gui where gui is the executable the compiler has made please tell me what i am doing wrong. It'd be easier to say if you'd tell us how did you compile it, show us some source code, and tell us if there are any warnings errors when you run it. Claudio -- Claudio Saavedra [EMAIL

Re: GTK internals

2007-07-03 Thread Claudio Saavedra
-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Whats coming in GTK+ 2.12

2007-06-11 Thread Claudio Saavedra
with it: http://bugzilla.gnome.org/show_bug.cgi?id=420249 Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GTK+ CVS access FAQ out of date

2007-04-14 Thread Claudio Saavedra
for the webpage (which you could prepare yourself, if you have the time :-) Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK+ CVS access FAQ out of date

2007-04-13 Thread Claudio Saavedra
for the webpage (which you could prepare yourself, if you have the time :-) Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-devel-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-devel-list

broken gtk+ build due to missing .po file

2007-03-04 Thread Claudio Saavedra
and 17390) to fix the build, but you should either add the missing file soon or remove the po/[EMAIL PROTECTED] file. Thanks, Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org

Re: Requesting an SVN account

2007-03-04 Thread Claudio Saavedra
to write to [EMAIL PROTECTED], that's the proper place. You can find more info in http://live.gnome.org/NewAccounts Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman

[patch] Fix gtk-2-10 build

2007-03-02 Thread Claudio Saavedra
Hi, gtk/gtksettings.c was wrongly merged with trunk. Attached patch fixes the build. Greetings, Claudio -- Claudio Saavedra [EMAIL PROTECTED] Index: gtk/gtksettings.c === --- gtk/gtksettings.c (revision 17371) +++ gtk

Re: libglade frustration

2007-02-16 Thread Claudio Saavedra
directed him in the right direction, which would've been much more productive than this where do we put examples for the lazy one thread. Claudio -- Claudio Saavedra [EMAIL PROTECTED] - Este correo fue enviado por http://alumnos.utalca.cl

Re: Simple Yes/No dialog

2006-06-17 Thread Claudio Saavedra
me a few lines of code. Please, take the time to read a little the API. You can use GtkMessageDialog for that. http://developer.gnome.org/doc/API/2.0/gtk/GtkMessageDialog.html Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-app-devel-list

Re: GtkTreeView

2005-11-16 Thread Claudio Saavedra
GTK_TREE_VIEW_COLUMN_AUTOSIZE can be very inneficient with large sets of data. Claudio -- Claudio Saavedra [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

[Fwd: RE: entry widget signal]

2005-06-17 Thread Claudio Saavedra
-- Claudio Saavedra [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: entry widget signal

2005-06-16 Thread Claudio Saavedra
, you can use it. See more in: http://developer.gnome.org/doc/API/2.0/gtk/GtkEditable.html#GtkEditable-changed Claudio -- Claudio Saavedra V. [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

g_str_is_ascii()

2005-05-19 Thread Claudio Saavedra
)); } Thanks in advance. Claudio -- Claudio Saavedra [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: Tutorial for GtkUIManager ?

2005-05-11 Thread Claudio Saavedra V.
be useful Good luck. Claudio -- Claudio Saavedra V. [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: Size of a GtkWidget

2005-05-06 Thread Claudio Saavedra V.
size or the default size, all of which have warnings of not being necessary correct Thanks -- Claudio Saavedra V. [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel