On Tue, 2011-12-20 at 09:25 +0100, David Nečas wrote:
> Using gtk_paint_focus() in the "draw" handler...
Deprecated now, apparently; refers to
http://developer.gnome.org/gtk3/3.3/GtkStyleContext.html#gtk-render-focus
instead.
AfC
Sydney
___
gtk-app-d
On Tue, 2011-12-06 at 17:47 +0900, Tristan Van Berkom wrote:
> gtk_widget_set_size_request() should still succeed with the expected behaviour
> of setting the minimum size of a widget,
So, does it do so for GtkLabel? ie, is it acceptable to call it?
[this thread has become a bit confusing]
AfC
On Wed, 2011-11-23 at 18:07 +, Thomas Harty wrote:
> I'll see if I can narrow down exactly what's causing this...
Still, looks like you're pretty close to a good suppression file.
Where should we install it?
/usr/share/suppression/glib.sup
/usr/share/suppression/gtk.sup
On Wed, 2011-10-19 at 16:28 -0400, Allin Cottrell wrote:
> I have some text I'm displaying via pango and while in general
> I want to allow automatic line breaks, I want to prevent line
> breaks from occurring in certain contexts.
>
> Specifically, what I'm trying to avoid is the breaking of
>
On Tue, 2011-09-20 at 12:48 +0100, jcup...@gmail.com wrote:
> Ooop, thanks. I hadn't realised but I'd not updated the version on the
> website for a while. I've put my current one up now and it includes a
> thing for g_type_add_interface_static(), as you also found.
Might it be a good idea to put
On Tue, 2011-02-15 at 20:47 -0800, Patrick Noble wrote:
> My names Patrick Noble, and was hoping for a few pointers... I am interested
> in learning about and helping out in a development project
The best thing to do is get involved in a project that _uses_ GTK. Pick
something on the GNOME deskto
On Wed, 2011-02-09 at 10:44 +0200, Tor Lillqvist wrote:
> And anyway, this "OMG GTK+ leaks memory" discussion has been had
> several times already over the years. This parrot is dead.
True.
But it is a shame that there isn't a
gtk_unload_no_I_mean_really_unload_honest() function that we could use
On Sun, 2010-12-05 at 14:41 -0500, Tim Corio wrote:
> I'm using g_debug(...) in my application. Is there a way to turn off
> all debug messages?
I suppose you could call g_log_set_default_handler() and replace the
default handler with a local custom one which would either ditch all
logged message
On Fri, 2010-02-05 at 17:21 +0100, David Nečas wrote:
> Explicit main loop iterations are usually a sign of desperation.
Indeed :)
As it happens, we have a problem with gtk_dialog_run(). We may need to
replace it with manually doing the
while (gtk_events_pending ())
gtk
On Wed, 2009-11-18 at 22:22 +0100, Per Hermansson wrote:
> The user will then probably experience some flicker as containers are
> repainted and widgets moved.
As an aside [and not otherwise commenting on what you're trying to
achieve], Evolution's preferences dialog has for years behaved somewha
On Mon, 2009-05-25 at 14:20 +0800, donglongchao wrote:
> I want to know that when I start a window,how can I set it's default
> size to fill the whole screen?
Sounds like gtk_window_maximize() is what you want.
http://library.gnome.org/devel/gtk/stable/GtkWindow.html#gtk-window-maximize
AfC
Sydne
On Thu, 2009-02-19 at 02:41 -0800, Adeel Malik wrote:
> As I would be starting the GTK+ development on Fedora Core 6 Linux
> machine
Since no one else said it, I'll note that FC6 is kinda getting a bit
long in the tooth. If at all possible, you really want to be using the
latest release of your L
On Sat, 2009-01-03 at 10:40 -0500, Yu Feng wrote:
> If you are accessing data member(g_object_set_data) frequently you could
> use quarks to accelerate the looking up process(g_object_set_qdata).
On Sun, 2009-01-04 at 14:41 +0200, Stefan Kost wrote:
> If you use a hashtable with strings as keys, a
On Wed, 2008-12-03 at 12:19 +0200, Stefan Kost wrote:
> do you have it in a form, where you have one *.c and one *.h file with
> lots of static functions and one public function
More or less.
It's in the Java bindings as a function[1] that returns a Pixbuf, as in:
pixbuf = Screenshot.capture
On Mon, 2008-12-01 at 08:51 -0800, Garth's KidStuff wrote:
> I'm runnign a Gtk++ app under ubuntu 8.04 and I'd liek to take a screenshot
> from inside the app. Any hints?
We used an adaptation of the gnome-screenshot code in gnome-utils's
gnome-screenshot/gnome-screenshot.c
It is *very * voodoo
On Sun, 2008-11-30 at 18:04 +0800, Gregory Hosler wrote:
> I have a gtk_entry field,and i wish to make use of gtkspell.
Perhaps try SexySpellEntry from libsexy?
http://www.chipx86.com/w/index.php/Libsexy#SexySpellEntry
(it's a shame that the conventional way to add spell checking to a
GtkTextVie
On Thu, 2008-07-24 at 10:48 +0200, Gabriele Greco wrote:
>
> o
> | |
> | --
> |
> -
Couldn't you just add another row in the TreeStore for the closing tag?
If is "0" and is "0:0", then inserting a row after
with parent would be "0:1".
AfC
Sydney
On Wed, 2008-07-23 at 13:32 +0200, Gabriele Greco wrote:
> I need to make a screenshot of a GtkWindow from the program itself
We used code from gnome-utils's gnome-screenshot/gnome-screenshot.c and
gnome-screenshot/screenshot-utils.c to add a capture capability to
java-gnome (we wanted window deco
On Tue, 2008-03-25 at 22:24 -0400, Evan Charlton wrote:
> I'm curious how one would go about freezing (stopping UI updates) and
> thawing (applying and resuming UI updates) a GtkWidget, as well as any
> children of it.
You might have some success if you use the low level mechanism:
http://library.
On Tue, 2008-01-15 at 20:17 +, John Franklin wrote:
> I've just started using GTK and Glade to develop a small app
> I want to determine if the Ctrl key is also pressed.
GdkModifierType.
When the 'key-press-event' signal or 'key-release-event' signal are
emitted, the handler you hookup includ
On Fri, 2007-12-14 at 20:52 +0800, Binary Chen wrote:
> I know it is a feature of window manager, but is there any portable way
> in GTK+ to do this?
In C...
gtk_window_set_decorated(GTK_WINDOW(window), FALSE);
or Python...
window.set_decorated(False);
or Java...
windo
On Wed, 2007-10-24 at 11:19 +0200, Olivier Delhomme wrote:
> I'm looking for a function that will return a date and time
> as a gchar * in a format that is made accordingly to the
> user preferences.
The traditional way of custom formatting dates on Unix has long been
strftime(); the formatting t
On Wed, 2007-10-17 at 12:28 +0400, AlannY wrote:
> I have that interface:
Nice ASCII art, there.
> After I'm resizing window, my program looks like:
>
> +---+
> | +---+ |
> | | | |
> | | Widget 1| |
> | | | |
> | +---+ |
>
On Wed, 2007-10-10 at 19:45 -0600, Jeffrey Barish wrote:
> I believe that
> the manual is wrong when it says that an arrow appears.
One most certainly does appear when you click on the header to sort. Do
you have gtk_tree_view_column_set_headers_visible() set to true? That's
where the arrow shows
> On Fri, 2007-09-28 at 23:49 -0300, Matías Alejandro Torres wrote:
> My problem is that GtkTreeModelFilter does not implements the
> GtkTreeSortable interface and I lost the sorting capabilities that I
> used to have.
It's been a while since I worked on the code in question, but I had a
GtkTr
On Sat, 2007-08-04 at 22:07 +0800, Gregory Hosler wrote:
> That threads_enter/threads_leave doesn't look so bad, since I'm not
> doing a lot of gtk withing my thread. Looks like it might be the way
> to go for me.
Beware that you need to ensure that you call gdk_threads_enter() before
calling gtk_
On Sun, 2007-05-20 at 12:15 +0200, Felix Kater wrote:
> here is my short summery of how to use gtk with threads
Ironically, your email rolled in Monday right after I had managed to
come up with most of the same information independently. I just blogged
about my own findings which are fairly close
On Fri, 2007-04-06 at 23:45 -0700, Craig Pemberton wrote:
> GList *children = g_list_first(parent->children);
For starters, you want
gtk_container_get_children()
From there, you might also double check you're using the GList API
properly.
AfC
Sydney
___
On Tue, 2007-04-03 at 20:05 +0530, arthy geraldin wrote:
> These are the commands I used for installing gtk.
Is there a a compelling reason why you are trying to build the entire
GTK stack manually yourself? It's always been a moderately tricky task
(this is why jhbuild and GARNOME - and for that
29 matches
Mail list logo