Re: Embedding in icon into an executable

2006-02-09 Thread HuamiSoft Hubert Sokolowski
rm windres icon.rc icon.o then just link this module with your application -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. +48501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: systray icon

2005-12-17 Thread HuamiSoft Hubert Sokolowski
eggtrayicon.c to your anjuta project. -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: systray icon

2005-12-16 Thread HuamiSoft Hubert Sokolowski
tion. look for eggtrayicon.h -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Looking for example to draw a simple red text on my GtkDrawable

2005-12-13 Thread HuamiSoft Hubert Sokolowski
Hi! You can use context = gdk_pango_context_get (); layout = pango_layout_new (context); pango_layout_set_alignment (layout, PANGO_ALIGN_LEFT); pango_layout_set_markup (layout, str, -1); gdk_draw_layout (drawable, gc, x, y, layout); where str is pango markup text for example some text regar

Re: get current time / win32: got UTC instead of local time

2005-12-07 Thread HuamiSoft Hubert Sokolowski
2d:%02d:%02d", lt->tm_year+1900, lt->tm_mon+1, lt->tm_mday, lt->tm_hour, lt->tm_min, lt->tm_sec); it works on windows and linux. -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___

Re: Is it possible to put all necessary GTK runtime files in a single directory

2005-10-25 Thread HuamiSoft Hubert Sokolowski
On Tue, 25 Oct 2005 11:56:15 -0500 Douglas Vechinski <[EMAIL PROTECTED]> wrote: > I'm sure that would work if I'm allowed to add bin\bin to the PATH > environment variable. At present that "priviledge" is not being > allowed. I will probably be able to if there is no other option, but > I'm

Re: Is it possible to put all necessary GTK runtime files in a single directory

2005-10-25 Thread HuamiSoft Hubert Sokolowski
On Tue, 25 Oct 2005 10:58:32 -0500 Douglas Vechinski <[EMAIL PROTECTED]> wrote: > > I have a GTK application that I'm porting to run under Windows. This > application is part of a package that has several other native Windows > (non-GTK) executables all of which are to reside in a "bin" direc

Re: GtkTreeModelFilter problems

2005-10-15 Thread HuamiSoft Hubert Sokolowski
the answer is gtk_tree_model_filter_convert_path_to_child_path On Sat, 15 Oct 2005 09:39:00 +0200 HuamiSoft Hubert Sokolowski <[EMAIL PROTECTED]> wrote: > > Hi! > > I am trying to use GtkTreeModelFilter to filter out some rows. it works > great, but I have a problem w

GtkTreeModelFilter problems

2005-10-15 Thread HuamiSoft Hubert Sokolowski
ool, -1); } thanks in advance -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtktreeview - hide some rows

2005-10-14 Thread HuamiSoft Hubert Sokolowski
Hi! I have a treeview which is a list. is it possible to hide some particular rows? I want to implement some filter on my treeview, so the user could find quicker some rows. regards -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743

Re: z-order of gtk windows on win32

2005-10-02 Thread HuamiSoft Hubert Sokolowski
her gtk window-controlling option that I'm missing > here? Thanks. > I also found this bug very annoying, but I don't know about any solution to this problem. -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Memory question

2005-09-27 Thread HuamiSoft Hubert Sokolowski
tk_entry_set_text(GTK_ENTRY(entry), g_strdup("banana"); > > Am I leaking memory? yes, of course. -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Internationalization ???

2005-09-18 Thread HuamiSoft Hubert Sokolowski
o # translate progname.po in you favorite editor msgfmt progname.po -o progname.mo -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to make report generation in gtk

2005-09-16 Thread HuamiSoft Hubert Sokolowski
report need to be in tabular form. > > > > regards > > rush > > > _______ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > -- HuamiSoft Hu

Re: Gtk+, UTF-8 and translations

2005-09-15 Thread HuamiSoft Hubert Sokolowski
doesn't handle multibyte characters correctly. > You should upgrade to a recent gettext version. thanks for you reply, but I have found a problem, I didn't add Content-type header to .po file. regards -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 _

Gtk+, UTF-8 and translations

2005-09-13 Thread HuamiSoft Hubert Sokolowski
in my original .po file. Regards, -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: gtk_list_store_new(1, G_TYPE_STRING) and retrieving data

2005-09-07 Thread HuamiSoft Hubert Sokolowski
er, gpointer data) { gtk_tree_model_get (model, iter, COLUMN, &value, -1); return FALSE; } -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___

Re: UI manager problem, more concise

2005-09-07 Thread HuamiSoft Hubert Sokolowski
ng the uimanager functions inside > the main() or gtk_main() functions of your program? did you set 'error' pointer to NULL before calling gtk_ui_manager_add_ui_from_string ? -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743

Re: WinXP & MSSQL & C & GTK+

2005-09-06 Thread HuamiSoft Hubert Sokolowski
se, being developed under Windows. maybe this site could help you http://www.firstsql.com/iodbc/ regards -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.g

Re: rendering text to drawable

2005-08-30 Thread HuamiSoft Hubert Sokolowski
} void draw_text (GdkPixmap *pixmap, GdkGC *gc, const gchar *str, gint x, gint y) { pango_layout_set_markup (layout, str, -1); gdk_draw_layout (pixmap, gc, x, y, layout); } -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. 501456743 ___

Re: Gdk Pixbuf file saving

2005-08-30 Thread HuamiSoft Hubert Sokolowski
On Tue, 30 Aug 2005 18:35:37 +1000 Nick Watts <[EMAIL PROTECTED]> wrote: > Thanks a whole heap man, solved my problem completely. no problem :) > > On 8/30/05, HuamiSoft Hubert Sokolowski <[EMAIL PROTECTED]> wrote: > > > > > > Hi! > > > &g

Re: Gdk Pixbuf file saving

2005-08-30 Thread HuamiSoft Hubert Sokolowski
and GTK+ 2.6). > > Any help much appreciated, > -Nick > _______ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > -- HuamiSoft Hubert Sokolowski h

Re: GtkTreeView : Drag and drop

2005-08-22 Thread HuamiSoft Hubert Sokolowski
er data) { GtkTreeSelection *sel = gtk_tree_view_get_selection (widget); GtkTreeIter iter; // printf ("drag drop start\n"); if (gtk_tree_selection_get_selected (sel, NULL, &iter)) { drag_mrl.model = gtk_tree_view_get_model (widget); drag_mrl.path = gtk_tree_model_get_

Re: GList

2005-08-18 Thread HuamiSoft Hubert Sokolowski
On Thu, 18 Aug 2005 20:17:34 +0100 Chris Vine <[EMAIL PROTECTED]> wrote: > On Thursday 18 August 2005 08:51, HuamiSoft Hubert Sokolowski wrote: > > > always when you allocate a memory, you need to free it by your self. > > to free a list completely you need to free /

Re: GList

2005-08-18 Thread HuamiSoft Hubert Sokolowski
le their names are confusing a bit, because the only > difference between g_list_remove() and g_list_delete() is there is no such function g_list_delete(). -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. (085) 7465779 kom. +48501456743 ___ gtk-ap

Re: GList

2005-08-18 Thread HuamiSoft Hubert Sokolowski
ment without freeing it, but also sets next and prev to NULL. g_list_delete_link just removes an element without freeing it, but next and prev still point where they were pointed. I hope that it is clear :). regards -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. (085) 7465779 kom

Re: drawing area and events win32

2005-08-16 Thread HuamiSoft Hubert Sokolowski
//www.gimp.org/~tml/gimp/win32/ which is 2.6.9. regards. -- HuamiSoft Hubert Sokolowski http://www.huamisoft.com/ tel. (085) 7465779 kom. +48501456743 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: d'n'd on a listview

2005-08-03 Thread HuamiSoft Hubert Sokolowski
it was my fault, I didn't add a button mask to gtk_tree_view_enable_model_drag_source ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list