iro::FILTER_NEAREST);
http://www.jankratochvil.net/t/2.png
Regards,
Jan Kratochvil
/*
g++ -o 1 1.C -Wall -Werror -std=gnu++11 -g $(pkg-config --cflags --libs
gtkmm-3.0);./1
*/
#include
#include
#include
#include
#include
#include
using namespace std;
class Area:public Gtk::DrawingArea {
bool on_d
/pixbuf.png
Fedora 19 x86_64: gtk3-3.8.2-2.fc19.x86_64 gtkmm30-3.8.1-1.fc19.x86_64
Sorry for gtkmm, I can no longer write non-C++ GTK code. But I think the
problem is not specific to the gtkmm C++ wrapping.
Thanks for an advice,
Jan Kratochvil
/*
g++ -o 1 1.C -Wall -Werror -std=gnu++11 -g
important that my tools don't work against me; GNOME did, KDE
doesn't.
-Original Message-
From: gtk-app-devel-list-boun...@gnome.org on behalf of Thomas Stover
Sent: Wed 14-Jan-09 16:10
To: gtk-app-devel-list@gnome.org
Subject: qt vs gtk
With the recent news that Nokia will be releasing Q
t and looked at libgnome-db 2.99.
There are some cell renderers, but AFAIKS none for a button.
Any other hints where such a cell renderer might already have been
implemented?
All the best
Jan
___
gtk-app-devel-list mailing list
gtk-app-devel
[EMAIL PROTECTED] wrote:
> static void signal_handler(int sig)
> {
> switch (sig) {
> case SIGINT:
> puts("SIGINT signal catched");
> break;
> case SIGTERM:
> puts("SIGTERM signal catched");
>
For my application, I need to run gtk_main but I want to quit gtk_main
when either input is available on stdin or the user presses Ctrl-C. The
former is easy (using g_io_add_watch), but I am not sure what the best
approach is to handle Ctrl-C. Right now I am using g_timeout_add to
check every 1
Hello Ed,
Am Donnerstag 22 Februar 2007 21:10 schrieb Ed Catmur:
> On Thu, 2007-02-22 at 20:50 +0100, Jan-Oliver Wagner wrote:
> > does anyone established tooltips for the entries in a GtkTreeView?
> >
> > I've not found anything ready-to-use in the GTK API nor throu
Hello,
does anyone established tooltips for the entries in a GtkTreeView?
I've not found anything ready-to-use in the GTK API nor through a google
search. So, any hint is welcome.
Best
Jan
--
Dr. Jan-Oliver Wagner Intevation GmbH
Amtsge
ndeed it does not make sense to implement a general solution.
Best
Jan
--
Jan-Oliver Wagner: www.intevation.de/~jan | GISpatcher: www.gispatcher.de
Kolab Konsortium : www.kolab-konsortium.de | Thuban: thuban.intevation.org
Intevation GmbH : www.intevation.de | Kolab : www.k
On Monday 13 November 2006 08:20, David Nečas (Yeti) wrote:
> On Mon, Nov 13, 2006 at 12:28:29AM +0100, Jan-Oliver Wagner wrote:
> > I wonder whether it is feasible to accompany the index of deprecated
> > symbols
> > [1] with the GTK+ version number describing sin
symbols is the one I am looking for.)
All the best
Jan
[1] http://developer.gnome.org/doc/API/2.0/gtk/ix02.html
--
Jan-Oliver Wagner: www.intevation.de/~jan | GISpatcher: www.gispatcher.de
Kolab Konsortium : www.kolab-konsortium.de | Thuban: thuban.intevation.org
Intevation GmbH
Hi,
the API documentation (section Migrating from GtkFileSelection to
GtkFileChooser [1]) says that GtkFileSelection has "numerous problems".
What is the rationale that GtkFileSelection is not marked as deprecated then?
Best
Jan
[1]
http://developer.gnome.org/doc/API/2
This one may seem a bit off-topic, but I hope you will bear with me. The reason
I ask here rather than on the gtk-list@gnome.org is that I think people on this
are more likely to be able to pinpoint what is going wrong; please let me know
if I'm wrong.
I have installed the latest version of SCI
Hi Tomas,
Now that is what I call a seriously good explanation! Thanks a lot.
/jan
[EMAIL PROTECTED] wrote:
> On Wed, Aug 16, 2006 at 06:02:27AM +0100, jan wrote:
>>> Progss wrote:
>>>> [EMAIL PROTECTED] napisa?(a):
>>>>> Is there a function that allo
4-February/001790.html
>
> Regards,
> Waldek
>
Thanks!
Now on to the next question: What if I wasn't using Glade? The gtk+
documentation isn't exactly intuitive.
/jan
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Is there a function that allows one to search for a widget using its name or
label? I'm using Glade 2 to design a window (just a basic input form), and each
widget has a unique name. Unfortunately Glade doean't save any global pointers
to the widgets; I can only assume that there must be another
tem that should handle these things - maybe some of that
is broken, or perhaps there is a configuration file somewhere that's not
right? Or can it be my X server (version 7.0, I think)?
/jan
___
gtk-app-devel-list mailing list
gtk-app-devel
e data files are based
on the location of the executable.
Best,
Jan.
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
termittent errors and crashes when the load got too big.
/jan
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
rs with the same results.)
Why is that? And is there anything I can do to suppress this behavior?
Thanks for any help.
Jan
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi
Maybe someone should extend the API docs or add a FAQ:
gtk_widget_grab_focus( GTK_BIN(combo)->child );
Jan-Marek
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_event_callback(...)
{
return your_old_code(..);
}
gboolean close_or_continue()
{
gboolean result = your_old_code(..);
if( FALSE == result )
gtk_widget_destroy( window );
return result;
}
HTH
Jan-Marek
___
gtk-app-devel-list mailing list
gtk-app-devel
Hi Emmanuel
For me it works as expected. I just added a gtk_main(), a gtk_init(...)
and a print()-callback and it works (on Debian Sarge gtk+ 2.6.4)
For gtk_menu_popup I used ..., 0, gtk_get_current_event_time());
Maybe something else is wrong in your code?
Jan-Marek
s there a way to hide the dialog immediately to show the progress bar
> in the underlying window?
IMHO the easiest way is a g_timeout_add(0,..), which does the processing
in the main loop. And return FALSE in your GSourceFunc, so the timeout is
just run once.
HTH
Jan-Marek
___
E
you have to check the Metacity code (or check the gnome pager codebase).
And you may check the window manager specification on www.freedesktop.org.
HTH
Jan-Marek
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/m
", nr);
}
But this does not work because wnck_screen_get_active_workspace returns
NULL, i.e., workspace is NULL.
Any ideas?
Thank you very much in advance.
With kind regards,
Jan Struyf.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@g
> Now, I'm using the GTK_COMBO_BOX_ENTRY that doesn't have the
> "activate" signal, neither let me access the entry inside the combo,
> as I used to do with GTK_COMBO.
>
> Someone know how to do it?
GTK_ENTRY( gtk_bin_get_child(
> Ok ok! However it doesn't work on my situation. What I am trying to do
> is something similar a bookmark. Then it has a root folder: Bookmark
> (that cotain all the folders and url's); and it has the url's (that
> are the 'leafs'). One requirement is I may move the folders and url's.
> So I need
> Thanks Jan-Marek and everyone else who replied. The
> suggestions have been really helpful. I'm making some
> progress. But I didn't know I had to deal with
> hue/saturation/intensity stuff for this.
>
> I searched but couldn't find any documentation for
> gt
ode without children:
gtk_tree_model_iter_has_child
or
gtk_tree_model_iter_children
HTH
Jan-Marek
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
FYI - I just came up with the this example to illustrate a way to change
the colors in a loop - it doesn't represent the solution!
Algo is still:
r = max, g = 0, b = 0
r = max , g = max, b = 0
r = 0, g = max, b = 0
r = 0, g = max, b = max
r = 0, g = 0, b = max
r = max, g = 0, b = max
back to step
The main idea to know that key press or down in whole system,
not only if my window have focus.
On Mon, Jun 20, 2005 at 02:27:18PM -0400, Liam R. E. Quin wrote:
> On Mon, 2005-06-20 at 21:28 +0000, Jan wrote:
> > Hello.
> >
> > Using gdk_display_get_pointer, I can know is ct
xel = 0;
c.red = G_MAXUINT16;
c.blue = (i % 33 / 99) * G_MAXUINT16;
c.green = i/99 * G_MAXUINT16;
gdk_gc_set_rgb_fg_color( gc, &c );
gdk_draw_rectangle (widget->window, gc, TRUE, i*15,
0, 11, 11);
}
HTH
Jan-Marek
___
gtk-app-dev
Hello.
Using gdk_display_get_pointer, I can know is ctrl, alt, shift now up or
down,
and I wonder is there function to check up or down any key?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk
LL ) )
{
gtk_tree_view_set_cursor
( tree_view, path, focus_column, FALSE );
gtk_tree_path_free( path );
}
return FALSE;
}
You also need to write a button press event handler, to toggle the "hover"
handling.
HTH
Hi
>developing gui with glade, c. i want to know the api or
> functionality to how to get system date and time, and how to display it
> to the particular widget.
Look into the GLib API Docs -> Date and Time Functions.
HTH
Jan-Marek
___
Hi Daniel
If I want to catch GLib/GTK+ errors I set a breakpoint to g_log.
In gdb: break g_log
If you use g_log for a lot of own logging, you should be able to set a
breakpoint depending on the logging domain.
HTH
Jan-Marek
___
gtk-app-devel-list
Hi.
I would like to show some part of text in GtkTextView like
if it in xhtml tag.
My code is:
gtk_text_buffer_create_tag(buffer, "", "rise-set", TRUE, "rise", -3, NULL);
gtk_text_buffer_apply_tag_by_name(buffer, "", ...);
this didn't work, but if I change properties of "" tag to, for
example
Hello.
Can I correctly represent pango formated text in
GtkTextView ?
And it's possible how this can be done?
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi
> Does anyone know if there is a way to add a checkMenuItem in a menu
> using ActionGroup and gtkUiManager?
Have a look for GtkToggleActionEntry.
Jan-Marek
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gno
40 matches
Mail list logo