Re: g_spawn*() on windows

2014-07-03 Thread Vivien Malerba
t; command window flash on the screen each time. > > If anyone has any ideas about the command window, I'm all ears :-( > > John > > > > > > On 3 July 2014 14:26, Vivien Malerba wrote: > > Hi! > > From memory you need a copy the gspawn-win32-

Re: g_spawn*() on windows

2014-07-03 Thread Vivien Malerba
Hi! >From memory you need a copy the gspawn-win32-helper.exe executable (in your %PATH% I guess). Regards, Vivien On 3 July 2014 14:25, wrote: > Hi all, > > I'm using g_spawn_command_line_sync() to run a series of command-line > programs (actually ImageMagick's convert, if that's important). >

Re: UUID Library for Gnome apps

2013-05-30 Thread Vivien Malerba
Hi! I use the libuuid library (uuid-dev and uuid-runtime packages under Ubuntu). Regards, Vivien On 30 May 2013 07:37, אנטולי קרסנר wrote: > Hello list, > > I'm writing a desktop app using Gnome technologies and I want to use > UUIDs as means of generating URIs for resources. > > I found two

Re: Where to put graphic elements so I can find them again

2012-09-02 Thread Vivien Malerba
On 2 September 2012 23:04, Frank Cox wrote: > 1. I have a "custom" graphic that I'm showing as a sort of a placeholder or > background in my mailing list program. > > 2. I see that most program-specific graphics on my computer seem to be > located > in /usr/share/pixmaps. > > Is it proper to put

Re: Examples of ComboBox using an explicit model?

2012-07-31 Thread Vivien Malerba
On 31 July 2012 00:12, James Tappin wrote: > I am currently trying to implement combobox cell renderers in the > high-level gtk-fortran code. Unfortunately unlike "normal" comboboxes where > there is the convenience type of GtkComboBoxText this is not available for > cell renderers. > > I have hu

Re: How to draw GtkCellRendererCombo in (inside) a custom cell renderer?

2012-06-06 Thread Vivien Malerba
On 6 June 2012 09:51, Osmo Antero wrote: > Hello, > I wanted to study the GtkCellRendererCombo so I added it directly to the > treeview (as column). > The combobox is initially hidden, only the "text" value is shown. > The combo becomes visible after user clicks or double-clicks the column in > t

Re: Need control of filename entry area in gtkfilechooser

2012-01-13 Thread Vivien Malerba
On 13 January 2012 04:34, Ferdinand Ramirez wrote: > When I type in the filename into the filename entry area in gtkfilechooser > dialog, I want to intercept the text that is entered, modify it and then > display it in the filename area. How do I do this? > > For a regular text buffer, I know how

Re: maybe known, maybe not...

2012-01-08 Thread Vivien Malerba
On 8 January 2012 03:49, Gary Kline wrote: > > o am trying to have a "run" button fork off a new gvim and increase > a global counter after the first gvim is closed. my main gtk goes > dark and nothing responds in this case. i don't know if every > distro of linux does this or if it [ this erro

Re: GLIB for a webserver

2011-12-08 Thread Vivien Malerba
On 8 December 2011 14:13, Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP - wrote: > Hello, > >I am planning to use glib to write a C application server. I just > like the library philosophy a lot and that’s why it is my first choice. >However, after searching the web for

Re: g_spawn_async and Windows service

2011-11-06 Thread Vivien Malerba
On 6 November 2011 20:31, Tomáš Šoltys wrote: > Thanks for help, but this is not the case. If I disable "service" > commands in my application, then the command line program gets executed > without any problem. > This is a good starting point then to understand what fails. I'm sorry I cant' help

Re: g_spawn_async and Windows service

2011-11-05 Thread Vivien Malerba
On 4 November 2011 23:05, Tomáš Šoltys wrote: > Hi all, > > I have created a windows service from which I would like to execute a > command line program. > I am trying to use g_spawn_async function. > > For to me unknown reason this is not working. Can someone please explain > me why and whether i

Re: GLib with Flex and Bison

2011-10-03 Thread Vivien Malerba
On 3 October 2011 02:37, Craig wrote: > Hi, > > I have spent the past two weeks studying Flex and Bison. It is great > stuff! I am about to try to use GLib in a Bison file, mainly calling > functions on the GList Object. I have never tried this before. Will it > work? Are there any threading

Re: g_win32_get_package_installation_directory_of_module()

2011-07-10 Thread Vivien Malerba
On 10 July 2011 21:01, John Emmas wrote: > If I write a program using gtk-win32 and I want it to discover its > installation folder at run time, I can examine argv (if it's available). > Where it's not available however, I can call > g_win32_get_package_installation_directory_of_module() passing

Re: gtkLabel resize itself and resize the whole window

2011-05-31 Thread Vivien Malerba
gtk_label_set_ellipsize()? Vivien 2011/5/31 Maxime de Roucy : > Thanks for your answer. > > What I want exactly is : > When the text in the GtkLabel is too long (it exceeds the widget size), > I want the text to get cut off by the edge of the widget. Instead of > increasing automatically the size

Re: how to connect the gnome aplication(gtk+) to database

2011-02-19 Thread Vivien Malerba
On 19 February 2011 09:22, angel kingdom wrote: > HI, > i am working on a application(project Gutenberg ) which is written in gtk+ > and i want to connect this application with database server to store > dictionary.i am having the Dictionary in xml format. > So,please guide me or give me a link o

Re: Application path

2011-01-18 Thread Vivien Malerba
On 18 January 2011 06:18, John Emmas wrote: > Thanks guys. In fact, I only need this for the purpose of calculating a > path that's relative to the location of the installed program. It's of less > importance on Linux because apps tend to be installed using the same path on > everyone's system

Help needed with offscreen window

2010-11-24 Thread Vivien Malerba
Hi all! I want to create a GtkCellRenderer which renders a GtkWidget (each row of the data model sets a property of the widget and it should render differently). I face the problem that I can't force GTK+ to redraw the widget before I get the pixmap from a GtkOffscreenWidget (that pixmap is used "

Re: multithreading gtk app

2010-06-30 Thread Vivien Malerba
On 30 June 2010 02:57, Mick wrote: > can anyone point me to an explanation (with examples) to help me > understand running some dialogs in separate threads. (eg. help, > preferences, etc) The general recommendation is to avoid using any GTK+ object from different threads (because it does not work

Re: Anyone for CMake?

2010-06-28 Thread Vivien Malerba
>From my own experience trying to have Libgda use CMake to compile, CMake still lacks/badly supports some features which are available using the autotools, such as: * convenience libraries * pkg-config support For Libgda, this means I would have to reorganize much of my code, which is a very comple

Re: Connecting GTK application to a database

2010-02-23 Thread Vivien Malerba
On 23 February 2010 17:16, Tor Lillqvist wrote: >> Can somebody help me with connecting a gtk interface with a backend >> database, say, Posgres? How does one embed SQL queries in the C code.? > The Libgda library provides an uniform access to databases using a GObject oriented API. See http://ww

Re: Bringing a GtkWindow to the current desktop with libwnck

2009-07-05 Thread Vivien Malerba
2009/7/3 Jim George > Hi all, > I'm writing a program that needs to be "single-instance". The program > will only run on gnome desktop machines. I'm using dbus to ensure > this, by having the program try a dbus rpc each time it starts. If > there's a running instance, it responds to the rpc by ca

Re: Strange GHashTable behaviour

2009-04-21 Thread Vivien Malerba
2009/4/21 Luka Napotnik > Hello, > > I'm experiencing strange GHashTable behaviours when looking up a value > throught a string key. I pass the key as a stack-allocated string to the > hash table. For most lookups it works flawlessly but sometimes I get an > invalid pointer. It even looks normal

Re: how to add button inside the treview list

2008-12-16 Thread Vivien Malerba
AFAIK, you can't display a button in a treeview column (no GtkCellRenderer exist for this). Also having buttons for each row would make the treeview not as much useable as it is now because each button would consume ressources (memory and X ressources), and it is not how GtkCellRenders are designed

Re: loading pixmaps from the C source

2008-10-22 Thread Vivien Malerba
2008/10/22 Henri Häkkinen <[EMAIL PROTECTED]> > Hello, > > I am writing a simple GTK+ 2.0 application which uses the GNU build system. > The application opens a status icon on the system tray area and the icon is > loaded from a image file. By default, the icon gets installed to the usual > locati

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread Vivien Malerba
2008/9/23 paragasu <[EMAIL PROTECTED]> > > gda_value_stringify(value) > > assume that i know, the value return is string, then i can simply use > this function so i can print > (GValue to gchar) the string. but there is no function to conver > GValue to gint or gfloat.. Yes, there are g_value_g

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread Vivien Malerba
2008/9/23 paragasu <[EMAIL PROTECTED]> > gda_data_model_iter_get_value_at is in V4 > > can i do g_printf("%s", value) ? No, you can't because value is a pointer to a GValue structure, not a string. > > > i am always confuse with the datatype GValue.. how to make sure it is > of type char or in

Re: [gnome-db] how to print selected row in gnome_db_raw_grid?

2008-09-23 Thread Vivien Malerba
2008/9/23 paragasu <[EMAIL PROTECTED]> > how to get the value from the selected row in gnome_db_raw_grid? > so i can put it inside gtk_dialog > GdaDataModelIter *iter; iter = gnome_db_data_widget_get_current_data (GNOME_DB_DATA_WIDGET (raw_grid); const GValue *value; value = gda_data_model_iter_g

Re: how to modify the GnomeDbDataWidgetInfo?

2008-09-19 Thread Vivien Malerba
2008/9/19 Daniel Espinosa <[EMAIL PROTECTED]> > May be could be usefull to modify the code at GnomeDbDataWidgetInfo in > order to add properties that allows to hide this objects, in order to share > this functionality. > Yes, I'll note that on my TODO list. Vivien ___

Re: how to modify the GnomeDbDataWidgetInfo?

2008-09-17 Thread Vivien Malerba
2008/9/17 paragasu <[EMAIL PROTECTED]>: > by default, gnome_db_form/gnome_db_grid widget create a set of control > (GnomeDbDataWidgetInfo). To add or manipulate data. > > For my application, i only need the update button, i do not need the > insert, add or > the next record button. How to remove al

Re: libgnomedb3.0: WARNING **: could expand "" into list of field

2008-09-01 Thread Vivien Malerba
2008/9/1 paragasu <[EMAIL PROTECTED]>: > i am very new into this gtk and libgnomedb. this is my first attempt Please post to the Gnome-Db list if your post is about Gnome-DB. > write one, i have one > function. > > [snip] > GtkWidget *page_1(GdaConnection *conn) > { >GtkWidget *vbox; >

Re: how to display photo in the GnomeDbGrid?

2008-08-26 Thread Vivien Malerba
2008/8/26 paragasu <[EMAIL PROTECTED]>: > i am developing gtk application using libgnome-db and postgresql. > i store photo as bytea inside one of the table column. > > how to display the photo using the gnomedbgrid? > is it possible to do it? > > thank you You can have a look at the gnome-db-demo

Re: save image and display image from postgresql

2008-07-23 Thread Vivien Malerba
2008/7/23 paragasu <[EMAIL PROTECTED]>: > i am very new to gtk programming. I am sorry for this beginner > questions, but after asking > google i fail the get the right answer. I hope this mailing list will help me. > > anyone can please point me a way on how to save image to postgresql > database

Re: OpenGL interface

2008-01-04 Thread Vivien Malerba
On Jan 3, 2008 8:02 PM, Peter Hildebrandt <[EMAIL PROTECTED]> wrote: > > Happy new year everyone, > > I'd like to use opengl in my gtk application. I've come across GtkGLArea > [1] and GtkGLExt [2]. The former appears to be undocumented, while the > latter is according to the website no longer ac

Re: cairo canvas

2007-09-25 Thread Vivien Malerba
On 9/24/07, Gian Mario Tagliaretti <[EMAIL PROTECTED]> wrote: > 2007/9/24, control H <[EMAIL PROTECTED]>: > > > Yes I saw this one, but since the last version is more than a year > > old, I got the impression it's not really develloped anymore. Well, > > maybe instead of premature it's just perfect

Re: Which widget to use for creating a list

2007-06-20 Thread Vivien Malerba
On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > i m new to GTK+ > i am working on GTK+ with directfb on embedded platform. > i want to have a list of say 4-5 items which can be selected by the > direction keys..so that the selection moves to next one as u press the > down k

Re: GtkTreeView: different renderes within one row?

2007-05-31 Thread Vivien Malerba
On 5/30/07, Felix Kater <[EMAIL PROTECTED]> wrote: > hi, > > I am new to GtkTreeView: > > Are cell renderers bound to columns or can they change between rows of > the same column? AFAIK cell renderers are defined once for each column, and are the same for all the rows, but you can have more than o

Re: Plotting graphs

2007-05-24 Thread Vivien Malerba
On 5/24/07, Bluezapper <[EMAIL PROTECTED]> wrote: > Hi, > > Can someone refer me to an example which plots a simple 2D graph using > gtkextra API. > > > thanks, > > bluezapper. A bit off topic, but there is also the GtkDatabox library out there (I have not tested it though!) Regards, Vivien __

Re: Alternative GTK widgets

2007-05-16 Thread Vivien Malerba
On 5/16/07, beginner.c <[EMAIL PROTECTED]> wrote: > > Perhaps we should all put in some links - this would be beneficial for > everybody I think (not all are still active/useful): > > http://dev.investorsidekick.com/begtkextra/ > http://libbit.sf.net/ > http://www.curlyankles.com/ > http://kornelix

Re: Alternative GTK widgets

2007-05-14 Thread Vivien Malerba
On 5/12/07, Shoq <[EMAIL PROTECTED]> wrote: > > Pardon my noobness, but I am new to GTK. I had assumed there would be a > wealth of open source widgets that descend from the toolkit. I am starting > to think this was a very poor assumption on my part. I've not be able to > find anything but a few

Re: How add a button widget to a cellrenderer ?

2007-04-13 Thread Vivien Malerba
On 4/11/07, Carlos Savoretti <[EMAIL PROTECTED]> wrote: > Hi! > > I just need to add a gtkbutton to a pre-existing gtkcellrenderer, > (it is the treeview is already created). > > That button will make some stuff referred to the cell within it > is placed, it is because I need to pack it in the same

Re: GtkEntryCompletion on a GtkCellRendererText

2007-03-12 Thread Vivien Malerba
On 3/3/07, Philip Withnall <[EMAIL PROTECTED]> wrote: > Hi all, > > I've got a table of database rows set up using a GtkTreeView with a > GtkListStore backend, and GtkCellRendererTexts for the table cells. This > is all working nicely. > > What I'd like to do is have auto-completion available when

Re: manage a list

2007-02-23 Thread Vivien Malerba
On 2/22/07, Jerome Le Saux <[EMAIL PROTECTED]> wrote: > Hi all, > > I would like to use a list in a scrolling windows in a gtk2 application. > My items are the following : > int Item number | string name | string extension | int length > > I saw int he API website I can use GtkItem and GtkListStore

Re: Application for finding all Windows

2007-02-21 Thread Vivien Malerba
On 2/21/07, Udayan Singh <[EMAIL PROTECTED]> wrote: > Hi, > > I want to develop an application where I can get a list of all the windows > that are open in the GNOME Screen and find any activity being performed on > any other window on the GUI screen (and not only my application) e.g. > mouse click

Re: Catching the row deleted from a GtkTreeModel implementation

2007-02-09 Thread Vivien Malerba
On 2/9/07, Suma H.S <[EMAIL PROTECTED]> wrote: > how r u deleting the row? > It should be either through some key-press or mouse-click, in either case u > must select the row before selecting. > So...If it is through a key-press, catch the key-press signal and if it is > through a mouse-click, > ca

Re: black promt window

2007-02-05 Thread Vivien Malerba
On 2/4/07, Patrik Krizan <[EMAIL PROTECTED]> wrote: > Hi, > i'm newbie in gtk and i want develop applications on windows xp. i'm > running gtk2.0, cygwin and eclipse. i compiled 'hello world' application > (exact copied from tutorial) and it works fine. however, if i start it, > i get a black promt

Re: how to display a image with the size of parent widget

2007-01-26 Thread Vivien Malerba
On 1/26/07, 杨宇 <[EMAIL PROTECTED]> wrote: I design a program which is used for image display.(using glade 2) In this program ,i use a notebook widget,the relation between notebook and other widgets are as fallow: notebook -->page1 >image

Re: Load image from memory.

2007-01-02 Thread Vivien Malerba
On 1/2/07, Eirik Brandtzæg <[EMAIL PROTECTED]> wrote: > I'm trying to include a image in my Free Pascal program under linux. > First I loaded the image from a file using gtk_image_new_from_file, but I > want to have the picture inside the binary. > There is the GdkPixdata related API such as gdk_

Re: how to free GList

2006-09-12 Thread Vivien Malerba
On 9/12/06, shibu Alampatta <[EMAIL PROTECTED]> wrote: > Hi all, > > Pls see the below code structure. how to free the glist at the indicated > place? > > GList * glist=NULL; > > for(i=0;i > > // some processing > > > //here want to free the glist > g_list_free (glist); Note that this f

Re: Pango Warning

2006-09-11 Thread Vivien Malerba
On 9/11/06, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote: > On Mon, Sep 11, 2006 at 10:51:17AM +0530, shibu Alampatta wrote: > > I'm using a combo box, code is given below > > > > char a[15]; > > > > strcpy(a,"AAA"); > > glist_append(glist,a); > > > > It reports > > > > Pango Warning**: Invalid UT

Re: Unsolved glib problem

2006-09-10 Thread Vivien Malerba
On 9/9/06, dagang001 <[EMAIL PROTECTED]> wrote: > > for ( i=0 ;i<4 ;i++) > { > Person *fred = g_new(Person, 1); > /**/ > fred->name = ming[i]; > fred->shoe_size = i+10; > fred->age=60+i; > list = g_list_

Re: Database connection et al

2006-09-08 Thread Vivien Malerba
On 9/7/06, Andrea Zagli <[EMAIL PROTECTED]> wrote: > Il giorno gio, 07/09/2006 alle 18.55 +0530, Sucheta Ghosh ha scritto: > > Is this possible to connect gtk+ with mysql database or any other > > database? If answer is "yes" then how is this possible? > > for example www.gnome-db.org The website

Re: How to save/load GtkTreeStore into a file?

2006-09-04 Thread Vivien Malerba
On 8/29/06, chabayo <[EMAIL PROTECTED]> wrote: > Hello all,... > > ...i try to load a GtkTreeStore from a file that i was saving with > gtk_tree_store_foreach calling a function inheritting > gtk_tree_model_get_string_from_iter (the 0:0,0:1,1:0:0,... thing) > and gtk_tree_model_get . > > Now it wou

Re: Record/Playback GUI Operations

2006-08-24 Thread Vivien Malerba
On 8/25/06, Sai Laxmi K <[EMAIL PROTECTED]> wrote: > Thanks Mr.Vivien, >That site was extremely useful. But I have one problem in configuring. I > know this query is not relevant to this post, but I'm not able to find any > other means to solve this. When I'm configuring Xnee with Cygwin, it's

Re: Record/Playback GUI Operations

2006-08-24 Thread Vivien Malerba
On 8/24/06, Sai Laxmi K <[EMAIL PROTECTED]> wrote: > > Hi, > I've developed an application with GTK. Now the requirement is that the > key presses and button clicks should be recorded so that the user can > play-back the test and get the results. Is there a way in GTK to accomplish > this. Pl. gi

Re: Sockets in GTK+?

2006-08-21 Thread Vivien Malerba
On 8/21/06, Chris Sparks <[EMAIL PROTECTED]> wrote: > I went looking fo rGNet and what is odd is that it says this: > > " It is written in C, object-oriented, and built upon GLib." > > C isn't object-oriented.. > The C language does not object, however nothing prevents you from having a Object

Re: Sockets in GTK+?

2006-08-21 Thread Vivien Malerba
On 8/20/06, n3ck <[EMAIL PROTECTED]> wrote: > Hi every1! > Im was delphi (win) coder for a while but now i use linux as OS. > I really like to code so i choose GTK for build applications on linux. > I have been searching for some tutorial, text or articule about how > to build cliente/server apps u

Re: GTK Wizard using Notebook

2006-03-22 Thread Vivien Malerba
On 3/22/06, 3saul <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm new to programing, especially gtk. I'm wanting to create a gtk wizard > (without a dependency on Gnome - I'm aware of the druid). I thought the best > way might be to create a notebook and have forward and back buttons cycle > through the

Re: Containers for containers

2006-01-25 Thread Vivien Malerba
2006/1/25, Ephrem Boudonnet <[EMAIL PROTECTED]>: > hi > I'm searching a container which could contain other containers. > For example, is that possible to add anywhere several layouts to a > window, or to include a layout in another one, in order to use it as > sub-windows I could drag and drop. >

Re: how can include just glib

2005-12-13 Thread Vivien Malerba
2005/12/13, Fernando Apesteguía <[EMAIL PROTECTED]>: > Did you try to make this? > > #include > > And then link with > > -lglib-2.0 (link against your glib version) > You should use `pkg-config --cflags glib-2.0` to get the list of include flags and `pkg-config --libs glib-2.0` to get the list of

Re: howto mix gtk and network

2005-12-09 Thread Vivien Malerba
2005/12/9, Alexander Nagel <[EMAIL PROTECTED]>: > Hi, > i plan to program a little game which also should playable over network > and i need a some ideas for the beginning. > I know the network basics. > For example at the start of the game one player act as a server chooses > the map and the numbe

Re: Does such a widget exist?

2005-11-17 Thread Vivien Malerba
2005/11/16, Stefano Esposito <[EMAIL PROTECTED]>: > Hi all, > > i need a widget that displays mobile/fixed points and fixed rectangles and > which is capable to catch mouse-click events. Does such a widget exist > somewhere in the world? :) > I think you can use libgnomecanvas for that job. Reg

Re: Opening GUI with SSH

2005-10-20 Thread Vivien Malerba
2005/10/20, Suganya <[EMAIL PROTECTED]>: > Hi all, > > I upgraded my gtk from 2.0 to 2.8. > > Now I could not open GUI windows of other machines using SSH. > > Expecting suggestions. > Did you try ssh -X ? ___ gtk-app-devel-list mailing list gtk-app-deve

Re: g_io_channel

2005-07-08 Thread Vivien Malerba
On 7/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I need to send a data structure over an io_channel. In the > reference > > manual, I found that the only available instruction to write data > in a > > channel is: > > > > GIOStatus g_io_channel_write_chars(GIOChannel *channel, >

Re: Wrapped text in GtkTreeView

2005-06-15 Thread Vivien Malerba
On 6/15/05, Slou <[EMAIL PROTECTED]> wrote: > Vivien Malerba wrote: > >>I have list of a very long lines which I want to be accessible to user > >>with no penalty (additional clicking etc.). > >> > >>So the solution is obvious - wrapped text in Tr

Re: Wrapped text in GtkTreeView

2005-06-15 Thread Vivien Malerba
On 6/15/05, Slou <[EMAIL PROTECTED]> wrote: > Hi! > > I have list of a very long lines which I want to be accessible to user > with no penalty (additional clicking etc.). > > So the solution is obvious - wrapped text in TreeView, but I found no > way to create such CellRenderer. > > All discussi

Re: Instalation of GTK+ 2.6 alongside GTK+ 2.4

2005-06-09 Thread Vivien Malerba
On 6/8/05, Derrick J Houy <[EMAIL PROTECTED]> wrote: > I run on Fedrora Core 3 which has GTK+ 2.4.13 installed. I want to > continue to build my apps against the standard packages included in FC3, > but also need to fix some bugs which allow the apps to work with GTK+ 2.6.7. > > Can anyone help me

GtkFileChooserButton's mode

2005-05-17 Thread Vivien Malerba
Hi! Does anybody know why the GtkFileChooserButton widget does not accept the GTK_FILE_CHOOSER_ACTION_SAVE mode (or the GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER mode)? Thanks, Vivien ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://

Re: using GtkTextView as a single line editor widget?

2005-05-16 Thread Vivien Malerba
On 5/16/05, Vadim Berezniker <[EMAIL PROTECTED]> wrote: > I tried unsuccessfully to use the GtkTextView as a single line text > editor widget. I need to use some of the features provided by > GtkTextView/GtkTextBuffer so I cannot use GtkEntry. > Right now I have the text wrap which causes the text

Re: TreeView and Pixbuf

2005-05-16 Thread Vivien Malerba
On 5/13/05, Denis <[EMAIL PROTECTED]> wrote: > how i can change pixbuf in gtk_tree_view? > -- Just change it in the model, and the tree view will automatically update itself. Vivien ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http:/

Re: GtkTreeView SIGNALS

2005-05-03 Thread Vivien Malerba
On 5/3/05, John Coppens <[EMAIL PROTECTED]> wrote: > On Tue, 3 May 2005 10:11:49 -0400 > André Pedralho <[EMAIL PROTECTED]> wrote: > > > I'm trying to use the single click on a GtkTreeView. Is there a way > > for me? The row-activated signal is activated with a double click... > > I'm needind one

Re: GTK window and thread

2005-05-03 Thread Vivien Malerba
On 5/2/05, Frederic Beck <[EMAIL PROTECTED]> wrote: > Hello > > Here's my problem : i have a daemon running in the background, and i > want it to show popups after some events. > > I'm new in using GTK, so i took a look at the tutorial, and i managed to > create the window and show it. The popup

Re: g_signal_connect

2005-05-03 Thread Vivien Malerba
On 5/3/05, Tomaz Canabrava <[EMAIL PROTECTED]> wrote: > Little trouble here =) > > the g_signal_connect works like what? > g_signal_connect(GTK_WIDGET(widget), signal("clicked"), > G_CALLBACK(Function), (gpointer) "Data"); > > but the callbacks functions have the GtkWidget *Widget as a 1st > para

Re: GList

2005-05-03 Thread Vivien Malerba
On 5/2/05, Городничев Денис <[EMAIL PROTECTED]> wrote: > i think that the result of next code must be 3. > but i have 0 > if uncomment "l=..." it's work correctly > > #include > > int main() > { > GList* l=NULL; > //l=g_list_alloc(); > > g_list_append(l,GINT_TO_POINTER(1)); > g

Re: [Beginner] How to write at the end of a GtkTextBuffer ?

2005-04-24 Thread Vivien Malerba
On 4/23/05, Olivier Ramare <[EMAIL PROTECTED]> wrote: > Dear all, > >I have troubles understanding (and controlling) where > to write on a GtkTextBuffer. Here are my variables : > >SGinfosbuffer=gtk_text_buffer_new(NULL); >SGinfos=gtk_text_view_new_with_buffer(SGinfosbuffer); >SGs

Re: Callbacks from an idle function

2005-04-08 Thread Vivien Malerba
On Apr 8, 2005 6:13 PM, Peter Bloomfield <[EMAIL PROTECTED]> wrote: > On 04/08/2005 11:41:57 AM, Vivien Malerba wrote: > > On Apr 8, 2005 5:26 PM, Peter Bloomfield > > <[EMAIL PROTECTED]> wrote: > [ snip ] > >> Perhaps you're trying to use gdk_t

Re: Callbacks from an idle function

2005-04-08 Thread Vivien Malerba
On Apr 8, 2005 5:26 PM, Peter Bloomfield <[EMAIL PROTECTED]> wrote: > On 04/08/2005 10:22:59 AM, Vivien Malerba wrote: > [ snip ] > > However, still from the same function, I then destroy the custom > > widget, and the whole application locks. A backtrace from gdb at

Callbacks from an idle function

2005-04-08 Thread Vivien Malerba
Hi! I would appreciate having a bit of help concerning a strange problem. In an application I'm writing (Mergeant), I have enabled multi-threading (g_thread_init() and gtk_threads_init()), but I'm using it with one thread only. I have an idle function callback from which I create: * one custom o