On Fri, 12 Aug 2005 08:25:23 -0700 (PDT)
Yogesh M <[EMAIL PROTECTED]> wrote:
>
> I have written a program which works under windows and linux, I have written
> the help in html. If the user presses F1, then I want gtk to call a browser
> and open html. can it be done in gtk.
just as an exampl
Hi!
On Wed, 10 Aug 2005 17:01:05 +0100
Yiannis <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using glade with libglade for the gtk interfaces. I have a
> scrollable window with a drawing window. But sr imply it doesn't
> work.
>
> 1. during runtime program complains that:
> Gtk-WARNING **: gtk_
Hi!
On Wed, 10 Aug 2005 01:29:34 -0700 (PDT)
Yogesh M <[EMAIL PROTECTED]> wrote:
> In windows XP, gthread doesnt work, it seems to hang the program. works
> nicely in windows 98 though.
>
> In XP it shoulds a white window and doesnt draws or responds
>
> when i comment thse line
> g_thread
On Fri, 5 Aug 2005 13:00:13 +0530
Bhatnagar Achindra <[EMAIL PROTECTED]> wrote:
> I need to make http: Get/Post queries through my GTK application,
try gnet library
http://www.gnetlibrary.org/
which is based on glib, so it is easy to integrate it in a gtk
application.
gnet is a network library that might be usefull for you,
http://www.gnetlibrary.org/
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
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
Hi again!
Sorry if this topic was explained in the past.
I connected drag'n'drop events to my treeview:
g_signal_connect (object, "drag-begin",
G_CALLBACK (_drag_start_cb), NULL);
g_signal_connect (object, "drag-data-get",
G_CALLBACK (_drag_data_get_cb)
Hi!
I have read the document at
http://developer.gnome.org/doc/API/2.0/gtk/gtk-GtkTreeView-drag-and-drop.html
about high-level drag'n'drop api for gtktreeview,
but still don't know where to start. I understand most of this
functions, but what events I have to connect to, to enable drag and
drop o
HI!
Can someone point me to some example on drag'n'drop on a single
listview ?
regards
hs
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi!
In my listview I have a column of type text which can be edited by the
user. When user double-click on the cell the text can be edited.
But how to force edition of a cell after for example user click on a
button?
regards
hs
___
gtk-app-devel-list
On Sat, 30 Jul 2005 00:55:44 -0700 (PDT)
Yogesh M <[EMAIL PROTECTED]> wrote:
> I want to print the drawing area and it should work in windows and linux. I
> am using gtk 2.4.
>
you can save it to a jpeg file
dest = gdk_pixbuf_get_from_drawable (NULL, drawing_area->window, NULL,
0,0,0,0, width,
Hi!
I have a GtkTable widget where I have GtkEntry and GtkSpinButton widgets
in it. In the first column I have entries, in the second I have
spinbuttons. when focus is set on an entry I can move up and down
between entries in the column with UP and DOWN arrow keys.
I want to have the same for spi
On Wed, 27 Jul 2005 14:19:29 +0100
Hazael Maldonado Torres <[EMAIL PROTECTED]> wrote:
> >
> >
> >Hi!
> >
> >I have found a problem in windows version of glib 2.4.7.
> >in code
> > va_start (args, fmt);
> > in = g_strdup_vprintf (fmt, args);
> > va_end (args);
> >when fmt is for example "blabla
Hi!
I have found a problem in windows version of glib 2.4.7.
in code
va_start (args, fmt);
in = g_strdup_vprintf (fmt, args);
va_end (args);
when fmt is for example "blablabla 100\%" the pointer 'in' is NULL,
when fmt is for example "blablabla %c",'%' the problem does not occure.
could th
ok, "button-press-event" on the button did the job :)
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi!
I have a GtkMenu which I want to popup when a user clicks a button.
my function that is called when user clicks the button looks like this
void
on_zamowienia_button_print_clicked (GtkButton *button,
gpointer user_data)
{
...
}
How do
On Fri, 22 Jul 2005 16:31:39 -0300
Arx Henrique <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> i have a GtkEntry with a signal "activate" and this handle:
>
> void translate(GtkEntry *widget, gpointer *data) {
> const gchar *text;
> text = gtk_entry_get_text(widget);
> gui_app_notify
On Wed, 20 Jul 2005 13:22:52 +0200 (CEST)
Christian Schneider <[EMAIL PROTECTED]> wrote:
> /* Open file with iso_string */
> file = fopen (iso_string, "rb");
>
> file == Null if a german special charakter is
> involved!
it is better to use GIOChannel for operations on files. I have
experienced st
On Fri, 1 Jul 2005 12:06:28 -0300
Ricardo Malafaia <[EMAIL PROTECTED]> wrote:
> Hello, all!
>
> I'm sure this has been asked before and i searched the archives, but
> couldn't find anything to help me. So, can anyone give me a hand?
>
> I'm having problems with the linking step, as noted in mes
On Fri, 1 Jul 2005 12:18:05 +0800 (CST)
__ ___ <[EMAIL PROTECTED]> wrote:
> I want all icons and images my programm used be
> packaged in to the final execute binary file.
> How can I do this?
GIMP has an option to convert images to C source file. it should be easy
then to load graphics from
On Fri, 24 Jun 2005 16:22:01 +0200 (SAST)
Alf C Stockton <[EMAIL PROTECTED]> wrote:
>
> > On Fri, 24 Jun 2005 15:27:15 +0200 (SAST)
> > Alf C Stockton <[EMAIL PROTECTED]> wrote:
> >
> >> On Fri, 24 Jun 2005, Hubert Sokolowski wrote:
> >>
> >>>
> >>> look at Inno Setup
> >>>
> >> Trying to read be
On Fri, 24 Jun 2005 15:27:15 +0200 (SAST)
Alf C Stockton <[EMAIL PROTECTED]> wrote:
> On Fri, 24 Jun 2005, Hubert Sokolowski wrote:
>
> >
> > look at Inno Setup
> >
> Trying to read between the lines is it then being suggested that my
> development/deploy scenario should be as follows:-
> 1) Dev
On Thu, 23 Jun 2005 16:58:37 +0200 (SAST)
Alf C Stockton <[EMAIL PROTECTED]> wrote:
>
> What I did not point out in my original message is that my program
> works
> perfectly on my development box but when moved to my clients machine,
> where they do not have GTK installed, it fails with the pa
On Wed, 22 Jun 2005 22:53:25 +0300
Tor Lillqvist <[EMAIL PROTECTED]> wrote:
> Hubert =?ISO-8859-2?Q?Soko=B3owski?= writes:
> > I have found a problem in my case. I was using name 'bin' for a
> > directory when my program and Gtk runtime was in.
>
> Could you post the exact directory structure?
I have found a problem in my case. I was using name 'bin' for a
directory when my program and Gtk runtime was in.
When I changed the name to something else then 'bin' the problem
dissapeared, the program runs just fine.
___
gtk-app-devel-list mailing l
On Wed, 22 Jun 2005 10:34:49 -0600
Pete Nagy <[EMAIL PROTECTED]> wrote:
>
> This looks like a problem I fixed by editing the pango.modules file.
I think the problem is not that.
I have two programs which I compile using the same build tools (gcc from
mingw) and run with the same runtime environm
I found a way to do that, maybe someone will need it too.
You have to create a resource file that references your icon.
--- begin foo.rc ---
1 ICON "foo.ico"
--- end foo.rc ---
Then compile this file with windres
windres foo.rc fooicon.o
Then link your program.
gcc -o foo.exe -mwindows foo.
Hi!
I post this question on this list because I believe I can find here
programmers that use gtk on windows. I want to add an icon to my gtk
application on windows. Anyone know how to do that ? Are there any free
tools on the net for this? I found some to extract icons from executable
files but n
On Sun, 19 Jun 2005 08:37:02 +0200
Alf Stockton <[EMAIL PROTECTED]> wrote:
> The error I am getting from a program I wrote using GTK+ 2.6.7 on
> Windows reads:-
>
> Pango-ERROR**:file shape.c: line 75(pango-shape) assertion failed:
> (glyphs->num_glyphs > 0) aborting
>
> Help . what have I
On Fri, 17 Jun 2005 21:29:24 -0700
Mark Ivey <[EMAIL PROTECTED]> wrote:
> I saw a very similar error message when using PyGtk & py2exe on
> windows...perhaps it is something similar.
>
> I was using py2exe to package up all the files needed to run my PyGtk
> program, including DLLs. It was copyi
On Tue, 14 Jun 2005 20:08:13 +0200
Uzytkownik <[EMAIL PROTECTED]> wrote:
> 1. How I should access to std{in,out,err} is recommended?
> By FILE * or IOChannel *?
better use GIOChannel. I experienced strange problems on windows
platform when using FILE in a gtk application.
On Mon, 13 Jun 2005 23:25:33 +0200
Luka Napotnik <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I get my list selection by:
> selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(view));
> ...
>
> The I get the row by:
> gtk_tree_model_get (model, &iter, 0, &task_id, -1);
>
> I have intentions to cha
Hi!
I get this error while running a gtk program on windows compiled using
gcc mingw. Then a window from microsoft visual c++ runtime library
appears saying "this application has requested the Runtime to
terminate...". I use Tor's Gtk 2.4.14. Interesting is that I use runtime
environment from ano
On Tue, 07 Jun 2005 15:09:36 +0200
Alf Stockton <[EMAIL PROTECTED]> wrote:
> I have a screen already built using Glade and a whole bunch of code
> that
> now needs maintaining.
> Is it recommended that I carry on using Glade?
> Glade has built an interface.c that I now need to alter to get a
> c
Hi!
On Thu, 26 May 2005 14:19:16 +0200
Maciej Katafiasz <[EMAIL PROTECTED]> wrote:
> Unless by "build of glade" you mean autogenerated C code, which is
> bad,
> bad, bad thing to use. Use libglade, really.
why it is bad? I use it and it works just fine and I don't have glade
dependiencies.
> au
Hi!
On Thu, 14 Apr 2005 15:01:07 -0400
Irwin Michael G DLVA <[EMAIL PROTECTED]> wrote:
> Hello. I have an application in which there is a window taking up the
> majority of the screen, which the user will not be allowed to move.
> This
> window calls other smaller windows (dialog and selection
On Mon, 4 Apr 2005 23:26:59 +0300
regatta <[EMAIL PROTECTED]> wrote:
> But I still not able to understand, gtk_combo_box_remove_text is to
> remove one item only
>
> do you mean I have to use it with loop to remove all items ?
yes, until gtk_combo_box_get_active returns -1
>
> also gtk_combo_bo
On Mon, 4 Apr 2005 23:07:51 +0300
regatta <[EMAIL PROTECTED]> wrote:
> Hi
>
> I have a combo box that I want to clear it (remove all the items) and
> add new items to it (I am using C) here is the code I tried but it
> didn't work,
>
> gtk_combo_box_set_model(Combo,NULL);
> gtk_combo_box_insert_
On Tue, 29 Mar 2005 10:16:33 -0300
John Coppens <[EMAIL PROTECTED]> wrote:
> And the manual says in
>
> http://developer.gimp.org/api/2.0/gtk/GtkCalendar.html#GtkCalendar-struct
>
> -
> Note
>
> Note that month is zero-based (i.e it allowed values are 0-11) while
> selected_day
Hi!
On Fri, 25 Mar 2005 20:44:16 -0800 (PST)
Dave Andruczyk <[EMAIL PROTECTED]> wrote:
>
> I have seen my app run about 10-50x slower on win32 and doing simple
> things
> like changing a widgets color or text can max the CPU EASILY on a 1Ghz
> Win2k
> install. on linux the cpu penalty is usual
Hi,
On Wed, 23 Mar 2005 11:59:39 -0500
Irwin Michael G DLVA <[EMAIL PROTECTED]> wrote:
> Hello. I am creating a GUI with Glade (V2.6.8). I would like to have
> several widgets call the same callback function, but with different
> arguments passed to the function (e.g. the widget that called th
On Wed, 23 Mar 2005 12:58:22 -0500
Tristan Van Berkom <[EMAIL PROTECTED]> wrote:
> Adrian Hoe wrote:
> > Hi,
> >
> > I am new to this list and am developing some gui application on
> > linux.
> >
> > My application would require to toggle between day or night mode.
> > When
> > the application
On Mon, 7 Mar 2005 20:45:41 +0100
Felix Kater <[EMAIL PROTECTED]> wrote:
> Hubert Soko__owski:
>
> > do you synchronize these threads somehow? if it is possible to set
> > sensitive on this button by the main thread then try to do this.
>
> I don't get your point.
>
> I do it this way: With the
On Mon, 7 Mar 2005 18:09:46 +0100
Felix Kater <[EMAIL PROTECTED]> wrote:
>
> Me again. Same problem with gtk-2.6.4/glib-2.6.3/win32.
>
>
> To sum up:
>
> If the mouse pointer on a button which was insensitive and gets
> sensitive (by another thread), then the button is never highlighted
> and
On Fri, 25 Feb 2005 17:10:23 +0100
Stephane Raimbault <[EMAIL PROTECTED]> wrote:
>
> I don't know any standard widget which do that.
> You can try my lib : libgtkentrymask at copyleft.free.fr
this can be exactly what I need, thanks a lot.
It would be nice to have such a functionality in GtkEntry
On Thu, 17 Feb 2005 13:05:43 +0100
Gert Cuykens <[EMAIL PROTECTED]> wrote:
> static void callback( GtkWidget *widget, gpointer data ){
> g_print ("Hello again - %s was pressed\n", (gchar *) data);
> }
>
> why do they put () around gchar ?
> why can it not be gchar *data ?
>
> What does %s
On Tue, 25 Jan 2005 17:47:22 +0100
Goran Rakic <[EMAIL PROTECTED]> wrote:
> Why not use libcurl? You can get much more info about your connection.
>
IMHO gnet is the best choice for gtk apps since it shares glib mainloop
with the app and uses GIOChannels from glib.
hs
__
47 matches
Mail list logo