On Wed, 2006-08-23 at 14:45 +0200, Andrea Zagli wrote:
> is there a way to have various cellrender type for each row for the same
> column? Example:
>
> row 1 with gtkcellrenderertext
> row 2 with gtkcellrenderercombo
> row 3 with gtkcellrenderertext
> row 4 with gtkcellrenderertoggle
You _might_
On Tue, 2005-11-15 at 15:33 -0600, Douglas Vechinski wrote:
> Is there any convenient way to insert text using the Pango Markup
> language into a GtkTextBuffer. Such functions exist for GtkLabel and
> GtkCellView but I haven't seen any for GtkTextBuffer. If none exist, is
> there a reason they d
On Fri, 2005-10-14 at 18:11 +0100, Yiannis wrote:
> is there an equivalent of sscanf that uses GString as arguments?
You could just do
sscanf (gstring->str, "%04u-%02u-%02u", ..);
Cheers
-Tim
___
gtk-app-devel-list mailing list
gtk-app-devel-l
On Thursday 28 July 2005 11:41, The Saltydog wrote:
> This is my code:
>
> gtk_tree_store_set(model,&firstiter,
> 0, "/", 1, "/",
> 3, (gfloat)((g_fs.used*100)/g_fs.total),
> 4, calc(g_fs.used), 5, g_fs.used,
>
On Monday 25 July 2005 10:14, Uzytkownik wrote:
> #define TEST(name, cau) g_print(#name "...\t%s\n", cau ? "OK" : "Fail")
> TEST(Init, parser = g_object_new(WOC_PAGER_PARSER_TYPE, NULL));
> g_print("%p\n", parser->scanner);
> g_object_unref(parser);
>...
> It's print address, but after it's
On Monday 18 July 2005 09:25, Yogesh M wrote:
> When I display the tree view,it doesnt contain a
> border,
> it has a white bg but no border. How to draw border.
Put it in a GtkScrolledWindow (with gtk_container_add()).
Cheers
-Tim
___
gtk-app-devel-li
On Saturday 16 July 2005 16:43, Iago Rubio wrote:
> g_param_spec_object with GType GString?
>
> GParamSpec* g_param_spec_object (const gchar *name,
> const gchar *nick,
> const gchar *blurb,
>
On Thursday 14 July 2005 11:05, Yogesh M wrote:
> I want the preference dialog to look like this,
> left side of the window a list of images describing
> the options like font,colour,settings...
> and when I like those, the required buttons should
> appear on the right,
>
> I know it can be done w
On Friday 01 July 2005 05:18, 顺珉 吴 wrote:
> I want all icons and images my programm used be
> packaged in to the final execute binary file.
> How can I do this?
Check out the gdk-pixbuf-csource command line tool that comes with Gtk.
Alternatively, you can convert your icons/images into .xpm form
On Monday 27 June 2005 13:53, Colossus wrote:
> > It should actually act as if you clicked the Cancel button, ie. emit a
> > dialog response with GTK_RESPONSE_CANCEL and return that as value in
> > gtk_dialog_run() if you are using gtk_dialog_run(). In other words: you
> > probably need to fix you
On Monday 27 June 2005 13:09, Colossus wrote:
> I have a gtk-dialog built with glade with the two buttons Cancel and
> Ok. When I push the ESC key on the keyboard the code behaves as I
> clicked Ok with the mouse on the dialog and this is not correct.
> How can I avoid this behaviour ?
It should
On Friday 24 June 2005 16:59, Uzytkownik wrote:
> I've problem with GHashTable:
> (...)
> self->private->check = g_hash_table_new(g_int_hash, g_int_equal);
> g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "%%(.*)");
> (...)
g_int_hash() expects a _pointer_ to an int, not an int (see
On Wednesday 22 June 2005 17:18, Alexei D wrote:
> I need to create a Tree widget that has 1 column.
> Each row in the column should contain a small circle
> and some text (filename) next to it. The color of the
> circle represents the file type. I have to draw
> circles myself with gdk_draw_arc
On Tuesday 21 June 2005 12:59, y g wrote:
> I had posted in the past but with no luck about segmentation faults
> that I am getting when trying to save a pixbuf into a file. With a bit
> more debugging this is the error I am getting when I try:
> gdk_pixbuf_save(pixbuf, "temp.bmp", "bmp", NULL);
>
On Monday 30 May 2005 13:31, Colossus wrote:
> I'm trying to catch the returned error message of the unzip
> executable with GIOChannel. I use g_spawn_async_with_pipes and
> then I create a GIOChannel and then i call g_io_add_watch. I run
> unzip with an incomplete zip file so the unzip executable
On Friday 13 May 2005 02:51, moody_blur wrote:
> The gtkdialog destroy itself when get a esc key. How
> can I trap the key and disable this feature?
Don't add a 'cancel' button or any other action widget/button with a
GTK_RESPONSE_CANCEL response value to the dialog and that behaviour will
disa
On Wednesday 04 May 2005 09:20, ìëí wrote:
Hi,
> Would you explain what the âmap-eventâ is?
>
> When does it occur?
http://developer.gnome.org/doc/GGAD/z57.html#SEC-REALIZINGSHOWING
has a nice explanation.
Cheers
-Tim
___
gtk-app-devel-list mailing
On Monday 02 May 2005 18:13, ÐÐÑÑÐÐ Ñ wrote:
> I think that the result of next code must be 3, but
> I have 0. If uncomment "l=..." it's work correctly
>
> GList* l=NULL;
> //l=g_list_alloc();
>
> g_list_append(l,GINT_TO_POINTER(1));
> g_list_append(l,GINT_TO_POINTER(1));
>
On Monday 18 April 2005 11:51, Aristidas Vilkaitis wrote:
> Since i'm quite new to both C and Gtk, i met a problem which i am not
> able to solve. The base of the problem is that i have a task, which
> should fetch several files from the internet. When a button is pressed,
> a new window wi
On Saturday 02 April 2005 14:23, MQ wrote:
> > gtk_tree_view_get_model()?
>
> Not quite. This returns the model currently connected to the View. But if I
> have model A and model B, how do I know which is the one returned by
> gtk_tree_view_get_model()?
You could tag the two models with g_object_
On Wednesday 16 March 2005 21:55, Ole C. wrote:
> (snip a lot)
I have to admit I have only quickly looked over your text and not read it in
much detail, but it sounds like you might not be checking the condition in
the g_io_add_watch() callback on a per-flag basis. Your callback could be
call
On Friday 18 February 2005 16:23, Dave Andruczyk wrote:
> Anyone know of any good tools to find out where memory is either 1.
> leaking, or 2. excessively allocated?
>
> I've tried valgrind but it slows things down so much as to make it
> completely unusable.. Aside from eating memory like mad, i
On Tuesday 15 February 2005 13:28, Denis wrote:
> I do not see how this can happen since I made my *own* model and do not
> do anything which can notify the view.
> Is there something I should do in the model to say "Hi everybody, I have
> changed" ?
You need to call gtk_tree_model_row_changed()
On Sunday 13 February 2005 13:12, Maulet wrote:
> I'm having problems with GtkTreeModelFilter.
> The following sample program simply builds a window with a tree view
> inside. A tree model filter wraps the tree model of the tree view.
> The filter uses a visible function that always returns FALSE.
On Wednesday 09 February 2005 13:56, Ken Siersma wrote:
> I want to specify a number of rows to always display in my
> GtkTreeView widget, regardless of how many entities are in my
> GtkListStore. I'm using the GtkTreeView to display a list of files.
> Sometimes there are no files, sometimes ther
On Tuesday 08 February 2005 17:19, Cristiano Ghirardi wrote:
> it's not clear to me what happens when memory has been allocate with
> g_new or g_realloc and not freed. I mean: obviously this memory
> remains in the user space of the process as an infamous memory leak
> but it seems to me that und
On Wednesday 02 February 2005 09:37, Cristiano Ghirardi wrote:
> I'm developing an application using gtk+-2.6, in the main_win_show
> event I perform many subsystems initializations. I an initialization
> fails I'd like to show a message using a gtk_dialog_run. The problem
> is that the dialog nev
On Friday 28 January 2005 12:19, Stefan Kost wrote:
Hi Stefan,
> This drives me mad. I use a TreeModelFilter to hide rows (to show only
> every, every 2nd, every 4th,...). When the user presses a key I'd like to
> change the content of the model (the real one). I use the code below. The
> problem
On Tuesday 25 January 2005 11:42, Hubert Sokolowski wrote:
> > And as an alternative, any suggestions on fundamentally better ways of
> > fetching a web page asynchonously? I'm more than willing to do something
> > drastically simple instead but dastedly effective, and forgo the whole
> > g_spawn
29 matches
Mail list logo