()
if self.gc_background == None:
color_background = colormap.alloc_color('#FF',
True, True)
self.gc_background = self.area.window.new_gc()
self.gc_background.set_foreground(color_background)
rt gtk to android or ios yet.
probably inevitable though so if it's your thing than I'm sure you will be
able to make something happen.
--
Patrick Shirkey
Boost Hardware Ltd
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
tton, 10, 1, 1, 1);
>> > gtk_widget_modify_bg(Bbutton, GTK_STATE_NORMAL, &colorRed2);
>> > gtk_widget_modify_bg(Bbutton, GTK_STATE_PRELIGHT, &colorWht);
>> >
>> >
>> > gtk_widget_show_all(window);
>> > gtk_main();
>> >
>> > return 0;
>> > }
>> >
>> >
>> > ___
>> > gtk-app-devel-list mailing list
>> > gtk-app-devel-list@gnome.org
>> > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>>
>>
>> ___
>> gtk-app-devel-list mailing list
>> gtk-app-devel-list@gnome.org
>> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>>
> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
--
Patrick Shirkey
Boost Hardware Ltd
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Mon, August 20, 2012 9:16 am, Tristan Van Berkom wrote:
> On Mon, Aug 20, 2012 at 2:32 PM, Patrick Shirkey
> wrote:
>>
>> On Mon, August 20, 2012 6:59 am, Tristan Van Berkom wrote:
>>>The "lookup_widget()" paradigm comes from a very old time wh
On Mon, August 20, 2012 9:16 am, Tristan Van Berkom wrote:
> On Mon, Aug 20, 2012 at 2:32 PM, Patrick Shirkey
> wrote:
>>
>> On Mon, August 20, 2012 6:59 am, Tristan Van Berkom wrote:
>>>The "lookup_widget()" paradigm comes from a very old time wh
e that deals with
my use case.
Basically I want to be able to modify the text in a label widget from a
Entry or EventBox signal.
I haven't found an example of that but if anyone knows of one that would
be very helpful.
--
Patrick Shirkey
Boost Hardware Ltd
> Cheers,
>
cmi_command = self.get_text()
messages.set_text(cmi_command)
print "command entered: ", args[0]
--
Patrick Shirkey
Boost Hardware Ltd
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
R_SOURCE);
5. cairo_paint (cr);
6. cairo_destroy(cr);
this code doesnt give me any visual change (also tried with changed the
layout variable (fix) to the window variable => also doesnt work)
any idea how i can fix that?
gtk version is gtkmm-3.0
---
Hey All,
My names Patrick Noble, and was hoping for a few pointers... I am interested
in learning about and helping out in a development project such as Glade or
GTK+, and was wondering if my experience level makes this pointless. I am
currently learning through C, and am fairly confident in its
examples and strategies would really help.
Could anyone suggest something that would help me to plan an
application? I can manage with the specific pieces of code, It's the
general layout that I will probably fail with.
Thanks in advance-Pa
I figured it all out, and wrote it up in an article here:
http://www.rutski89.com/dynamic/journal.html?name=gtkwidget
Sleepiness was already hitting hard while banging away at the
keyboard, so please do let me know if you see any mistakes.
-Patrick
On Fri, Aug 21, 2009 at 3:58 AM, Patrick M
ION_NOTIFY events, or even mouse button press events.
Here's another test case to instated illustrate that problem. This
time, "IT WORKS!" only prints if the event is somehow mouse related:
http://www.rutski89.com/static/mouse_test.c
See if you can get that one to print, I can't
-
ne of text, you will have
solved my problem.
No cheating,
-Patrick
P.S. Copy-pasteable compiler command for ease of use:
gcc -Wall -Wextra -Werror -pedantic-errors -std=c89 -ggdb -O0
`pkg-config --cflags --libs gtk+-2.0` event_test.c
On Fri, Aug 21, 2009 at 12:02 AM, Patrick M.
Rutkowski wrote
tatic/squery.txt
So why isn't my default handler any_event_r() executing?
-Patrick
On Thu, Aug 20, 2009 at 9:48 PM, Yu Feng wrote:
> The default signal handler is not invoked if any of the customized
> signal handler returns TRUE or something.
> Check if there are any handlers conne
dy has any tips that would be great, as I might
do it wrong and it might take me a while.
-Patrick
On Thu, Aug 20, 2009 at 9:48 PM, Yu Feng wrote:
> The default signal handler is not invoked if any of the customized
> signal handler returns TRUE or something.
> Check if there are any hand
GTK problem.
-Patrick
On Thu, Aug 20, 2009 at 8:50 PM, Brian J. Tarricone wrote:
> On 08/20/2009 05:36 PM, Patrick M. Rutkowski wrote:
>> I've got the following code: http://www.rutski89.com/static/gtkevent.cpp
>>
>> I do indeed do this:
>>
>> widget_clas
I've got the following code: http://www.rutski89.com/static/gtkevent.cpp
I do indeed do this:
widget_class->event = &any_event_r
but then any_event_r() never subsequently get's called, and I'm
certain that the "widget_class->event = &any_event_r" line really does
execute.
Any suggestions?
_
ee if it's already fixed there
before reporting.
Apologies for not posting sooner that the solution had already been found,
-Patrick
On Wed, May 6, 2009 at 8:45 AM, David Grundberg wrote:
> gtk-app-devel-list-requ...@gnome.org skrev:
>>
>> Message: 1
>> Date: Tue, 5 May 200
Someone please help a GTK+ newbie out, I can't make any sense of this:
http://www.rutski89.com/static/taskbook-sep.jpg
Glade says it's of class GtkSeparatorMenuItem, but it doesn't show up
as such in the actual app.
You can find the source code here:
http://www.rutski89.com/static/taskbook-sep.ta
ve no idea when this could be
applied. I don't necessarily want code examples, just something like "if
you want to do this then you could use quarks to..."
Thanks!
Patrick Braga
http://theunixgeek.blogspot.com
___
gtk-app-devel-list m
Thanks - the code included in those docs seem helpful. I'll try them
out.
On Sat, 2008-04-26 at 09:51 -0300, Tristan Van Berkom wrote:
> On Sat, Apr 26, 2008 at 7:47 AM, Patrick Braga
> <[EMAIL PROTECTED]> wrote:
> [...]
> > > On 26/04/2008, Patrick Braga <[EMAI
put widgets there, then you will get
> the layout you want.
>
> Yours faithfully,
>
> Alvis Koon
>
> On 26/04/2008, Patrick Braga <[EMAIL PROTECTED]> wrote:
> > Hi, I'm a relative newcomer to GTK+ programming, but I've been using
> > GNU/Linux for
Hi, I'm a relative newcomer to GTK+ programming, but I've been using
GNU/Linux for about a year and a half, know it pretty well, and am
enjoying writing applications for it.
However, I feel it will be easier for me to write graphical applications
with an interface designer. The GNOME Library
(http
for this project. I would rather spend 2K
sponsoring my open source comrades then those punks at NI
Okay I am back now, Have a great day-Patrick
Michael L Torrie wrote:
> Patrick wrote:
>
>> Lets say a customer had a detector and a pump to pump a sample through
>> it. We cou
t has taken a quantum leap forward in a few
days-Patrick
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
s but did not see something
applicable
Could someone tell me some other reasons why I would be blocked.
Thanks in advance-patrick
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
the favor to all involved.
THANKS!!!-Patrick
>
>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
rvous system + (Python/C/Ruby etc) as the muscle is a
dumb idea!-Patrick
G Hasse wrote:
> On Sun, Dec 16, 2007 at 08:57:01PM +0100, Dan H wrote:
>
>> On Sun, 16 Dec 2007 12:47:44 -0500
>> Patrick <[EMAIL PROTECTED]> wrote:
>>
>>
>>> With so many
edback
with any thoughts you might have on this whole process. Thanks-Patrick
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
or about a year now and still do
not have a line of code to show for myself. This project may take many
years. Any feedback on my blueprint would be really appreciated-Patrick
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail
, thanks to you and to everyone that
posted!
-Patrick
Michael L Torrie wrote:
> Patrick wrote:
>
>> Hi Everyone.
>>
>> Sorry for the flame war bait, I know how passionate language debates
>> get but I need some guidance. I am using PyGTK right now and I am happy
&
Patrick wrote:
> Hi Allin
>
> I have no interest in QT.
>
> Your points are very strong.
>
> If most of the free/libre software is in C then I better stick with C,
> especially if learning C++ does not guarantee an understanding of
> plain C.
>
> Thanks very much
Linus Torvalds in particular has been quoted as calling it a "horrible
language".
I can only spend 8-12 hours a week programming, I am not a professional
programmer, is C++ to complicated? Is C going out of date? Am I limited
with C?
Thanks-Patrick
__
Hi,
Is there a way to filter the text input to a GtkComboBoxEntry? I want to
use it to provide a drop down list for preconfigured values and also to
allow a user to set there own arbitrary value.
On a related note: Is there an elegant way to directly set the text for the
entry to some arbitrary
Hi,
I want to create a GtkComboEntry where the width is exactly set to display
the largest string in the drop down list. I do not want to hard code the
width. Is this something easy to do?
Thanks for any help!
Pat.
___
gtk-app-devel-list mailing list
, and update it with:
while (gtk_events_pending())
gtk_main_iteration();
Later I would probably try it with threads.
Thanks for the help.
2007/3/6, Karl H. Beckers <[EMAIL PROTECTED]>:
> Am Montag, den 05.03.2007, 17:03 +0100 schrieb patrick:
> > Great! Thank you very much,
g has not been displayed yet, don't bother updating
> // the progress bar
> if (!GTK_WIDGET_VISIBLE(GTK_WIDGET(dialog))) return 1;
>
> ...
> do whatever needs to be done to update the progressbar here
>
> return 1;
> }
>
> HT
Thanks for your answer.
> if I'm not completely mistaken here, this has nothing to do with glade.
> The thing just is, that you need to return to the main loop from the
> callback for the widgets to be drawn properly.
> That is prolly why you put in your gtk_main_iteration though I doubt
> there i
; A quick "cheap trick" you could do is:
>
> gtk_window_set_keep_above (GTK_WINDOW(window2), TRUE);
> gtk_window_show_now (GTK_WINDOW(window2));
>
> - Micah Carrick
> Developer | http://www.micahcarrick.com | http://www.gtkforums.com
>
>
>
> patrick wrote:
>
le, to
show the progress to the user?
thanks a lot!
Patrick
/* sample.glade */
http://glade.gnome.org/glade-2.0.dtd";>
10
True
window1
GTK_WINDOW_TOPLEVEL
GTK_WIN_POS_NONE
False
False
False
True
False
False
GDK_WINDOW_TYPE_HINT_NORMAL
GDK_GRAVITY_NO
G'day there,
I'd like to have a non-editable text box layer just on
top of my desktop so that it's behind everything, and
have it pass all its mouse events to the desktop.
While it should visibly cover part of the desktop, I
don't want it to get in the way of desktop right-click
menus.
Can the Gt
41 matches
Mail list logo