SOLVED: Re: Need to restore a window to last size/position on restart

2007-01-16 Thread Russell Markus
Thanks for the help.  I was trying to get the window size and position after
the user clicked the X in the upper right corner, but I guess the window was
already destroyed before my handler was called.  I installed a handler for a
resize request and configuration events and store the size and position
there.

Thanks again.

Russell Markus
Sr. Software Engineer
IPMobileNet, Inc.
(949)417-4590 

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Question about GtkComboBox entry....

2007-01-10 Thread Russell Markus
I am a Glade/GTK newbie and I am building an application similar to a chat
program.  I have a GtkComboBox field where the user can type in his message
and I would like to be able to send the message when the user presses the
enter key.  Currently, when the user presses the enter key, the combo list
drops down.  Is there a way to trap the enter key so that I can send the
message?

Thanks for any help.

Russell Markus
Sr. Software Engineer
IPMobileNet, Inc.
(949)417-4590 

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Anyone know how to use a larger font for an entire application using Glade?

2007-01-05 Thread Russell Markus
I have developed an application using Glade-2 on Fedora Core 6.  I have had
a request to make all of the text larger.  Is there an easy way to use a
larger font for the entire application or do I have to use the markup
settings for each widget individually?

Thanks for any information.

Russell Markus
Sr. Software Engineer
IPMobileNet, Inc.
(949)417-4590 

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


SOLVED: RE: Anyone know how to use a larger font for an entire application using Glade?

2007-01-05 Thread Russell Markus
Thanks Micah,

Setting the font in the preferences may be my best option.  I think I'll
look at the resource files anyway, just to learn more.


Russell Markus
Sr. Software Engineer
IPMobileNet, Inc.
(949)417-4590 
-Original Message-
From: Micah Carrick [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 05, 2007 12:57 PM
To: Russell Markus
Subject: Re: Anyone know how to use a larger font for an entire application
using Glade?

I believe the idea is to allow the user to specify font size rather than 
the application. Part of Desktop GUI development is allowing your 
program to fit the customer's needs (ie 10 years ago I preferred tiny 
little fonts, and now that I'm going blind they get progressively larger).

Font sizes are specified in 'System' - 'Preferences' - 'Fonts' under 
GNOME in FC6.

If you really want to specify your own font, you may want to use an rc 
file: http://developer.gnome.org/doc/API/2.2/gtk/gtk-Resource-Files.html

Russell Markus wrote:
 I have developed an application using Glade-2 on Fedora Core 6.  I have
had
 a request to make all of the text larger.  Is there an easy way to use a
 larger font for the entire application or do I have to use the markup
 settings for each widget individually?

 Thanks for any information.

 Russell Markus
 Sr. Software Engineer
 IPMobileNet, Inc.
 (949)417-4590 

 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

   

-- 
- Micah Carrick
  Freelance Developer
  http://www.micahcarrick.com | http://www.gtkforums.com

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


RE: GtkComboBox question

2006-12-21 Thread Russell Markus
  property name=right_attach3/property
  property name=top_attach0/property
  property name=bottom_attach1/property
  property name=y_options/property
/packing
  /child

  child
widget class=GtkLabel id=ComboBoxVal
  property name=visibleTrue/property
  property name=label translatable=yes/property
  property name=use_underlineFalse/property
  property name=use_markupFalse/property
  property name=justifyGTK_JUSTIFY_LEFT/property
  property name=wrapFalse/property
  property name=selectableFalse/property
  property name=xalign0/property
  property name=yalign0.5/property
  property name=xpad0/property
  property name=ypad0/property
  property name=ellipsizePANGO_ELLIPSIZE_NONE/property
  property name=width_chars0/property
  property name=single_line_modeFalse/property
  property name=angle0/property
/widget
packing
  property name=left_attach2/property
  property name=right_attach3/property
  property name=top_attach1/property
  property name=bottom_attach2/property
  property name=y_options/property
/packing
  /child

  child
widget class=GtkCombo id=ComboBox
  property name=visibleTrue/property
  property name=value_in_listFalse/property
  property name=allow_emptyTrue/property
  property name=case_sensitiveFalse/property
  property name=enable_arrow_keysTrue/property
  property name=enable_arrows_alwaysFalse/property

  child internal-child=entry
widget class=GtkEntry id=combo-entry1
  property name=visibleTrue/property
  property name=can_focusTrue/property
  property name=editableTrue/property
  property name=visibilityTrue/property
  property name=max_length0/property
  property name=text translatable=yes10/property
  property name=has_frameTrue/property
  property name=invisible_char./property
  property name=activates_defaultFalse/property
/widget
  /child

  child internal-child=list
widget class=GtkList id=combo-list1
  property name=visibleTrue/property
  property
name=selection_modeGTK_SELECTION_BROWSE/property

  child
widget class=GtkListItem id=listitem13
  property name=visibleTrue/property
  property name=can_focusTrue/property
  property name=label
translatable=yes10/property
/widget
  /child

  child
widget class=GtkListItem id=listitem14
  property name=visibleTrue/property
  property name=can_focusTrue/property
  property name=label
translatable=yes20/property
/widget
  /child

  child
widget class=GtkListItem id=listitem15
  property name=visibleTrue/property
  property name=can_focusTrue/property
  property name=label
translatable=yes30/property
/widget
  /child

  child
widget class=GtkListItem id=listitem16
  property name=visibleTrue/property
  property name=can_focusTrue/property
  property name=label
translatable=yes40/property
/widget
  /child
/widget
  /child
/widget
packing
  property name=left_attach1/property
  property name=right_attach2/property
  property name=top_attach1/property
  property name=bottom_attach2/property
  property name=y_options/property
/packing
  /child
/widget
packing
  property name=padding0/property
  property name=expandTrue/property
  property name=fillTrue/property
/packing
  /child
/widget
  /child
/widget

/glade-interface 


Russell Markus
Sr. Software Engineer
IPMobileNet, Inc.
(949)417-4590 
-Original Message-
From: Tony Freeman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 20, 2006 6:19 PM
To: Russell Markus
Cc: gtk-app-devel-list@gnome.org
Subject: Re: GtkComboBox question

On Tue, 2006-12-19 at 16:21 -0800, Russell Markus wrote:
 I am trying to work on an application which has a combo box.  I want 
 to restrict the user to values

GtkComboBox question

2006-12-19 Thread Russell Markus
I am trying to work on an application which has a combo box.  I want to
restrict the user to values that are included in the drop down list only.
My thought was to prevent the user from editing the value in the entry box,
but I can't seem to find a way to do this.

I am running Fedora Core 6, and developed the application using glade-2.  I
am not using the lib, but working with the generated C code.

Thanks for any assistance.

Russell Markus
Sr. Software Engineer
IPMobileNet, Inc.
(949)417-4590 

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list