found it relatively easy to use and have had no problems or
complications..
I have not tried any other widgets though so I can't really compare
them.
Cheers,
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
On Sun, 2006-09-24 at 22:34 +0200, Francesco Montorsi wrote:
Hi all,
I couldn't find a list of image formats supported by gdk-pixbuf; in
particular I'm interested to the animation formats it supports.
Does anyone knows how can I find such list?
You can query gdk-pixbuf directly in
!
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
needed.
Thanks very much,
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
, you'd have to be in a
real hurry to get bothered by that ;-)
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi,
Thanks for the reply,
Yes, I've used the decorate functions to create a border-less window, I
basically set it up to close after an amount of time...
Excuse my ignorance, but what are startup functions ? - I can't find
any reference to them in the docs..
On Fri, 2006-06-16 at 18:13 +,
Interesting...
Thanks very much for the link!
On Sat, 2006-06-17 at 08:50 +, Claudio Polegato Junior wrote:
Hi,
Start with this:
http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-set-auto-startup-notification
___
or something like that..
But before I begin coding I just want to know if there's any sort of
standard or perhaps even a widget designed for the purpose?
Thanks,
- Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
On Sun, 2006-04-23 at 00:26 -0400, Guy Rouillier wrote:
Looks like gtk_tree_selection_get_selected_rows() is your available
alternative. Just use the first path in the list.
Thanks!
I thought my question had been buried by now... ;)
I suppose that would be the best route.
--
Daniel
withing the callback to determine the label of the button.
Hope this helps.
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
difference on an i386, as according to the GLib
reference manual it is defined as:
#define GINT_TO_POINTER(i) ((gpointer) (i))
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org
(Button %d was clicked\n, i);
}
and connect to it like:
g_signal_connect(G_OBJECT(buttons[i]), clicked, G_CALLBACK(button_callback),
GINT_TO_POINTER(i))
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list
*button, gpointer user_data)
{
gtk_widget_hide((GtkWidget *)user_data);
return TRUE;
}
Returning TRUE will prevent the window from being destroyed..
Hope this helps..
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing
the selected items for other functions by the way so I
can't use GTK_SELECT_SINGLE...
Thanks!
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
somewhere in the widget properties editor.
Hope this helps..
- Daniel Pekelharing
On Tue, 2006-03-21 at 12:13 +0100, Fernando ApesteguĂa wrote:
Hi,
I'm creating a GUI with Gtk. I'm using VBoxes and HBoxes, so my app resizes
when dpi changes and so on.
But I don't like the look of some aspects
your question, I don't see why that wouldn't
work...
Apologies to all for the somewhat off-topic code pasting.. ;-)
Daniel Pekelharing
On Thu, 2006-02-09 at 08:40 -0600, Douglas Vechinski wrote:
I'm writing a program using Gtk and GtkGLExt. I have a drawing area
which is using OpenGL to display
g_signal_lookup and g_signal_handlers_block_matched
where only G_SIGNAL_MATCH_ID is passed.
Thanks!
One of those ought to solve my problem... I'll check them out.
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel
in advance!
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
the id...
Is there perhaps someway to block all user defined callbacks on a
widget?
Thanks!
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
If you are familiar with OpenGL, you could try using GtkGLExt,
(assuming that you want to write your own one, and that it must use Gtk
+)
http://gtkglext.sourceforge.net/
It would not be hard to make opengl scroll text...
- Just a suggestion, that's what I would do..
Hope this helps,
Daniel
On Mon, 2005-12-19 at 13:55 -0600, Matt Hull wrote:
On Mon, 19 Dec 2005, Daniel Pekelharing wrote:
On Mon, 2005-12-19 at 19:49 +0100, Maciej Piechotka wrote:
2005/12/19, Matt Hull [EMAIL PROTECTED]:
On Sun, 18 Dec 2005, Daniel Pekelharing wrote:
On Sun, 2005-12-18 at 15:29 +0100
!
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
a backward version compatibility list?
Thanks!
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
much, requiring 2.6.0 should be a safe
bet.
Thanks for the info!
I guess I'll just go with requiring 2.6.0,
seeing as the only older versions I have are in rpm packages,
I don't think it would be easy to install them next to my current
version...
--
Daniel Pekelharing
[EMAIL PROTECTED
items...
How does one set the visible property when using the accel path
functions?
Thanks!
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
must be doing something wrong, am I supposed to initialize the
root path first somehow?
I can't seem to find any info on whether the whole accelerator path
system needs some sort of initialization.
Any ideas anyone?
Thanks!
--
Daniel Pekelharing
[EMAIL PROTECTED
On Fri, 2005-12-02 at 14:15 +0200, Daniel Pekelharing wrote:
Hi all,
After my earlier queries regarding adjustable accelerator keys,
I have been attempting to implement accelerator paths in my app.
I'm using gtk_menu_set_accel_path on each toplevel menu I create,
which should
On Fri, 2005-12-02 at 18:01 +0200, Daniel Pekelharing wrote:
Some further experimentation:
GtkWidget *menu, *file, *test;
menu = gtk_menu_new();
file = gtk_menu_item_new_with_label(File);
gtk_menu_item_set_submenu(GTK_MENU_ITEM(file), menu);
test = gtk_menu_item_new_with_label(test
On Sat, 2005-11-26 at 09:08 +, John Cupitt wrote:
On 11/26/05, Daniel Pekelharing [EMAIL PROTECTED] wrote:
Is there a signal on a GtkMenuItem that gets called when the cursor is
moved onto the item?
I use select for when a menu item is highlit but before it is activated.
John
On Sat, 2005-11-26 at 11:18 +0200, Daniel Pekelharing wrote:
On Sat, 2005-11-26 at 09:08 +, John Cupitt wrote:
On 11/26/05, Daniel Pekelharing [EMAIL PROTECTED] wrote:
Is there a signal on a GtkMenuItem that gets called when the cursor is
moved onto the item?
I use select
in a easy way. I'm working on a 3D Animation app, and I've picked up
(from forums and such) that 3D designers are rather particular about
having flexibility on keyboard shortcuts...
I actually posted a question about it some days ago:
On Thu, 2005-11-17 at 18:41 +0200, Daniel Pekelharing wrote:
Hi all
-rethinking..
It looks like the easiest way out though!
Thanks for the help and the code snippets!
Now back to work...
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman
Hi all,
Is there a signal on a GtkMenuItem that gets called when the cursor is
moved onto the item?
Thanks
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo
anyone accomplished this sort of thing, or have any links to a
tutorial ?
Thanks!
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Sat, 2005-11-05 at 14:13 +0200, Daniel Pekelharing wrote:
Hi all,
I have a function for creating and adding GtkRadioMenuItems into a menu,
something like this:
/* Global vars */
static GtkWidget *menu;
static GSList *list = NULL;
void add_item(myobj *obj, GCallback callback
-next
before destroying the menu item, but it just spits out error messages.
Thanks!
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi all,
What's the correct way to remove a GtkMenuItem from a constructed menu?
calling gtk_widget_destroy on the item seems to result in random
crashes..
Thanks..
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app
On Sat, 2005-10-29 at 18:02 +0200, Daniel Pekelharing wrote:
Hi all,
What's the correct way to remove a GtkMenuItem from a constructed menu?
calling gtk_widget_destroy on the item seems to result in random
crashes..
Thanks..
Oops... it seems that gtk_widget_destroy works fine..
I had
Hi all,
I'm busy trying to setup my project to use the autoconf tools for
compilation (I'm very new to using autoconf).
Can anyone tell me how Gtk+ is normally detected using autoconf?
I'm not sure how I'd go about using pkg-config with autoconf..
Thanks..
--
Daniel Pekelharing
[EMAIL
build with gtk 2.0
fi
PKG_CHECK_MODULES(GTK, gtk+-2.0,
CFLAGS=$CFLAGS $GTK_CFLAGS
LIBS=$LIBS $GTK_LIBS,)
Thanks! that seems simple enough..
--
Daniel Pekelharing
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list
On Thu, 2005-10-27 at 17:03 +0200, Ralf Corsepius wrote:
Actually, the whole PKG_CONFIG magic above is unnecessary.
Have a look into /usr/share/aclocal/pkg.m4 you probably have installed
on your system.
Ralf
Thanks! I found it.. thats even easier!
--
Daniel Pekelharing
[EMAIL PROTECTED
Hi all,
How can I retrieve the current mouse position?
I mean without setting up a mouse callback..
Thanks..
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel
Hi all,
How do I destroy a GtkListStore created with gtk_list_store_new() ??
There seems to be no gtk_list_store_destroy() ..
Thanks
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman
On Fri, 2005-08-12 at 17:34 +0200, Stefan Kost wrote:
g_object_unref() is the thing to do for all GObject derived classes.
Stefan
Ahh, Thanks!
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
Hi,
I think you're wanting: gtk_main_iteration()
by the way gtk_entry_append_text(..) has been deprecated...
- Daniel
On Mon, 2005-08-08 at 13:59 +0200, Jirka Pirko wrote:
hi
i have following problem:
need to append chars to GTK_ENTRY as they are coming from serial port
(/dev/ttyS0)
the state like this
if (event-new_window_state GDK_WINDOW_STATE_MAXIMIZED) {..}
But this test seems to prove true almost always - event when I just
shift the (unmaximised) window around?
Am I doing something wrong?
Thanks
--
Daniel Pekelharing
___
gtk-app
On Sat, 2005-07-09 at 12:41 +0200, Daniel Pekelharing wrote:
Hi all,
I'd like my app to remember the maximised state of the main window,
I can't seem to figure it out..
I have a callback attached to configure_event on the main window:
gboolean main_window_move(GtkWidget *widget
window,
like this:
gtk_window_add_accel_group(GTK_WINDOW(w), accel);
Hope this helps..
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi all,
Stupid question I know...
How can I position a GtkWindow?
It seems that gtk_window_set_position(..) only allows for imprecise
positions like the screen centre or on the current mouse position?
Is there a function for specifying a x,y position?
Thanks
--
Daniel Pekelharing
On Thu, 2005-07-07 at 14:46 +0200, David Necas (Yeti) wrote:
gtk_window_move(), but see its docs for caveats.
Yeti
..Thanks! Works OK
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org
,
G_CALLBACK(call_back), NULL);
Alternatively you can execute the file chooser dialog with:
gtk_dialog_run(GTK_DIALOG(file_chooser));
and just read the return value
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
Hi all,
Where can I get information on all the standard gtk arguments that are
passed in gtk_init?
I'm trying to run my app on a remote display, I use the --display
argument, but it crashes reporting: Xlib: No protocol specified
Is there a standard arg for this?
Thanks
--
Daniel Pekelharing
);
}
Obviously this isn't portable, I don't really plan on porting, but In
case I ever did it would make it lots easier if there was a portable
function.
Also how do I hide the mouse pointer?
Thanks!
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
item?
In the documentation gtk_accel_group_connect (...)
is described as Installs an accelerator in a group..
It's the only function I could find that seems made for this..
only it doesn't work. (or I don't know how to use it).
Any ideas/clues anyone?
Thanks a lot!
--
Daniel Pekelharing
On Fri, 2005-05-27 at 11:55 +, Peter Bloomfield wrote:
Sounds like you're not using GtkAction, since the accelerator
stuff is quite explicit there. How about
gtk_widget_add_accelerator?
Peter
It's perfect!
Thanks Peter!
--
Daniel Pekelharing
Daniel Pekelharing
On Wed, 2005-05-18 at 20:03 +0800, wrote:
when I add these code,my program will crash at the
start, and report segments falt?:
if (!g_thread_supported())
g_thread_init();
gdk_thread_enter();
gtk_set_local();
gtk_init();
/* init my gtk window here */
gtk_main
for what it
does!
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
|
GDK_BUTTON_RELEASE_MASK);
Thanks
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi,
This is not entirely related, but if you are familiar with OpenGL
you could use GtkGLExt (http://gtkglext.sourceforge.net/) to create
a OpenGL drawable context and then display the images using simple
OpenGL textures or something... Just an idea though.
Daniel
On Sun, 2005-05-15 at 10:50
Hi all,
Can anyone recommend a tutorial on using GtkUIManager?
I've been using GtkItemFactory up till now, but I noticed that
it's been deprecated.
Thanks!
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
ideas / clues?
Thanks
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi all,
This is probably a stupid question, but how do I get the exact size of a
GtkWidget (in pixels)?
In all the documentation, I can find only functions for retrieving the
requested size or the default size, all of which have warnings of not
being necessary correct
Thanks
--
Daniel
On Fri, 2005-05-06 at 17:27 +0300, Olexiy Avramchenko wrote:
Hello
Use allocation field of GtkWidget structure.
Olexiy
Thanks - this works fine!
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
Hi all,
In my app I use a colour selection dialog to pick a colour.
I'd like the button that you have to press to pop up the dialog
to show the current colour.
Is there any easy way of setting the colour of a button?
Thanks
--
Daniel Pekelharing
On Fri, 2005-05-06 at 13:28 -0400, Matthias Clasen wrote:
In GTK+ 2.6, you can use GtkColorButton.
Cool! Thanks! I checked it out GtkColorButton is perfect!
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
On Sat, 2005-04-23 at 16:34 +, [ A b h i s h e k ] wrote:
Hi all
I am in a bit of a fix. I had downloaded and installed pango-1.0.5.tar.gz
and now there are no fonts visible on my desktop or for that matter there is
no text in any system window that i open. Like in place of
On Sat, 2005-04-16 at 11:15 +0200, David Necas (Yeti) wrote:
GtkWidget *dan_gui_open_dialog(char *title, char *filter_name,
char *filter, GCallback callback)
Yeti
Thanks again!
___
gtk-app-devel-list mailing list
it means?
Thanks
--
Daniel Pekelharing
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Apr 9, 2005 11:15 AM, David Necas (Yeti) [EMAIL PROTECTED] wrote:
E.g. in
/usr/include/gtk-2.0/gdk/gdkkeysyms.h
(w/o the GDK_ prefix). They match X11 key names
/usr/X11R6/include/X11/keysymdef.h
(w/o the XK_ prefix). There may be some more user-friendly
form of the list
Hi all,
This is my first post - I'm fairly new to gtk programming.
I program in C, here's my problem.
I'm building a main menu for my app using GtkItemFactory,
I'm trying to assign the '=' key as a shortcut on one of the items like this:
{/Edit/Frame Sequence Shift/Increment/1 Frame, =,
70 matches
Mail list logo