Re: can't get touch-events from touchscreen

2015-10-29 Thread Olivier Sessink
2015-10-28 20:05 GMT+01:00 Olivier Sessink <oliviersess...@gmail.com>: > Hi all, > > I have a PiTFT, a 2.8" capacitive touchscreen for the Raspberry Pi on > raspbian (gtk 3.10.x). It works perfect, except that I only receive button > events, and I fail to receive

can't get touch-events from touchscreen

2015-10-28 Thread Olivier Sessink
Hi all, I have a PiTFT, a 2.8" capacitive touchscreen for the Raspberry Pi on raspbian (gtk 3.10.x). It works perfect, except that I only receive button events, and I fail to receive touch events. Also kinetic scrolling is not working. What can I do to fix this? I tried various things to get

Re: populate gtk tree view from outside

2012-09-12 Thread Olivier Sessink
On 09/12/2012 12:21 PM, Rudra Banerjee wrote: [..] strAuth = gtk_entry_get_text(GTK_ENTRY(e-entryAuth)); strEditor = gtk_entry_get_text(GTK_ENTRY(e-entryEditor)); Is it possible to add these strAuth, strEditor in those treeview's 1st and 2nd column? just acquire an iterator at the

Re: populate gtk tree view from outside

2012-09-12 Thread Olivier Sessink
On 09/12/2012 06:30 PM, Rudra Banerjee wrote: Oliver, Thanks for your reply. The problem basically is to pass on the function argument from one to other. you need to create a header file (main.h) that has the enum, and extern GtkListStore *treestore; in main.c define GtkListStore *treestore;

Re: Howto make a Gtk.Buttonbox look like the path bar in Gtk.FileChooserDoalog?

2012-09-03 Thread Olivier Sessink
On 09/03/2012 11:57 AM, Moritz Renftle wrote: Hi, I recently noticed the nice appearance of the path bar widget in the GtkFileChooserDialog: http://imagepaste.nullnetwork.net/viewimage.php?id=4889 This look is also used for the top bar in the new GNOME system-settings. I was wondering

Re: compile multiple source file

2012-08-31 Thread Olivier Sessink
On 08/31/2012 04:48 PM, Rudra Banerjee wrote: If they are in separate file, then, $ gcc `pkg-config --cflags --libs gtk+-3.0` hello.c main.c -c main.c: In function ‘main’: main.c:13:5: error: ‘hello’ undeclared (first use in this function) main.c:13:5: note: each undeclared identifier is

Re: button background color in gtk3

2012-08-29 Thread Olivier Sessink
On 08/29/2012 05:17 PM, Carlos Pereira wrote: Quite often widget colors are just a question of style but sometimes this is not the case. I can think of medical applications, for example, where colors can be critical. In my case, I have a chemical periodic table made with GTK buttons, each

Re: Trouble maximizing windows on MS Windows

2012-08-28 Thread Olivier Sessink
On 08/27/2012 06:27 AM, Jared Henley wrote: I have a Gtk application that needs windows to be maximised at their creation. This is specifically because i) there's a lot of information in tables that needs maximisation in order to deal with sensibly, and ii) quite a lot of these windows are

Re: Why doesn't my label show up in the window

2012-08-27 Thread Olivier Sessink
On 08/27/2012 09:30 AM, Frank Cox wrote: My mailserver is small and I need to pace the email that I send to it to avoid DOS-ing it. Therefore, I inject a pause of a fixed number of seconds between sending each outbound email. If I'm not allowed to pause the program, then how shall I create

Re: auto refresh file in textview

2012-08-24 Thread Olivier Sessink
On 08/23/2012 02:45 PM, Rudra Banerjee wrote: Dear friends, I am openning an existing file in textview from command line as: textview = gtk_text_view_new(); gtk_container_add(GTK_CONTAINER(scrolledwindow), textview); textbuffer =

Re: GTK 2.24.10 memory leak on win32?

2012-07-02 Thread Olivier Sessink
On 07/02/2012 04:44 PM, Gabriele Greco wrote: We have found a regression that block us to migrate our existing apps from GTK 2.16.x to GTK 2.24.10 (20120208), it seems there is a memory leak in g_idle_add() use or something related to queue_draw(), anyway the following code (that I think is

Re: multiple GTKentry inside a GTKnotebook

2012-06-20 Thread Olivier Sessink
can you post a larger bit of the code? it is difficult to see what's going on. b.t.w. gtk_combo_box_new_text() is deprecated, use gtk_combo_box_text_new() Olivier 2012/6/20 Rudra Banerjee bnrj.ru...@yahoo.com: Thanks for your reply jjacky. This is a mistake; but does not changeing the result.

Re: Accelmap value

2012-06-20 Thread Olivier Sessink
after a bit of testing, it seems to me that the altgr key advertises itself just as alt to gtk... Olivier 2012/6/19 drkmkzs drkm...@gmail.com: Hi, I'm using a gtk application with an accelmap file. All shortcuts with Control, Shift, or Alt are currently available. But if I want to add some

Re: Setting the size of tabs in a Notebook?

2012-05-15 Thread Olivier Sessink
that I haven't played with the tab-curvature and tab-overlap style properties yet. Olivier 2012/5/15 Olivier Sessink oliviersess...@gmail.com: I haven't found a good way, but I'm looking to make them smaller. You can use a different font in the labels, but with some themes (most notably the gtk3

Re: Table not visible

2012-05-08 Thread Olivier Sessink
On 05/09/2012 07:10 AM, Rudra Banerjee wrote: Dear friends, I am a newbie in GTK and also in C itself. I am trying to develop a table (thanks to awesome tutorials available). I am currently facing a problem. In the given code, its working fine. Posted is a minimal example I managed to

Re: GtkButton bg color

2012-05-08 Thread Olivier Sessink
On 04/30/2012 11:36 PM, Steve wrote: If this doesn't work, you must be using a GTK theme that is overriding the coloring of widgets. Just confirmed that it is in fact the them preventing me from changing the bg color of the button. I vaguely recall that when i read the GtkRcStyle and

Re: GtkTextView Sizing Issues

2012-05-08 Thread Olivier Sessink
On 04/26/2012 09:04 AM, Paul wrote: Hi there, Sorry for the bump, but there's also another issue that's frustrating me. If I compile the test application with the gtk_widget_set_hexpand line uncommented I see more unexpected behaviour resizing the window horizontally. which gtk version are

Re: GTK program (a Gimp plugin) crashes only on Windows

2012-05-08 Thread Olivier Sessink
On 04/25/2012 06:58 PM, Alessandro Francesconi wrote: Hello everyone, I'm facing a problem with the development of a plug-in for The Gimp program. I'm writing here because it uses GTK libs and, actually, the problem regards a crash of a GTK widget. my experience is that the memory allocator

Re: memory lead while using Glib regexp

2012-03-05 Thread Olivier Sessink
On 03/02/2012 04:00 AM, Xi Yang wrote: Hi, everyone! I use Glib's regular expression in a cycle, and find a rapid memory consumption increase. Did I forget to release anything? since nobody replied I'll give it a shot (without any C++ knowledge): does seq.header.c_str() return a newly

Re: memory lead while using Glib regexp

2012-03-05 Thread Olivier Sessink
On 03/05/2012 04:56 PM, Bernhard Schuster wrote: No it does, not I already cross-read it and it looks fine, did you give it a shot with valgrind? no I did not, the comment was based just on your code. What does valgrind report on your code? Olivier Regards Bernhard Schuster Am 5. März

Re: Push button with enter

2012-02-22 Thread Olivier Sessink
On 02/21/2012 10:14 AM, Stefan Sauer wrote: On 02/13/2012 03:18 PM, Manuel Ferrero wrote: I'd like to have a button pushed every time I press the Enter key, even if that button is not selected. Let say I click on a text box, I write some text and then when I press Enter the button is pressed.

Re: GList empty after iteration?

2011-09-21 Thread Olivier Sessink
On 09/12/2011 11:33 PM, Craig wrote: On Mon, 2011-09-12 at 22:20 +0200, Florian Müllner wrote: You are modifying the list in the loop until g_list_next() returns NULL ... Right. I understand this now. However, I thought using g_list_first() would set GList *events back to the first

Re: g_idle_add source memory leaks

2011-05-11 Thread Olivier Sessink
On 05/09/2011 01:36 PM, Gabriele Greco wrote: just a note on your example code: use the GPOINTER_TO_INT and GINT_TO_POINTER macro's to avoid 64bit portability problems: gboolean mycbk(gpointer data) { gint val = GPOINTER_TO_INT(data); char buffer[16]; sprintf(buffer, %09d,

Re: memory leak in PangoLayout?

2011-05-11 Thread Olivier Sessink
On 05/06/2011 09:28 AM, Olivier Sessink wrote: Hi all, valgrind reports a memory leak in the following code: gint widget_get_string_size(GtkWidget * widget, gchar * string) { PangoLayout *layout; gint retval = -1; layout = gtk_widget_create_pango_layout(widget, string); if (layout != NULL

Re: memory leak in PangoLayout?

2011-05-07 Thread Olivier Sessink
On 05/07/2011 12:00 AM, Bill C wrote: On 06/05/11 17:28, Olivier Sessink wrote: Hi all, valgrind reports a memory leak in the following code: gint widget_get_string_size(GtkWidget * widget, gchar * string) { PangoLayout *layout; gint retval = -1; layout = gtk_widget_create_pango_layout(widget

Re: destroying an unparented widget

2011-05-07 Thread Olivier Sessink
On 05/05/2011 09:37 PM, Allin Cottrell wrote: There's one thing I've never quite understood: the correct mechanism for destroying a gtk widget that is never parented or shown. The context is that I'm creating a temporary widget with gtk_label_new(), just for the purpose of getting hold of its

memory leak in PangoLayout?

2011-05-06 Thread Olivier Sessink
Hi all, valgrind reports a memory leak in the following code: gint widget_get_string_size(GtkWidget * widget, gchar * string) { PangoLayout *layout; gint retval = -1; layout = gtk_widget_create_pango_layout(widget, string); if (layout != NULL) {

Re: large performance difference between gtktextview and gtksourceview

2010-11-05 Thread Olivier Sessink
On 11/05/2010 11:47 AM, Paolo Borelli wrote: Actually, gtksourceview is a subclass of gtktextview so it supports BiDi and i18n as good as gtktextview does. If it doesn't it is a bug. With regard to the performance differences, it seems very strange that you see a difference, especially one

large performance difference between gtktextview and gtksourceview

2010-11-04 Thread Olivier Sessink
Hi all, loading 1Mb of UTF-8 encoded text into a gtk text view seems to take much more time than loading the same buffer into gtksourceview. Since gtksourceview has all of the functionality of gtktextview and more, where is this difference coming from? And does this mean that we can improve the

Re: DGSEAL_ENABLE: replace direct addressing in statusbar

2010-09-16 Thread Olivier Sessink
On 07/04/2010 07:57 AM, Carlos Pereira wrote: On 07/04/10 06:17, Nader Morshed wrote: statusbar = gtk_statusbar_new (); label = gtk_statusbar_get_message_area (GTK_STATUSBAR (statusbar)); gtk_misc_set_alignment (GTK_MISC (label), 0.5, 0.5); Thanks Nader, I believe you are in the right

Re: Plot an XML file into a tree with GTK+

2010-08-04 Thread Olivier Sessink
On 08/04/2010 07:11 PM, Monchai Lertsutthiwong wrote: Hi, I am quite new for GTK+. What I try to do now is to plot all details in an XML file into a tree-structured view. For a big tree, there may be a + button to expand the tree. Is there any good example code for it? not 100% relevant

Re: How can I read contents from applications' buffer by programming ?

2010-08-03 Thread Olivier Sessink
On 08/03/2010 03:55 AM, a qi wrote: HI,ALL for example: I use firefox to open a webpage, how can I read contents of that page ? so that I can filter out unwanted information by programming you probably want to ask this on a Firefox development mailinglist. Firefox has it's own

Re: Hardware accelerated 2D graphics (with gtk-osx)

2010-08-02 Thread Olivier Sessink
On 07/28/2010 09:15 AM, John Emmas wrote: This morning I've come across this mailing list which has got me confused:- http://sourceforge.net/mailarchive/forum.php?forum_name=gtk-osx-users Up until now I'd assumed that gtk-osx was produced / administered by gnome.org but the above mailing list

Re: multithreading gtk app

2010-06-30 Thread Olivier Sessink
it would be good if the gtk tutorial would spent some pages on threads. In these days where multicore cpu's are becoming the standard a lot of programs can benefit from threads. I'm willing to help with that, I contacted the webmasters from gtk.org about it some time ago but I never received a

Re: central 'library' of self-contained real world examples of code for gtkwidgets

2010-06-30 Thread Olivier Sessink
2010/6/27 Mick bare...@tpg.com.au: In veiw of the nightmare I've had finding non-trivial example code for assembling/implimenting gtk widgets recently I have decided to attempt to assemble a library of functions that impliment a task at a more advanced level than your typical 'Hello world'

gtk_ui_manager_add_ui_from_string on inline string vs. _from_file

2010-06-25 Thread Olivier Sessink
Hi all, what are the advantages of using gtk_ui_manager_add_ui_from_string() using a inline compiled string vs. gtk_ui_manager_add_ui_from_file() ? from_string() enlarges the executable, but the executable is one file that is read from disk as a contiguous block, from_file() makes the

Re: gthreads and file operations

2010-04-14 Thread Olivier Sessink
Nischal Rao wrote: is there any way to listen to signals without calling gtk_main() (which never returns) ? If so, then i ll be able to get rid of threads(happily!!) I am new to glib threads and gnome signals.. i have just been following examples that i found on the net. What kind of

Re: gthreads and file operations

2010-04-13 Thread Olivier Sessink
Nischal Rao wrote: the sample code is: [..] your use of threading doesn't make sense. All your threads are within a lock, so you have three threads (main + two threads) but they can never execute any instructions in parallel, because they all wait for the global gdk lock. Everything you want to

Re: Searching a GtkTreeView

2010-03-20 Thread Olivier Sessink
Micheal Smith wrote: That could work. I've thought of similar tricks already myself. I just figured that had to be the wrong way to go about it. Is there nothing supplied by the API to support something like this? you can use a filter, and make the treeview refilter for every key press in

Re: gtk window accelerator process problem.

2010-03-16 Thread Olivier Sessink
what works and what does not? if your focus is in the text widget I guess you get the 'textview copy' action, and if your focus is elsewhere you get the menu callback ? Or is it different? b.t.w.: do your users expect that ctrlc works differently in a different context? Olivier 2010/3/1 Xiaoyu

threading choices

2010-03-02 Thread Olivier Sessink
Hi all, it seems that are two (or more) choices how to work with threads in gtk. You can #1 use a global lock and call gtk from any thread, or you can #2 limit your gtk calls to the main loop and not use the global lock. As far as I understood, method #2 is portable to win32, and method #1 is

Re: g_spawn_async_with_pipes on windows

2010-02-11 Thread Olivier Sessink
2010/2/10 Tor Lillqvist t...@iki.fi: g_spawn_async_with_pipes() to launch an other executable (firefox in this case). Do you expect to provide input to Firefox's stdin, or get output from its stdout, through the pipes then? (That would be a bit strange for a GUI app like a web browser,

g_spawn_async_with_pipes on windows

2010-02-10 Thread Olivier Sessink
Hi all, we're porting a gtk application to windows, and we're using g_spawn_async_with_pipes() to launch an other executable (firefox in this case). For some reason it fails to execute the binary, locks the gtk application, and nothing happens anymore. We've tested with a full path to the

Re: Multi-threaded gtk_main()s

2006-01-16 Thread Olivier Sessink
Nikolaj Kiær Thygesen wrote: Hey list, I'm currently writing a multi threaded gtk-app, and knowing that calling gtk_main() simultaneously from different threads is a no-go, it's more subtle: calling gtk functions simultaneous from different threads is a no-go. gtk (and X) is not thread-safe.

building modules/plugins (GModule) in a portable way

2005-12-29 Thread Olivier Sessink
Hi all, we have excellent portable GModule functions for module loadingin glib, but how do we compile them in a portable way? I thought libtool was the solution, but I have little success there. My plugin uses symbols that are exported by the application, and the plugin exports a single symbol

cleanup data set with g_object_set_data()

2005-12-17 Thread Olivier Sessink
Hi all, if data is set with g_object_set_data(), is that automatically freed if the object is unreffed? Olivier ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Reading from a block device without permission

2005-12-07 Thread Olivier Sessink
of devices may dynamically change with the type of device connected. regards, Olivier Sessink ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: change condition on io_watch

2005-12-02 Thread Olivier Sessink
Christoph Simon wrote: Hi, I'm trying to write a gtk+ program which is chatting with a server while allowing the user to do other things. Initially I'm using g_io_add_watch() which works fine while waiting for read and write events. The problem is, that the server is always write-ready,

Re: Problem sending data to gtk_button on clicked event

2005-11-09 Thread Olivier Sessink
Evan Behar wrote: I've been getting seg-faults when I try to work with data in my button clicked callback functions, so as a test, I compiled and ran the following program: #include gtk/gtk.h gchar m1[] = button 1; gchar m2[] = button 2; static void callback(GtkWidget* widget,

Re: optimal way to use Memory Chunks

2005-11-07 Thread Olivier Sessink
Gus Koppel wrote: Using such a feature like GMemChunk makes sense only if the size of the objects (atoms) isn't too small (less than about 16 bytes as a rule of thumb). Your atoms appear to be the smallest ones possible at all. GMemChunks are especially helpful for linked lists of any sort.

Re: call back problems

2005-11-07 Thread Olivier Sessink
Dennis Morgan wrote: Hi, i am just wondering if there is a way to halt a call back till another one has finished using a function? there is a g_signal_handler_block() function which does this store the return value of g_signal_connect() in your data structures, and use it to block or

Re: GTK+ programming and session managment

2005-11-07 Thread Olivier Sessink
Kurucz Istvan wrote: Hy ! 'I'm developing an application in GTK+ under Linux using programming language 'C' and I'd like to create an option which allowes cooperation with the 'Session Saver' function. I'd like something like the 'gnome terminal'- so if the user asks for the 'Session

Re: call back problems

2005-11-07 Thread Olivier Sessink
Dennis Morgan wrote: Hi Olivier, Can you explain something. the g_signal_handler_block function, am i right in thinking it goes inside the call back function itself? no, you when you call _block(), from that moment on the signal handler will not be called anymore for that signal, until you

optimal way to use Memory Chunks

2005-11-01 Thread Olivier Sessink
is when *not* to use GMemChunk, and when *to use* GMemChunk. thanks, Olivier Sessink ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: re-filter GtkFileChooser widget after changing custom GtkFileFilter

2005-10-27 Thread Olivier Sessink
Iago Rubio wrote: I've tried to simply set the filter function in the callback: GtkFileFilter *filter = gtk_file_chooser_get_filter(GTK_FILE_CHOOSER(dialog)); gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), filter); but that doesn't trigger the refiltering... Not quite elegant and

Re: *UPDATE* Binary writing to an input pipe and ASCII reading from an output one

2005-10-27 Thread Olivier Sessink
Colossus wrote: The red bytes do not correspond to the written ones: Bytes letti: 65536 Bytes scritti: 65536 Bytes letti: 65536 Bytes scritti: 2015 Bytes letti: 65536 Bytes scritti: 0 Bytes letti: 65536 Bytes scritti: 0 Bytes letti: 65536 Bytes scritti: 0 Bytes

Re: Meaning of G_IO_STATUS_AGAIN apart from resource temporarily unavailable ?

2005-10-27 Thread Olivier Sessink
Colossus wrote: Hi, I red the docs on GIOChannels but I'm stuck regarding what means resource temporarily available with non-blocking I/O that means that the buffers are full, so the call will not process all your data, and to avoid that this function will block your application, it will

Re: memprof problem

2005-10-25 Thread Olivier Sessink
Allin Cottrell wrote: I've successfully used memprof for leak-checking my app in the past, but on trying it recently something odd happens: memprof starts up OK, and it also starts up the target program, but the target program is not visible (doesn't appear on screen) and memprof records no

re-filter GtkFileChooser widget after changing custom GtkFileFilter

2005-10-24 Thread Olivier Sessink
to simply set the filter function in the callback: GtkFileFilter *filter = gtk_file_chooser_get_filter(GTK_FILE_CHOOSER(dialog)); gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), filter); but that doesn't trigger the refiltering... Anybody an idea? thanks, Olivier Sessink

Re: Binary writing to an input pipe and ASCII reading from an output one

2005-10-24 Thread Olivier Sessink
is probably to spawn 'cat', read some text file, and print everything you read from the stdout of the process to the terminal. The terminal should then show exactly the contents of your text file if everything is OK. regards, Olivier Sessink

Re: multiple calls to g_io_channel_read_line and g_free question

2005-10-18 Thread Olivier Sessink
Colossus wrote: [..] g_io_channel_read_line ( ioc, line, NULL, NULL, NULL ); //do some things on line //shall I g_free (line) here ? g_io_channel_read_line ( ioc, line, NULL, NULL, NULL ); //ecc My doubt is: shall I free line before the second call to g_io_channel_read_line or I can call

Re: Implementing cpio -tv file.cpio with glib routines

2005-10-17 Thread Olivier Sessink
Colossus wrote: - Messaggio originale Da: Olivier Sessink [EMAIL PROTECTED] 1) spawn 'cpio -tv' with a pipe in and a pipe out 2) create non-blocking g_io_channels from these pipes 3) register callbacks with g_io_add_watch() for the io channels, one of these functions

Re: Implementing cpio -tv file.cpio with glib routines

2005-10-14 Thread Olivier Sessink
Colossus wrote: Hi, How can I code with g_spawn_* glib routines the command in the subject line ? Alternatively I noticed that cat file.cpio | cpio -tv also works but how to implement also this with g_spawn family ? 1) spawn 'cpio -tv' with a pipe in and a pipe out 2) create non-blocking

Re: getting input each frame

2005-10-13 Thread Olivier Sessink
for such things regards, Olivier Sessink ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: g_spawning three processes: one after another only when...

2005-10-09 Thread Olivier Sessink
Colossus wrote: Hi, I need to launch these three processes: 1) bzip2 -dc archive.tar.bz2 /tmp/foo.tar 2) tar --delete -vf /tmp/foo.tar file_to_del 3) bzip2 -c /tmp/foo.tar archive.tar,bz2 only when each of them exits. Shall I use g_spawn_sync ? How to code the run of all of them ?

Re: Editable cells in a treeview

2005-10-09 Thread Olivier Sessink
Will Luesley wrote: I had thought this might be a design problem I was trying to solve with code. I've got a long list of items with a single attribute to set for each, e.g | Field Name One | Some static info | User editable value | Field Name Two | Static info | User editable

Re: position changed signal for paned widgets?

2005-10-09 Thread Olivier Sessink
,gpointer data){ gint position; g_object_get(object, pspec-name, position, NULL); /* do something */ } g_signal_connect(G_OBJECT(hpane),notify::position,G_CALLBACK(hpane_notify_position_lcb), NULL); regards, Olivier Sessink

Re: redirecting output to a file with g_spawn_async

2005-10-06 Thread Olivier Sessink
Colossus wrote: I tried with g_spawn_async_with_pipes and with gspawn_async but it does not work. In the first case the output (the decompressed bzip2 file) is redirected to a GTK window so I used g_spawn_async (no pipes) but the output is directed to the shell window from which I ran my

Re: Editable cells in a treeview

2005-10-06 Thread Olivier Sessink
Will Luesley wrote: I've got a TreeView which has four columns, one of which is editable. There are two things I am trying to do to make editing easier for the user, but I can't see how to achieve either: 1) Starting editing with a single click on the editable cell. That is, if a user

Re: Size of text entries

2005-10-05 Thread Olivier Sessink
flood wrote: use gtk_widget_set_size_request () but if the user doesn't change the data, why not use a GtkLabel ? Thank you. As far as the label goes, I would use it if you could change the background color to white. that is a little tricky: a label doesn't have a background, so you will

Re: Size of text entries

2005-10-04 Thread Olivier Sessink
flood wrote: Hello, In my app I have a text entry widget that will display a small number, usually 1-10. However, when I added the entry widget I noticed it was very big compared to the amount of text that will be stored in it. Also I should mention the user will not be changing the text

Re: long line in GtkTextBuffer

2005-09-12 Thread Olivier Sessink
. Should be in bugzilla somewhere already. regards, Olivier Sessink ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gspawn_async_with_pipes questions

2005-05-25 Thread Olivier Sessink
, Olivier Sessink ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GtkTreeModelFilter

2005-05-25 Thread Olivier Sessink
what I do. regards, Olivier Sessink ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: launching web-browser

2005-05-22 Thread Olivier Sessink
On Sat, 21 May 2005 14:51:05 +0200 Gyözö Both [EMAIL PROTECTED] wrote: thanks for your answers. if possible, i'd like to have a solution that only uses gtk/glib, i wouldn't want to have a gnome-dependency in my app. is there a way?

possible to detect if window is on active desktop, or not?

2005-05-12 Thread Olivier Sessink
that a dialog box is shown for a document that is not on the current virtual desktop. So I only want to give dialogs for windows that are on the current desktop. thanks, Olivier Sessink ___ gtk-app-devel-list mailing list gtk-app-devel-list

Re: gtk_tree_model_get() -- when to free results???

2005-05-11 Thread Olivier Sessink
Stefan Kost wrote: Hi Olivier, I've just browsed over the docs from glib, gobject and gtk. I though these rules are somwhere in there, but I didn't found them. I've also looked at http://developer.gnome.org/doc/guides/ http://developer.gnome.org/doc/tutorials/ Now the question is where

Re: gtk_tree_model_get() -- when to free results???

2005-05-10 Thread Olivier Sessink
Peter Bloomfield wrote: On 05/10/2005 10:11:40 AM, Olivier Sessink wrote: [ snip ] thanks for the clarification. where did you find this information? I don't recall--certainly not from the docs! Partly experimentation--I noticed that some objects weren't getting finalized. I'll

Re: gtk_tree_model_get() -- when to free results???

2005-05-10 Thread Olivier Sessink
Stefan Kost wrote: Hi Olivier, I am afraid this report is invalid. It is common behaviour in glib/gobject based applications that when returning data * gobjects are reffed and need to be unreffed when done * strings are strdup'ed and should be freed (unless they are marked as const) such

Re: gtk-can-change-accels

2005-01-28 Thread Olivier Sessink
On Fri, 28 Jan 2005 10:48:35 +0100 Gyözö Both [EMAIL PROTECTED] wrote: hello, i hope i'm not asking anything that's already been clarified before; the archives of this list are huge and i couldn't find out whether this has been asked before. i'm writing a gtk+2 application (the