Hi everybody,
I have a library implementing some protocol. That library is
multithread and is responsible to delivery messages to remote nodes
and retrieve it's responses. I need to visualise the whole mess
running.
To do this I wrote a simple application in Java/Swing where for each
remote node
w containing buttons doing a scrollable area.
>>>
>>> You have to use gdk_threads_enter() and gdk_threads_leave(). Might be
>>> you have even to acquire
>>> the GMainContext.
>>>
>>> Bests,
>>> Joël
>>>
>>>
>>>
ply acknowledge)
- remove the event from the screen
Is there any monitoring software that reacts to outside world events
and show then in some GTK GUI? That would be a good inspiration :)
Best regards,
2016-09-12 13:19 GMT-03:00 Daniel. :
> Hi thank you guys for the replies,
>
> Ger
12, 2016 at 12:37 PM Daniel. wrote:
>>
>> Well, if I wasn't clear before my layout is totally questionable. I
>> more generic question would be:
>>
>> How you guys aproaches when the problem is showing applications
>> behavior on screen?
>>
>> M
Great.!
Thanks a lot, now it's working :D
Dani
2007/7/27, David Nečas (Yeti) <[EMAIL PROTECTED]>:
>
> On Fri, Jul 27, 2007 at 02:01:23PM +0100, [EMAIL PROTECTED] wrote:
> > On 7/27/07, Dani <[EMAIL PROTECTED]> wrote:
> > > I'm changing the main Makefile.am and putting the .desktop in the main
>
This is not just a problem focused on Gee/Python, is that I was using Gee
in GDA to create an extension to access Data base objects and I would like
to use the GObjects classes on Python to use GDA on the web. Then if I
can't use Gee directly on Python then I can't use my GDA's extensions with
Pyth
Greetings.
I've asked a similar question in the gtk-l...@gnome.org list, but didn't
get an answer, so thought I'd try here.
I have done a quick proof-of-concept port of some libraries and an app from
Gtk2 to Gtk3. I've built the latest Gtk3 with broadway support. My app runs
fine, but I don't see
Standard disclaimer: I am not a lawyer.
If you're in doubt, I think the best way to do this is to distribute things
separately. Just make an installer / updater for the GTK libs ( that would
be handy, by the way ... oh and if you build some Windows themes, *please*
distribute these too ). Then in
Hi all.
I'm writing a simple broadway session manager. It starts out in modperl -
which looks for an available broadway session, then launches a new broadway
instance, then launches a gtk3 app in that broadway instance. From there,
the idea is there'll be more complicated stuff going on - authenti
ll TIFF files that I have tested.
Do you have any ideas what is wrong here?
Many thanks!
Daniel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi all. I'm back with more icon issues. Sorry :)
I've just built glib ( gtk+ wanted a newer version ) & gtk+ on Gentoo by
bumping the ebuild version numbers and using emerge. I build manually to
enable the broadway backend. I just came from gtk+-3.12.2.
In pretty much all cases using X11 now, my
Yet another icon issue.
The screenshot is the same as in my previous issue:
http://tesla.duckdns.org/images/x11_vs_broadway.png
When my app is using X11, gtk+ is using my selected icon theme, but when
using broadway, I'm getting the default icon theme. Why? I'm launching both
from a terminal with
Maybe this is an icon-theme issue. It seems to be strictly isolated to the
icon them ubudao-style-1.4.5.
Sorry for the noise.
Dan
On Sun, Oct 26, 2014 at 3:59 PM, Daniel Kasak
wrote:
> Hi all. I'm back with more icon issues. Sorry :)
>
> I've just built glib ( gtk+ wan
Progress bars got a LOT thinner recently - I think in gtk-3.14.x? This is
even with text in them. I don't know if there is an easy way to revert to
the old appearance.
Dan
On Sat, Nov 15, 2014 at 8:20 AM, rastersoft wrote:
> Hi:
>
> Try to set a text into the bar.
>
> El 14/11/14 a las 21:35, M
Have you explored Gee?
It uses Vala's generics and provides API to iterate on collections. It has
lot of implementations for generic collections you can use with virtually
any GTYPE object.
Just consider:
a) Generics returning values are not supported in Python and GJS but you
just need to add c
Not answering your question, but just FYI there are win32 binaries around.
I have Gtk-3.14.3 ( bundled with Perl and other stuff ) at:
http://tesla.duckdns.org/gtk3-perl-windows/ - in the "JewelKit" package.
Sorry I don't have the time to unbundle gtk from everything else at this
point.
I believe
Greetings.
I just tried using a GtkHeaderBar in a window in my app. I'm using Glade,
which doesn't support GtkHeaderBar yet, so I've generated the GtkHeaderBar
in code, and in Glade, disabled the 'Decorated' checkbox for the window. I
believe this is the proper way of disabling the window manager'
child tag:
>
> https://github.com/jflesch/paperwork/blob/ff333d488f40acfd58b9a7cf58310c5ef1b13bef/src/paperwork/frontend/mainwindow/mainwindow.glade#L215
> * the header bar:
>
> https://github.com/jflesch/paperwork/blob/ff333d488f40acfd58b9a7cf58310c5ef1b13bef/src/paperwork/frontend/mainwindow/mainwindow.glade#L231
&g
I would like to store a {sv} GVariantDict type in GSettigs, but it is
reported to be unsupported, while documentation states any GVarintType is
supported.
Could any one point me on what types are really supported in GSettings
please?
___
gtk-app-devel-l
you need to use (sv); if you want the latter,
> you need to use a{sv} instead.
>
> Ciao,
> Emmanuele.
>
> On Saturday, February 21, 2015, Daniel Espinosa wrote:
>
>> I would like to store a {sv} GVariantDict type in GSettigs, but it is
>> reported to be unsupported,
Sorry to wander slightly away from the original topic, but I'm also
building gtk3 for OSX using jhbuild, and I've found a bunch of issues with
themes and icons and fonts, as per the above discussion. I'm wondering
where the 'responsibility' of setting up a nice vanilla configuration lies?
Would thi
Greetings all.
I'd like to get a list of object names from a GtkBuilder object ( I'm
using Perl ). I know about
https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-get-objects
- which returns a list of objects, but I really need the names. Is it
possible?
Dan
_
s ( ie by having
special code per widget ), but being able to do it generically as
above would be a far better solution. Thoughts?
Dan
On Tue, Nov 17, 2015 at 4:57 AM, Emmanuele Bassi wrote:
> Hi;
>
> On 16 November 2015 at 02:26, Daniel Kasak wrote:
>> Greetings a
l think it would be handy to be able to enumerate over the list
of widget names without having to use an external parser, but I
concede it's kinda a corner case, and not too difficult to work
around.
Dan
On Wed, Nov 18, 2015 at 12:14 PM, Daniel Kasak wrote:
> I anticipated this que
I have a Windows build of gtk+ that includes pygobject. I also have
instructions around somewhere on how to rebuild it. Msg me if you want
the instructions ( I'll have to dig around ).
http://tesla.duckdns.org/gtk3-perl-windows/
Dan
On Sat, Nov 28, 2015 at 2:37 AM, Lucas Levrel wrote:
> Le 27 n
Do you know why in Windows 8.1 and 10 some times I have the App menu
desable? No menu item is enable.
Do I need to check the associated app action?
The issue is rare because some times it is present and some others no. For
example I have a Devel VM win8.1 where the menu is disable but other
insta
Greetings all. I have a bizarre issue that makes me wonder if I
understand how remote X applications work ...
I'm running Sabayon Linux on my dev laptop. My work has a bunch of
Ubuntu 14.04 LTS servers. When I ssh into a server and run a gtk3 app,
it renders widgets in a horrible 3.1 style, and ma
On Mon, May 9, 2016 at 2:24 AM, Andrew Robinson wrote:
> Because you are entertaining.
Ditto. In fact every single one of your posts has had multiple dummy
spits. Your particular balance of begging for more help vs pouring
scorn on those who try to help is unique. Where else do you post? I
must
Hi all.
I can see how to set the 'needs-attention' property while creating and
adding children to a GtkStack. However I don't see how to set the
'needs-attention' property once all widgets are constructed.
If I later use 'gtk_stack_get_child_by_name' I can get the widget that
I added to the stack
OK never mind. I've found this one myself:
https://developer.gnome.org/gtk3/stable/GtkContainer.html#gtk-container-child-set-property
On Tue, Aug 9, 2016 at 10:03 AM, Daniel Kasak wrote:
> Hi all.
>
> I can see how to set the 'needs-attention' property while creating an
Hi all.
I've written a blog post with an approach that I've just gotten
working for transparent proxying of broadway applications ... so you
can have a single port ( eg https ) open, and proxy each client to
their own broadway instance.
It's not pretty, but it works :)
http://tesla.duckdns.org/t
Have a look at one of my projects. They're in Perl, but the logic flow
is the same:
http://search.cpan.org/~dkasak/Gtk3-Ex-DBI-3.2/lib/Gtk3/Ex/DBI/Form.pm
Briefly, there are issues in your example code. In insert_sqlite() you
need to fetch values back from your builder object. In perl, you'd do
t
Glade crashes sometimes, yes. It's been much better recently - 3.20
seems pretty stable for me. I don't edit liststores in glade at all,
so I can't comment on that - I construct and populate them
dynamically, and use glade just to place the treeview. I don't really
have the other issues you're talk
I try to create a column in the
> Treeview.
>
> When I copy a box filled with widgets from one container to another
> container, it seems the margins value aren't copied. I don't know if there
> are other parameters that aren't copied.
>
> Daniel, you wrote you
On Thu, Dec 1, 2016 at 12:32 AM, Pozz Pozz wrote:
> So this is a Windows only *Gtk* bug, it isn't related to Glade.
> Considering it affects all drag&drop operations for every Gtk applications,
> it's very strange it wasn't fixed yet.
>
> My first impression is Gtk is a product for Linux applicat
Neither of your messages had any attachments. Probably they're
stripped out by the mailing list server. If you're trying to point
people to files, screenshots, etc, try chucking them on a blog or
pastebin or something.
Dan
On Sun, Jan 29, 2017 at 12:44 PM, Happy wrote:
>
> Attached is a glade f
I'm not sure of the licensing implications ( maybe there are none ),
but the current Ubuntu theme is implemented exclusively in css. If you
have a Ubuntu box, you can locate them in /usr/share/themes ( eg
/usr/share/themes/Ambiance/gtk-3.20 is one particular theme ). If you
copy these into the righ
There is no attachment. Try sharing it a different way - pastebin or
something.
Dan
On Wed, Mar 1, 2017 at 5:18 AM, pozzugno wrote:
> Most probably this isn't the most appropriate mailing list, because I
> think my issue is related to Glade (and not Gtk libraries).
>
> Attached is one of my gra
Hi all. Reposting from the gtk-perl list ... no responses there ...
Back in gtk+-2.x, I had some code that could find the path underneath
the mouse ( I was looking for double-click events in a treeview in
this case ):
---
my ( $self, $treeview, $event ) = @_;
if ( $event->type eq '2butt
Has 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
n't have a simple test program. I guess
I'll have to come up with something.
Sorry that I'm so slow to respond.
-Daniel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
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/m
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
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
> > > mo
7;m trying to implement a system for making the accelerators adjustable
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
-accels line in my application's resource file, which I
> think is frowned on. Oh well.
>
> John
That sounds pretty cool!
Only it doesn't seem to work for me?
I even tried gtk_rc_parse_string("gtk-can-change-accels = 1");
Perhaps it's because I have a manuall
gt;
> John
hmm, I have not been setting a path for my menus..
I guess that must be my problem, this will require some
code-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]>
("/File", NULL);
is returning false.
I guess I 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 init
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
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
lerators in the
menu 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/mail
when you
actually want to display stuff to the UI, you need to do it in the
main thread.
You can use g_idle_add() to trigger your UI updates from your data
processing threads.
-Daniel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
On 12/7/05, Dmitry A. Yanko <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 05, 2005 at 01:50:40PM -0500, Tristan Van Berkom wrote:
> > >>You can use g_idle_add() to trigger your UI updates from your data
> > >>processing threads.
> >
> > Every signal callback registered to a GSignal will be called
> > wh
I use accelerator paths on a GtkToolItem?
I tried:
gtk_widget_set_accel_path(GTK_WIDGET(tool_item), "/itemx",
accel_group);
On app startup Gtk reports:
Gtk-CRITICAL **: gtk_widget_set_accel_path: assertion
`GTK_WIDGET_GET_CLASS (widget)->activate_signal != 0' failed
Thanks!
--
Dan
.
Am I missing something somewhere?
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 12/14/05, Gnaural <[EMAIL PROTECTED]> wrote:
>
> Does anyone here know why the GTK+ windows apps would give-up before even
> getting to either my main() (or WinMain())?
>
If a library (dll) that your executable is linked against is not
found, the executable cannot be run.
You're trying to sp
can find 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
> compatibility list will tell you that.
>
> If you do not care so 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
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, David Necas (Yeti) wrote:
> > > > I'd recom
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
Hi all,
Is there some reason why I cant use the space key as an accelerator ??
I set it using GDK_space like this:
gtk_accel_map_add_entry("/Select/None", GDK_space, 0);
But it doesn't seem to work, no label appears in the menu,
and pressing space does nothing...
Any ideas?
Tha
On 12/21/05, Suresh Stephen <[EMAIL PROTECTED]> wrote:
> Hi all,
> I am working on developing a gui for my application which runs many posix
> threads. These threads will try to update the text view by adding text.
You shouldn't update the text view from a thread other than the main
GUI thread
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,
D
-- Forwarded message --
From: Daniel Espinosa <[EMAIL PROTECTED]>
Date: 04-ene-2006 14:12
Subject: Re: Catch signal
To: Fernando Apesteguía <[EMAIL PROTECTED]>
Yes I think.
You may need a interprocess comunication, like D-BUS see:
http://www.freedesktop.org/wiki/Sof
On 1/14/06, Dmitry A. Yanko <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have an app, that uses many windows and many textviews in it.
> When some text selected inside one of textview's, selection in another
> textview (in related or another window) disappears.
> How can I prevent such behavior?
See thi
bs gtk+-2.0`) shows a warning:
label.c: In Funktion »main«:
label.c:22: Warnung: Verarbeiten des Argumentes 1 von »gtk_label_set_text« von
inkompatiblem Zeigertyp
which means that the "label1" in the "set_text"-line is a incompatible
pointertype, i
ut I don't know 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/mail
e:
>
> You may want to try 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]>
___
..
Thanks 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
On Thu, 2006-01-19 at 16:19 +0200, Daniel Pekelharing wrote:
> Hi all,
>
> Is there anyway to disable a radio button/menu-item calling the callback
> function when it gets "deselected"?
>
> In other words when the user selects an option, only call the callback
> fo
I just worked that out...
Due to delays in email however I guess you didn't know that yet.. ;-)
--
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 2/3/06, kornelix <[EMAIL PROTECTED]> wrote:
> I last reported that GTK was making my multi-threaded application run
> as multiple single threads, one after the other. It was suggested to
> lock only the GTK calls instead of the whole thread. I tried this.
>
> I wrapped the individual GTK calls
stood 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
>
On 2/10/06, Gabriele Greco <[EMAIL PROTECTED]> wrote:
> I've a problem on an application on WIN32 with GTK 2.8.x that works
> flawlessly with GTK 2.6.x (always on win32) or GTK 2.8.x (on unix).
>
> It seems that with 2.8.9 (the installer version got from gimp-win home)
> the sockets are handled as
On 2/15/06, Matt Hull <[EMAIL PROTECTED]> wrote:
> that like what gaim does ?
Yes, gaim does essentially the same thing.
http://cvs.sourceforge.net/viewcvs.py/gaim/gaim/src/gtkidle.c?rev=1.12&view=markup
-D
>
> On Wed, 15 Feb 2006, Martyn Russell wrote:
> > Gossip needs to know how long the user
Yes you need g_free, becouse when you create a GValue you use:
g_new0 (GValue, 1)
Where 1 is the number of GValues you whant to create (like an array);
remember that GValue is just a C structure.
2006/2/17, Fernando Apesteguía <[EMAIL PROTECTED]>:
>
> Sorry if this is so trivial...
>
> Did you
GTK and KDE has it's own bucle to manage events, there a project working
around it at:
http://gparts.blogspot.com/
2006/2/27, Colossus <[EMAIL PROTECTED]>:
>
> Hi,
>
> I connected the signal "drag_data_received" to the window of my app.
> However when dragging not from a GTK window ( kde konquero
-- Forwarded message --
From: Daniel Espinosa <[EMAIL PROTECTED]>
Date: 02-mar-2006 22:16
Subject: Re: GTK and KDE compatibility
To: Santhosh <[EMAIL PROTECTED]>
Have any check the freedesktop.org specification about drag and drop?
2006/3/2, Santhosh <[
ly got lost.
Thanks,
--Daniel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 3/16/06, jim Pharis <[EMAIL PROTECTED]> wrote:
> I have an external synchronous library call that takes a while to
> complete. I want to display a progress bar well I'm waiting.
>
> The problem is, even when the progress bar is in the thread in a loop
> calling gtk_progress_bar_pulse, the progre
If you want you can try the libgda and libgnomedb, in www.gnome-db.org, wich
is a set of providers that allow you to connect, get, edit and show data
from diferent database servers like MySQL, PostgreSQL, Oracle, MS SQL
Server, etc.
2006/3/18, rupert <[EMAIL PROTECTED]>:
>
> Hello,
>
> im trying t
2006/3/19, Juan Pablo <[EMAIL PROTECTED]>:
>
> rupert wrote:
>
> > Great idea, the documentation is a bit complicated for me, so are
> > there more howtos for this(without line numbers) and with small
> examples?
> >
> It took me a lot to get started with it, specially because the api
> changed jus
ding
space 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.
>
o... I don't know if there's anyway to set only
horizontal or vertical padding - I've never had the need for it
personally, although I daresay it can most probably be done..
Hope this helps,
--
Daniel Pekelharing
<[EMAIL PROTECTED]>
___
ed all 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
t_close_clicked(GtkButton *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]>
_
On 4/18/06, Justin Clift <[EMAIL PROTECTED]> wrote:
> Does anyone have, or know of, any kind of comprehensive list of which
> functions are/aren't available for a specific version of GLib/GTK?
I use the API docs for this, for example, at
http://developer.gnome.org/doc/API/2.0/glib/index.html there
utton was pressed by calling
gtk_button_get_label(GTK_BUTTON(button)
from 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-l
makes any 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
printf("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-dev
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.
-
#x27;t know how.
Suggestions?
--Daniel
--
[EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
s what I thought.
But if you want to accept subclasses too:
if (GTK_IS_ENTRY(widget)) {
...
}
else if (GTK_IS...
That's the ticket. Thanks!
--Daniel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://m
hat A had within
the table.
To put the question simpler: Given a table and a widget within the table
(or box), how can I find the position of the widget within the table (or
box)?
Thanks,
--Daniel
___
gtk-app-devel-list mailing list
gtk-app-devel
he GtkTableChild mechanism?
You can also use something like the attached function (for
tables). Note however, it accesses the private `children'
field of GtkTable.
Does that mean that this could break in future versions of Gtk?
Thanks a lot,
--Daniel
_
my function cw_area_get_type(), some of that
information must be erroneous but I don't know which.
Below I put some of my C code that I hope is relevant to the solution of
this problem. It's just the class definition and the four functions that
get called during the sequence shown
tro (Debian stable).
Thanks for the ultra-ultra quick reply.
Let's see how far the newer tutorial will get me...
--Daniel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
struct CwArea_t {
GtkWidget widget;
...
};
struct CwAreaClass_t {
GtkWidgetClass parent_class;
};
?
The way I understand the type system, this is all the application has seen
by the end of the call to g_type_register_static(
it.
Well, prepare for more work with gtk-doc (for instance).
There are tools which understand the standard naming
convetion and do not understand yours.
Good hint. I'll heed it.
And that's the core of the problem. GtkWidget is a *part*
of CwArea.
Thanks. Thanks.
--Daniel (
make the redraw of the widget dependent on a flag set and unset
by enter and leave events, but that doesn't work when the user activates
the spinbuttons by keyboard while leaving the pointer inside my widget.
Suggestions, anyone?
--Daniel
___
1 - 100 of 316 matches
Mail list logo