ocation
> 640712 GtkAssistant fonts are too big
> 640744 mount-operation: don't show the dialog until the tree...
> 640902 X11 headers included by default in public headers
> 640965 XCompose does not work with GTK+ 2.99.x
> 640983 GtkSettings: Fix theme not updating for dark theme
&
On Wed, Feb 9, 2011 at 4:19 AM, Jim George wrote:
> Hi all,
> In a larger GTK application that needs to do HTTP gets, I replaced use
> of cURL and some helper functions called "glibcurl" with GIO calls. I
> now face a strange problem that when the program runs locally,
> everything is fine, but wh
On Fri, Mar 4, 2011 at 12:00 PM, Vikram Ambrose wrote:
> Hello List,
>
> How do you do pango markup for text in a GtkComboBox?
- You create your combo box
- Create a GtkListStore with a G_TYPE_STRING column where you store
the markup for each row
- Give the list store to the combo
- Ad
On Tue, Mar 8, 2011 at 6:35 AM, Vikram Ambrose wrote:
> On 03/03/2011 10:09 PM, Tristan Van Berkom wrote:
>>
>> On Fri, Mar 4, 2011 at 12:00 PM, Vikram Ambrose
>> wrote:
>>>
>>> Hello List,
>>>
>>> How do you do pango markup for
On Thu, Aug 4, 2011 at 5:33 PM, George Brink wrote:
> I'd like to insert some files into my binary. For example application icons,
> glade definitions of primary windows etc...
> In Qt such task is done by utilizing QRC:
> http://doc.qt.nokia.com/latest/resources.html
> Does GLib/GTK have somethin
Note I spent a lot of time writing something like this last year.
I would like to eventually port it into GTK+ as the internal implementation
of the GtkToolPalette.
See:
http://git.gnome.org/browse/libegg/tree/libegg/wrapbox
Cheers,
-Tristan
On Wed, Oct 19, 2011 at 3:09 PM, Denis Lin
On Sun, Oct 23, 2011 at 4:38 PM, Denis Linvinus wrote:
>
>
> 2011/10/19 Tristan Van Berkom
>>
>> Note I spent a lot of time writing something like this last year.
>>
>> I would like to eventually port it into GTK+ as the internal
>> implementation
>>
On Wed, Nov 23, 2011 at 1:29 PM, Anthony Mayan wrote:
> i am very to knew to gtk+, we are developing using ubuntu but what are the
> minimum requirements?
Hi,
I don't think you should consider the system that you are developing on
as the requirement for the application you are developing.
Ins
Yes it's intended.
There is a way to access the name of the widget key in the builder file,
however I've always been a little ticked about that.
Can you name me one use case of how that would be useful ?
I think gtk_buildable_get_name() will return what you want, but
again... is there any reason
2011/12/23 David Nečas :
> On Fri, Dec 23, 2011 at 03:44:56PM +0900, Tristan Van Berkom wrote:
>> There is a way to access the name of the widget key in the builder file,
>> however I've always been a little ticked about that.
>>
>> Can you name me one use case of h
file to update.
Of course if you only need a quick and dirty dialog that works quickly
for a smallish app
that wont incur you a huge maintenence cost in the future, you
probably want to skip all
of these design details, but for a larger scale app which you intend
to be maintaining and
updating f
On Mon, Dec 26, 2011 at 9:36 AM, George Brink wrote:
> On Sun, 25 Dec 2011 16:21:40 +0900, Tristan Van Berkom wrote:
>
>> For what it's worth, I see your point, and I don't consider your code to
>> be messy or obfuscated in any way for that, however it's a sort o
This will work in C,
Two questions:
- what C symbol does vala generate
for your get_type() stub
- what does vala's implementation
of GtkBuilder->get_type_from_name()
do ?
Answering those questions should
get you there
Cheers,
-Tristan
On 2012-01-14, at 12:49 PM, Damián Noh
On Mon, Jan 23, 2012 at 4:37 AM, Element Green
wrote:
> I'm currently porting my application Swami
> (http://www.swamiproject.org) from using libglade to GtkBuilder. In
> this application widgets are created on demand, for which I'm using
> gtk_builder_add_objects_from_file(). One of the drawbac
ste should be working well
enough.
Cheers,
-Tristan
>
> Best regards,
>
> Element
>
> On Sun, Jan 22, 2012 at 11:31 PM, Tristan Van Berkom wrote:
>> On Mon, Jan 23, 2012 at 4:37 AM, Element Green
>> wrote:
>>> I'm currently porting my application S
The answer is that it depends on what versions you have, I think though
that GApplication comes from a version of glib with threading
automatically initialized ?
Not sure, in some code that I need to compile with various versions I have
code setup like this:
gint
main (gint argc, gchar *argv[])
{
On Fri, Jul 6, 2012 at 1:45 PM, Paul Davis wrote:
> /* Initialize threading in older libraries */
>>
>> #if (!GLIB_CHECK_VERSION (2, 31, 0))
>> g_thread_init (NULL);
>> #endif
>>
>> #if (!CLUTTER_CHECK_VERSION (1, 9, 0))'
>
>
> these are compile time checks ... seems unwise, no?
>
Perhaps, I
On Sun, Oct 7, 2012 at 3:34 AM, mar...@saepia.net wrote:
> Dear all,
>
> I am googling for a tool for debugging refcount bugs in my GObject-based apps.
>
> I've found refdbg, but unfortunately, on ubuntu 12.04 instructions
> from this readme [1] do not work. There is only one package,
> libglib2.0
On Mon, Oct 8, 2012 at 2:47 AM, mar...@saepia.net wrote:
> Tristan, Jasper,
>
> thank you for such quick response!
>
> I've created debug report from gdb and now I am seeking for unpaired
> ref/unref.
>
> Tristan, would you mind if I post a bugzilla bug about adding such
> quick tutorial to the d
Your Glade file does not declare any GtkTextBuffer (so you need to
add a text buffer in your Glade file and set the 'buffer' property of
that view to refer to that buffer)... so view.get_buffer() returns NULL.
A suggestion:
Don't keep your GtkBuilder object alive for your program lifetime, just
c
On Fri, Jan 18, 2013 at 5:37 AM, Jan Schubert wrote:
> Assuming I have a working tooltip (realized in C) showing just text and want
> to add some simple graphics (rectangles or just lines) inside this tooltip,
> what is the best way to do so?
>
> Any tips or links?
You need to use gtk_widget_set_
On Thu, Jan 24, 2013 at 2:45 PM, Angelica Perduta wrote:
> On Thu, Jan 24, 2013 at 4:49 PM, Lex Trotman wrote:
>> They are all still there and working.
>
> I've just done a fresh install of Linux Mint and all the tools so something
> is not quite right, but I'm completely baffled ATM :(
It's har
Hi,
This is a curious situation, You should not have to be using
hard coded sizes here in order to share the space.
The main difference I think you are facing is that a scrolled
window requests a natural height of it's content but a minimum
hight of 0 (or the height required for a horizontal scro
On Sat, Feb 16, 2013 at 9:16 PM, HW Krus wrote:
> Thanks Tristan.
>
>>
>> One thing I dont understand, is why you have a viewport
>> outside of a scrolled window, what is that intended to do ?
>>
>
> The original Gtk2 code is presented in the first post (and is from Krauses'
> book). The idea is s
On Sun, Feb 17, 2013 at 9:00 PM, salsaman wrote:
> Hi,
> has anybody created a gtk3 widget similar to the gtkhruler in gtk2 ?
> It could save me a lot of work.
>
The ruler was only removed in GTK+3 because it was judged to be
too specialized to have a place in the toolkit (not very many users
of
On Thu, Mar 14, 2013 at 4:05 PM, Ian Puleston
wrote:
> I'd forgotten about that, and yes, used in combination with the previous
> suggestion it achieves the desired effect. In fact, either of these work:
>
>
> gtk_editable_set_editable(GTK_EDITABLE(gtk_bin_get_child(GTK_BIN(combo))),
> FALSE);
>
On Sun, Apr 7, 2013 at 3:18 AM, Thomas Dineen wrote:
> Gentle People:
>
> The function Color_Panel is called from a higher level GTK application.
> The following Slider Bar Example works properly on the screen!
> But how do I get the value of the adjustment out to drive the application?
> I have
On Wed, Apr 24, 2013 at 11:36 PM, marco ferrari wrote:
> Hello everybody,
> first of all I apologize in advance for any grammatical errors, but
> english is not my first language.
> I'm trying to develop a small videogame in c++ as a university project.
>
Sounds fun ;-)
> In this project the m
On Tue, Apr 30, 2013 at 8:26 PM, richard boaz wrote:
>
>> [...]
>> I've heard from quite a few people in particular in the GNOME camp who
>> believe that everything should be asynchronous and that multithreading
>> is evil.
>
>
> i don't know who these GNOME people are (very short?), but going wit
On Sat, May 4, 2013 at 10:22 PM, אנטולי קרסנר wrote:
> Hello,
>
> I'm writing a desktop application using Gnome technologies. I added
> support for some operations which may fail or produce useful errors, so
> I decided I want the app to record the warnings and errors in a log
> file, allowing me
Hi Grant,
The problem is really that you are trying to install two packages which
are just not parallel installable.
The solution is to not install the gdbus-codegen package.
For a bit of clarification, the gdbus-codegen package was a
rather short lived module, and it's unfortunate that people m
On Tue, 2013-12-10 at 06:31 +0100, onetmt wrote:
> Il 01/12/2013 21:01, Alberto Zichittella ha scritto:
> > This message dialog causes a strange behavior on my program. It seems
> > that the call to gtk_message_dialog_new() change the value of the const
> > gchar* pointer, last parameter.
> >
> >
On Thu, 2014-01-23 at 08:55 +0100, Tarnyko wrote:
> Hi Daniel,
>
> I guess that if I wanted it to work in its current state, I would have a CGI
> (or other) app handling authentication, and if successful spawning the GTK+
> application on a new IP port and redirecting the user to this port.
>
On Sat, 2014-05-03 at 00:17 -0300, Andrés Fernández wrote:
> Hi! this is my first message to this list. I don't know if is correct to
> ask this in this mailing list or in vala mailing list. I think this I
> more related with Gtk+ than with vala.
>
> I'm writing a gtk app in vala. I'm trying to le
On Mon, 2014-10-06 at 16:44 -0400, Paul Davis wrote:
>
>
> On Mon, Oct 6, 2014 at 4:05 PM, Oliver Charles
> wrote:
> On Mon, Oct 6, 2014 at 7:11 PM, Paul Davis
> wrote
>
>
> GtkLayout is NOT a canvas.
>
On Thu, 2015-02-05 at 13:26 +0100, Göran Hasse wrote:
>
> Den 2015-02-03 16:23, Emmanuele Bassi skrev:
> > hi;
> >
> > On 2 February 2015 at 22:07, G Hasse wrote:
> >> Den 2015-02-02 22:57, Gulshan Singh skrev:
> >>
> >> I strongly advice designing an application in this way. Every window in an
On Fri, 2015-02-06 at 16:27 -0600, zeta wrote:
> Hi there I am new on the community, I am a bachelor student at BUAP, I
> love gome since I meet it, and know I want to contribute in something,
> I was writing an application with gtk and when I want to create some
> cool charts I see that there isn'
On Mon, 2015-02-09 at 15:05 +, Norman, Anders wrote:
[...]
> But the application ends up leaking the signal generated in
> `dbus_foo_default_init()` which looks like this:
>
> static void
> dbus_foo_default_init (DbusFooIface *iface)
> {
> /* GObject signals for incoming D-B
On Tue, 2015-02-10 at 00:32 +0900, Tristan Van Berkom wrote:
> On Mon, 2015-02-09 at 15:05 +, Norman, Anders wrote:
> [...]
> > But the application ends up leaking the signal generated in
> > `dbus_foo_default_init()` which looks like this:
> &
ou
did, you would still have the interned strings as a result of
signal and property declarations in memory which cannot be
'uninterned').
Your best bet is to add the appropriate suppressions to your
valgrind setup and focus on catching the leaks with are, in
fact, actually leaks.
Cheers,
On Tue, 2015-02-10 at 08:45 +, Norman, Anders wrote:
> > From: Tristan Van Berkom [mailto:tris...@upstairslabs.com]
> > Sent: 10. februar 2015 08:25
> > To: Norman, Anders
> > Cc: gtk-list@gnome.org
> > Subject: RE: Memory leak in gdbus-codegen generated code
&g
On Sun, Aug 9, 2015 at 3:11 AM, Igor Korot wrote:
Emmanuele,
On Sat, Aug 8, 2015 at 1:52 PM, Emmanuele Bassi
wrote:
Use "Yes", but please: consider using a more descriptive label and
icon than
just "yes".
The "Yes", "No" and "Cancel" are legitimate button labels, especially
if used
in
On Sun, Aug 9, 2015 at 10:09 PM, Igor Korot wrote:
Hi,
On Sun, Aug 9, 2015 at 8:00 AM, Thiago Bellini Ribeiro
wrote:
On Sun, Aug 9, 2015 at 1:46 AM Daniel Kasak
wrote:
No no no. Everybody is wrong. What we need is:
[ Actually, now that I come to think about it, this is not the
action
> On Sep 20, 2015, at 8:05 AM, Stefan Salewski wrote:
>
> OK, gtk_widget_set_sensitive () will do it.
>
> But I wonder how to do it for menu items that change sensitively often,
> for example COPY menu item. I can set it sensitive whenever something
> is selected in my application, for example
Hi Chris,
Unfortunately no, the id in the gtkbuilder xml is only useful in apis such as
gtk_builder_get_object(), one must actually set the "name" property of the
widget before addressing it as #name in the css.
This is at least partly because css parsing does not strictly enforce a policy
tha
Hi,
Before getting into detail I should lead with the fact that on one
hand, a program like Glade is complex, more so than most would expect,
on the other hand; Glade has never really been a funded project, we've
had a couple of brief sponsorships mostly thanks to Murray and
Openismus but the bulk
On Sat, 2017-03-04 at 07:11 +0300, LRN wrote:
> On 04.03.2017 6:20, Michael Torrie wrote:
[...]
> No, actually, forget preview. It was a mistake to bring it up, as
> people get
> the wrong idea.
> My limited understanding of how Glade currently works is that it does
> some OOP
> magic to fool GTK w
On Thu, 2017-03-16 at 10:42 +0100, Emmanuel Pacaud wrote:
> Hi,
>
> I have an issue related to the use of g_signal_emit called from an
> object thread.
>
Hi Emmanuel,
I dont think there is an easy way out of that.
I have used GWeakRef for references that threads make to objects owned
by paren
On Fri, 2017-03-17 at 14:26 +0100, Emmanuel Pacaud wrote:
> Le ven. 17 mars 2017 à 9:52, Emmanuel Pacaud a
> écrit :
> >
> > Le ven. 17 mars 2017 à 6:43, Tristan Van Berkom
> > a écrit :
> > >
> > > On Thu, 2017-03-16 at 10:42 +0100, Emmanuel Pacau
On Sat, 2017-03-18 at 14:29 +0900, Tristan Van Berkom wrote:
> On Fri, 2017-03-17 at 14:26 +0100, Emmanuel Pacaud wrote:
> >
> > Le ven. 17 mars 2017 à 9:52, Emmanuel Pacaud
> > a
> > écrit :
> > >
> > >
> > > Le ven.
On Sat, 2017-03-18 at 07:25 +0100, Emmanuel Pacaud wrote:
> Le sam. 18 mars 2017 à 6:29, Tristan Van Berkom
> a écrit :
> >
> > I took a brief look into your code, your thread it calling:
> >
> > arv_stream_push_output_buffer()
> >
> > Which is
On Tue, 2017-06-06 at 11:50 +0200, Stefan Salewski wrote:
> Some years ago I read about floating references as described in
>
> https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html
>
> Of course that makes sense.
>
> Newly created objects get ref count 1, but are floatin
On Tue, 2017-06-06 at 21:28 +0100, Chris Vine wrote:
> On Tue, 6 Jun 2017 22:10:39 +0200 (CEST)
> > Rafal Luzynski wrote:
> >
> > > > 6.06.2017 21:41 Chris Vine wrote:
> > >
> > > [...]
> > > No one is suggesting reworking. This is no more than intellectual
> > > interest in the original design
On Tue, 2017-06-06 at 23:32 +0200, Rafal Luzynski wrote:
> > 6.06.2017 22:28 Chris Vine wrote:
> >
> > [...]
> > GObjects not derived from GInitiallyUnowned are indeed weird, as I think
> > you are suggesting. They start with a reference count of 1 but without
> > an owner.
>
> As far as I under
Axel wrote:
>
> I didn' t understood the difference between g_signal_connect() and
> g_signal_connect_swapped() (even while reading the tutorial), could someone give me
> a clear explaination?
> BTW, i ask again if someone knows out to have a relief GtkMenuItem in a GTKMenuBar
> Thks
In the API
> g_signal_connect_swapped(G_OBJECT(window), "destroy",
> G_CALLBACK(g_free), someobject);
Ahhh; never though of that, thats pretty cute ;-)
Evan Martin wrote:
>
> On Thu, Mar 20, 2003 at 09:54:09AM -0500, Tristan Van Berkom wrote:
> > Hmmm... it seems to
http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html
(see "Description")
is not clear on that point IMHO.
Anyhow; its just food for thought ;-)
Cheers,
-Tristan
Evan Martin wrote:
>
> On Thu, Mar 20, 2003 at 09:54:09AM -0500, Tristan Van Berkom wrote:
gtk_widget_get_ancestor(widget, GTK_TYPE_WINDOW)
or
gtk_widget_get_toplevel(widget)
they both have thier particularities;
http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-get-toplevel
gives a brief description.
Cheers,
-Tristan
Axel wrote:
>
> Hi
> here is
You might do well to note also that gtkwidget.c is like a HUB for all
theese events.
As input, you get your GdkEvents and as output, you have a bunch of
basic signals
that are "emmited" at the GtkWidget level and handlers are "implemented"
by various
subclasses.
you should probably read this:
Manoj tr wrote:
Hai
How to create Makefile.am , Makefile and Makefile.in for a group of source programs in c
You'll find it all here:
http://www.gnu.org/manual/manual.html
Cheers,
-Tristan
___
gtk-list mailing list
[EMAIL PROTECTED
Ledgards wrote:
Hi, hope you can help me with the following:
I have an asignment at college to elaborate a program
that can read the serial numbers of the hard drives
and place this number in a text box. Any suggestions
about where i can find more info about this or if
anybody have any code portion
Dipak G Patil wrote:
Hi,
Can anybody tell me how I can achieve message loop functionality as like
in windows on linux ?
As on windows there is single windows procedure, which handles all events
for all objects,
so can I achieve this on linux using GTK+ rather than writting callbacks
per object
Christer Palm wrote:
John Cupitt wrote:
Very simple and easy to program. I'm assuming writing 4 bytes to a
pipe is atomic, I guess. I've not had problems (even on SMP machines),
but it would be easy to add a global mutex for the pipe writers.
Oh, by the way. On a POSIX conformant system, a write to
Dmitry M. Shatrov wrote:
[ ... ]
Could you point to some additional documentation on how to actually
create own `GSource`s? An example? I'm stuck with it just because plain
glib docs didn't give me understanding of what is what, and google was
also successfull in keeping the secret.
A good examp
DANIELLLANO wrote:
I've seen this and I think there should be a tutorial of the
reffing/unreffing thing. Not many people including me knows how
references should be taken care of.
Is there and easy tutorial of reffing/unreffing?
Is anyone willing to make one?
Its really a quite simple concept a
Erik Jonsson wrote:
If I create a GtkDrawingArea and only use GdkPixMaps to
update it. Will all graphics be handled on the server side?
A GdkPixmap is on the X server (it represents a Pixmap, which
is an XID).
If the DrawingArea uses only a GdkScreen I guess it should
all be server side but if it's
Tiago Cogumbreiro wrote:
Yes the examples were not online, now they are, sorry about that.
Also I've created a copy named gtk_threads.html, because links does not
go well with .xhtml extension.
I've updated it and corrected some typos.
You can read the article in this link:
http://tiago.blogdns.org
Chris Caron (OTI) wrote:
i understand threads in gtk for the most part
But what do you do when both functions call the same "share me function"
where that could simply be jsut a function that creates a gui image, or
whatever.
since you have to impliment locking on the function, is it safe to
Tiago Cogumbreiro wrote:
I agree with the title being misleading. But if you think about it an
article explaining GCondition, GMutex and g_thread_join() would also be
misleading, the correct title for that kind of article would be
"Threaded Programming with GThread" or "Threaded Programming with GL
[EMAIL PROTECTED] wrote:
Hello,
I have deseperatly tried to upgrade the gtk+-1.2.10.25.i386.rpm
to gtk-1.2.10-346.i386.rpm, but I always get a series of error
mesages.
Even when I try an update with the same package (see below).
There might be conflicts with other libraries but I don't know
wh
[EMAIL PROTECTED] wrote:
Hello,
[...]
Can you give me advices ? I am lost and don't know what to do.
Cheers, Xavier Droubay.
Hi,
Are you only concerned with upgrading gtk+-1.2 on your system ?
If that is the case, I would firstly obtain the versions of rpms
you are about to overwrite in case yo
Hi all,
I've been grepping the web for a while now and cant seem to find the
right version of libglade, can someone please point me to:
- The version number of libglade which is compatible with XML files
generated by glade-2.6 (using gtk+-2.4)
- Where I can download the source
TIA
Igor Gorbounov wrote:
Hi, All!
I wonder if there is a way to resize a window gradually (as if animated)
when
a, for examle, set_size_request(...) is issued. Now the window is resized
abruptly as a treeview is expanded (and that bothers the users).
I'm not sure about this one, but I think that this
On Tue, 28 Sep 2004 15:15:02 -0400, Patel, Nilesh M
[...]
> I know this maybe a stupid question, but when I do this:
>
> ./configure --prefix=/opt/gtk
>
> shouldn't my package (pkgconfig) be installed in the /opt/gtk directory. after I run
> that command I go to the /opt/gtk directory but see n
On Tue, 28 Sep 2004 16:55:02 -0400, Patel, Nilesh M
[...]
> Is there a way where I can give chmod 777 permission to all files in a given folder
> so I do not have to type chmod 777 filename for each file. I have about 100 plus
> files in a given folder that needs chmod 777 permission. Is there a
On Sun, 31 Oct 2004 09:26:00 +0100, antongiulio <[EMAIL PROTECTED]> wrote:
[...]
> Why using g_object_unref to place g_free?
g_free is used to free a memory region, g_object_unref decreases
the reference count on a GObject (or any derivitaves ofcourse).
(when the reference count drops to 0, all
On Tue, 9 Nov 2004 20:26:55 +, David J. Singer
<[EMAIL PROTECTED]> wrote:
>
> I have a table I'm using for widget layout. It's basically always
> two columns but I would like the number of rows to be
> changeable programmatically.
>
> I define by table initially with something like:
>
> ta
On Mon, 15 Nov 2004 17:07:17 +0100 (CET), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi,
> I don't know if this list deals with glib, it seems to deal more with Gtk.
> Does anyone knows where I can get helped on glib and my problem on
> GModule :
>
> I'm trying to use GModule in a special way
On Wed, 24 Nov 2004 15:22:42 -0600, brian mcandrews
<[EMAIL PROTECTED]> wrote:
> A couple of days ago there was a discussion on drawing in a
> GtkDrawingArea only withing the expose_event handler. My question is,
> what should go into the realize handler concerning a GtkDrawingArea?
Unless you ha
On Thu, 25 Nov 2004 10:59:37 -0600, brian <[EMAIL PROTECTED]> wrote:
> > After realization, a drawing area will have a widget->window available for
> > drawing, it is also inconcievable that you recieve any "events" before
> > realization, since events come from the GdkWindow created in realize.
>
On Fri, 26 Nov 2004 15:31:19 +0100, edward hage <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have the strangest problem.
>
> Recently I bought another computer and installed Linux Suse and by hand
> gtk-2.4.10 and the
> whole bunch (glib, pango, etc...).
Hmmm,
theres obviously something subtle
On Fri, 3 Dec 2004 16:33:27 -0700, Neil Zanella <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to know whether the function call
>
> g_signal_handlers_block_by_func
>
> can be applied to (external) events in the same way as it can be applied
> to (internal) Gtk signals so as to temporarily
On Mon, 6 Dec 2004 14:12:33 -0800 (PST), Scott Dattalo
<[EMAIL PROTECTED]> wrote:
[...]
> Does anyone have an idea why g_io_channel_read_chars() behaves
> different than g_io_channel_read()?
Sorry I havent got a clue...
But you could try something like:
while ((g_io_channel_get_buffer_condition
On Wed, 8 Dec 2004 15:00:28 -0700, Neil Zanella <[EMAIL PROTECTED]> wrote:
> On Mon, 6 Dec 2004 09:08:43 -0500, Tristan Van Berkom
>
>
> <[EMAIL PROTECTED]> wrote:
> > On Fri, 3 Dec 2004 16:33:27 -0700, Neil Zanella <[EMAIL PROTECTED]> wrote:
> > > He
On Mon, 13 Dec 2004 15:28:22 +0100, Piotr Legiecki
<[EMAIL PROTECTED]> wrote:
[...]
> Thanx, but I know about gnomedb. I don't want to be gnome dependant. So
> my question is still valid.
>
> I wonder why nobody has written such a usefull wigdet.
Have you looked at gtkextra.sf.net ?
(I dont know
On Tue, 28 Dec 2004 18:27:45 +0200, Baurjan Ismagulov
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using The GList API of glib 2.6.0 and wish to redefine the out of
> memory handler. What is the best way to do that? If I have to modify
> glib itself, is it enough to replace g_error?
If GTK+ en
On Tue, 4 Jan 2005 16:04:23 +, Eli Yukelzon <[EMAIL PROTECTED]> wrote:
> Hi there.
> I've stumbled uppon some weird behavior of g_hash_table, maybe some
> one can tell me if I wrong with this, or is this a real memory leak.
> Here's a little c prog that demonstrates the problem:
> =
[...]
> > Your problem is probably that you are combining asprintf() with g_free(),
> > using g_strdup_printf should give you better results.
> >
>
> I rewrote the code using:
> a = g_strdup_printf("a");
>
> And have absolutely the same result!
Hmmm, maybe you found a leak;
Why dont you try run
On Fri, 7 Jan 2005 02:43:45 -0800 (PST), Pramod Patangay
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have PNG data in memory which is essentially the
> contents of a png file. I need to create a GdkPixbuf
> from this data. How can I do this?
Hmmm, GdkPixbuf API docs have a section on this:
http://d
On Fri, 7 Jan 2005 16:38:25 +0100, David Necas (Yeti)
<[EMAIL PROTECTED]> wrote:
[...]
> I don't think so. This function creates a pixbuf from
> a `serialized' GdkPixbuf, created by gdk-pixbuf-csource.
>
> I would probably dump the data to a PNG file and use
> gdk_pixbuf_load(). That's not optim
On Fri, 07 Jan 2005 12:51:11 -0500, Dean McCullough <[EMAIL PROTECTED]> wrote:
> I would like to use a label (or something similar) to provide feedback
> to the user on the current value of a parameter (level).
>
> I would like to use code simular to the following:
>
> char lab[10];
> sprintf(lab
On Sat, 29 Jan 2005 20:28:57 -0800, Ben Johnson <[EMAIL PROTECTED]> wrote:
> I need some advice. I'm used to working in C, so I'm not used to making
> decisions about when to create sub-classes and when I should just use
> callbacks.
>
> One feature of the app I'm making is a global inactivity ti
On Mon, 31 Jan 2005 12:42:33 -0800, Adrian E. Feiguin <[EMAIL PROTECTED]> wrote:
> Hi all.
> This is an example, but there are many cases when I want to do
> something similar:
>
> Suppose that I change the state of a toggle button with
> gtk_toggle_button_set_active or gtk_widget_set_state. T
On Wed, 2 Feb 2005 15:09:00 -0800, Ben Johnson <[EMAIL PROTECTED]> wrote:
[...]
> The only reason I didn't use a GObject to begin with is I don't
> understand very well how the property thing works... I don't know if it
> possible to just set random properties without first declaring them...
> you
On Mon, 14 Feb 2005 11:38:46 -0700, Chris Garrett <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How do I iterate windows in gtk/gdk? I have tried the different toplevel
> functions but they only ever return 1 window. I'm using gtk 2.0.6 (rh8).
Use gtk_container_foreach() and write a recursive foreach func
On Thu, 24 Feb 2005 20:13:06 +0100, Daniel Campos
<[EMAIL PROTECTED]> wrote:
> Jim Isom escribió:
>
> > To whom it may concern,
> >
> > We received a security issue from Hewlett Packard regarding the
> > version GLIB-1.2.10, & GTK+-1.2.10 (Which we currently have
> > installed), I went to your sit
On Wed, 9 Mar 2005 10:43:10 -0500, Rick <[EMAIL PROTECTED]> wrote:
[...]
> Can I generate glade XML files (.glade) on the fly and have them used
> by my application (via libGlade?) at run time to create dialogs?
Yes.
> If so, can I then save the state of those dialogs to a new XML
> (.glade) file
Yueyu Lin wrote:
Hi,
After reading the G-lib system carefully,I think I understand the GLib
system. So I writer the following codes:
[...]
Here are a few comments:
gint pet_get_ages(Pet *pet){
if((pet)&&(pet->priv)){
return pet->priv->ages;
}
return 0;
}
void pet_set_ages(Pet *pet,in
Mike Emmel wrote:
I've noticed that the GdkEventMotion x y positions are given in
floating point coordinates and was wondering why ?
I'd assume that this is just because xlib delivers the value
as `double'.
I've looking at GTK for embedded use and this is and issue.
How is floating point coordinate
Yueyu Lin wrote:
[...]
> I have another question: why GInstanceInitFunc is needed
> since the constructor can do the same thing? Is it possible to not
> override the parent's constructor just add new codes in the
GInstanceInitFunc?
Yes;
Usualy (or I guess I should say "historicly") people use
1 - 100 of 307 matches
Mail list logo