Frederico,
From your code listing part of your problem could be this syntax error:
gtk_file_chooser_add_filter(*chooser, *filtro);
it should read;
gtk_file_chooser_add_filter(chooser, filtro);
James,
On Thu, 2009-01-15 at 22:58 -0200, frederico schardong wrote:
> Hi,
>
> anybody can help me
On Thu, 15 Jan 2009, frederico schardong wrote:
> anybody can help me to resolve this?
>
> GtkFileFilter *filtro;
> GtkWidget *chooser;
> //GtkFileChooser *chooser;
>
> gtk_file_filter_set_name(filtro,"bmp");
>
> chooser = gtk_file_chooser_dialog_new ("Open File",
> parent_wi
Hi,
anybody can help me to resolve this?
GtkFileFilter *filtro;
GtkWidget *chooser;
//GtkFileChooser *chooser;
gtk_file_filter_set_name(filtro,"bmp");
chooser = gtk_file_chooser_dialog_new ("Open File",
parent_window,
GTK_FILE_CHOOSER_ACTION_OPEN,
jvette...@users.sourceforge.net wrote:
> I find that deriving classes in C++ is alot easier than going through
> the GObject type system.
Yes this is true, in C. GTKmm makes things rather nice if you work in
C++. In fact I kind of like how GTKmm works without a preprocessor,
with type-safe call
Hi,
thanks again for your help.
1) I did change my function to a static one
2) I updated my g_signal_connect_swapped to use G_CALLBACK(staticfunc) +
param parent (which I use to get the other buttons)
3) I noticed that the pointers were in wrong order (parent was the first
one instead of second)
Some of my thoughts on the matter:
On Wed, Jan 14, 2009 at 10:10:42AM -0600, Thomas Stover wrote:
> ...
> -QT (last time I checked) is not even C++. It's C++ and a custom macro
> language. building ouch. debugging ouch. C++ paradigm ouch.
The Qt macros aren't very intrusive.
Once you have your
Hi,
thanks for your answer. I think I understand my code a bit better now...
I wonder whether it is "best practice" to use static functions for these
callbacks - in my code it is actually a member function (because of
having many different buttons whose states form a bitfield that is
"compresse
Hi,
I think I should post some more lines of "my" code... as a sidenote: I
did not do much c++ programming before, neither anything with GTK.
Here is a link to what I have (actually):
http://ufoai.svn.sourceforge.net/viewvc/ufoai/ufoai/trunk/src/tools/radiant/radiant/sidebar/surfaceinspector.cp
> Now i have the problem, that the gtk_file_chooser is not working anymore in
> my application under win32.
> I get just a sandglass-curser over it.
Do you have some network drives connected to dead servers? Do you have
some "strange" removable drives? Or can you think of anything else
special on
Hello,
i updated my mingw with the new All-in-one bundle on gtk download page.
Now i have the problem, that the gtk_file_chooser is not working anymore in
my application under win32.
I get just a sandglass-curser over it.
I get no warning or errormessage on the console.
When I am taking older dll
Hi all
Now I am learning GTK+ , and I have two problems, I hope you help me, thank
you!
As followed:
1).when a button obtains the focus , there is a focus ring.
Now I want to change the style of "focus ring", Through code how to achieve,
but not "rc document".
2).if the button has a style , and I
11 matches
Mail list logo