コード例 #1
0
ファイル: KStartupInfoData.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Copy constructor.
 /// 	 </remarks>        <short>    Copy constructor.</short>
 public KStartupInfoData(KStartupInfoData data)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KStartupInfoData#", "KStartupInfoData(const KStartupInfoData&)", typeof(void), typeof(KStartupInfoData), data);
 }
コード例 #2
0
ファイル: KStartupInfoData.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Updates the notification data from the given data. Some data, such as the desktop
 ///  or the name, won't be rewritten if already set.
 /// <param> name="data" the data to update
 /// 	 </param></remarks>        <short>    Updates the notification data from the given data.</short>
 public void Update(KStartupInfoData data)
 {
     interceptor.Invoke("update#", "update(const KStartupInfoData&)", typeof(void), typeof(KStartupInfoData), data);
 }
コード例 #3
0
ファイル: KStartupInfo.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Checks if the given windows matches any existing startup notification, and
 ///  if yes, returns the identification in id and notification data in data.
 /// <param> name="w" the window id to check
 /// </param><param> name="id" if found, the id of the startup notification will be written here
 /// </param><param> name="data" if found, the data of the startup notification will be written here
 /// </param></remarks>        <return> the result of the operation
 /// 	 </return>
 ///         <short>    Checks if the given windows matches any existing startup notification, and  if yes, returns the identification in id and notification data in data.</short>
 public KStartupInfo.startup_t CheckStartup(uint w, KStartupInfoId id, KStartupInfoData data)
 {
     return (KStartupInfo.startup_t) interceptor.Invoke("checkStartup$##", "checkStartup(WId, KStartupInfoId&, KStartupInfoData&)", typeof(KStartupInfo.startup_t), typeof(uint), w, typeof(KStartupInfoId), id, typeof(KStartupInfoData), data);
 }
コード例 #4
0
ファイル: KStartupInfoData.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Sets whether the visual feedback for this startup notification
 ///  should be silenced (temporarily suspended).
 /// 	 </remarks>        <short>    Sets whether the visual feedback for this startup notification  should be silenced (temporarily suspended).</short>
 public void SetSilent(KStartupInfoData.TriState state)
 {
     interceptor.Invoke("setSilent$", "setSilent(KStartupInfoData::TriState)", typeof(void), typeof(KStartupInfoData.TriState), state);
 }
コード例 #5
0
ファイル: KStartupInfo.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Sends given notification data about started application
 ///  with the given startup identification. If no notification for this identification
 ///  exists yet, it is created, otherwise it's updated. Note that the name field
 ///  in data is required.
 /// <param> name="id" the id of the application
 /// </param><param> name="data" the application's data
 /// </param></remarks>        <return> true if successful, false otherwise
 /// </return>
 ///         <short>    Sends given notification data about started application  with the given startup identification.</short>
 ///         <see> KStartupInfoId</see>
 ///         <see> KStartupInfoData</see>
 public static bool SendStartup(KStartupInfoId id, KStartupInfoData data)
 {
     return (bool) staticInterceptor.Invoke("sendStartup##", "sendStartup(const KStartupInfoId&, const KStartupInfoData&)", typeof(bool), typeof(KStartupInfoId), id, typeof(KStartupInfoData), data);
 }